Getters and Setters?
Hi there!
I've been working with PHP-OO and Java for the last two years and some days ago I decided to work with Zend in a new project.
The problem I've appears when I want to access to a variable in a controller but from another controller. I've tried implementing getters but this doesn't work, I think due to the Zend (MVC) architecture ...
Could somebody teach me in the right way please? There is either a specific form to use getters/setters or I should use another Zend method?
Thanks!
|