[eluser]breaddes[/eluser]
I set the following in my controller constructor:
Code:
$this->countries = array('Deutschland'=>'de', 'Belgien'=>'be', 'Lichtenstein'=>'li', 'Luxemburg'=>'lu', 'Österreich'=>'at', 'Schweiz'=>'ch');
Now I would like to use $this->countries in my view. Normally I would send it with my $data-parameter, but I need that in each function of my controller and I think there must be a better way to do it so. Otherwise I would have to write 10 times $data['countries'] = $this->countries.