till wrote:
On 5/31/07, Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote:
(...)
No need to grab the view. All you need is this:
public function indexAction()
{
$this->view->books = array('Pride and Prejudice','Das
Kapital','Beyond Good and Evil');
}
Since when has $this->view been available? I remember I was looking
for something like that when we started (0.6).
Also, it seems like there are different variables available, like
$this->_request, $this->view - "_" always hints at private, or is
their any special meaning/naming convention here?
Thanks,
Till
To coin a phrase, RT*M :)
There have been several changes in the Controller/View coupling since
the 0.6 release.
From < 0.60
http://framework.zend.com/manual/en/zend.controller.migration.html#zend.controller.migration.fromzerosix
From 0.92 > 0.93
http://framework.zend.com/manual/en/zend.controller.migration.html#zend.controller.migration.fromzeroninetwo
From 0.93 >
http://framework.zend.com/manual/en/zend.controller.migration.html#zend.controller.migration.fromzeroninethree
Shaun