开发者

Zend Framework Codes

开发者 https://www.devze.com 2022-12-29 17:55 出处:网络
what is below codes for?(in Zend Framework) i mean what is the job of these? $this->view->开发者_JAVA技巧default

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'
0

精彩评论

暂无评论...
验证码 换一张
取 消