具有多种方法的zend视图助手?
2022-08-30 21:56:47
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)
我的问题是:视图助手可以包含多个方法吗?我可以从我的帮助者中呼叫其他视图帮助程序吗?
谢谢
卢卡