我有这个视图助手:
$this->addElement('text','evt_amtpersons', array(
'description' => '<a id="buyCredit" href="/user/register" target="_blank">Dit is een link</a>',
'filters' => array('StringTrim', 'StringToLower'),
'ViewHelper',
array('Description', array('escape'=>false, 'tag'=>false)),
'validators'=> array(
array('StringLength',true,array(1,128)),
),
'required' => true,
'label' => 'aantal hulpverleners',
));
当我启用 ViewHelper 时,我收到以下错误:
注意:第 104 行 K:\xampp\htdocs\nrka2\library\Zend\View\Helper\HtmlElement.php 中的数组到字符串转换
通常这意味着有一个错字。但我找不到它。我正在运行最新版本的 ZF (1.11.4) 有什么想法吗?
肿瘤坏死因子。