what is below codes for?(in Zend Framework) i mean what is the job of these?
$this->view->开发者_JAVA技巧default
$this->view->action
this question might help you: Zend Framework Resources
the code you have in your questions is used to path an object to the view, in your controller you do:
$this->view->aStringPassedToView = 'foo';
and then in your view script you could for example echo the data that got passed like this:
echo $this->aStringPassedToView; // prints 'foo'
精彩评论