【发布时间】:2011-08-24 22:00:30
【问题描述】:
class My_View_Helper_Gender extends Zend_View_Helper_Abstract
{
public function Gender()
{
//
}
}
"The class method (Gender()) must be named identically to the concliding part
of your class name(Gender).Likewise,the helper's file name must be named
identically to the method,and include the .php extension(Gender.php)"
(Easyphp websites J.Gilmore)
我的问题是: 一个视图助手可以包含多个方法吗?我可以从我的助手中调用其他视图助手吗?
谢谢
卢卡
【问题讨论】:
-
感谢好友提出这个问题
标签: php zend-framework view-helpers