Controller::_viewVars is treated as a protected object property. Accessing proctected properties within a class or child of the class is perfectly legal, and I'm not a big fan of adding extra pointless getters and setters. The only reason there's a set( ) method for it is because it provides actual value over and above simply assigning key/value pairs to an associative array.
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~----------~----~----~----~------~----~------~--~---