Home > Article > Backend Development > cakephp 生成链接异常
cakephp 生成链接错误!
echo $Html->link('List All Tasks', array('action'=>'index')); ?>
错误信息: Call to a member function link() on a non-object
有高手可以解答吗?
------解决方案--------------------
控制器中应该是少public $helpers = array('Html');句吧!