开发者

Zend Framework Codes

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜