【发布时间】:2013-09-20 13:11:06
【问题描述】:
我想知道zend是否允许这个东西,如果是的话比怎么做?
public xAction()
{
// code here
}
public yAction(){
$this->_helper->viewRenderer('x');
// code here....
// $this->view->variable= $somedata;
}
**x.phtml**
<?php echo $this->variable; ?>
【问题讨论】:
标签: php zend-framework variable-assignment