View Single Post
  #1 (permalink)  
Old 05-21-2008, 02:55 PM
eric.cat eric.cat is offline
Junior Member
 
Join Date: May 2008
Posts: 4
Default 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!
Reply With Quote