Afdding HTML elements to zend navigation
问题 So I wrote a class as such: class Users_Navigation_Page_Notification extends Zend_Navigation_Page_Mvc{ public function setLabel($label){ if(substr($label, 0 , 1) == ':'){ $label = 'Notification'; } return parent::setLabel($label); } } And if I try something like: $label = 'Notification' . '<span>test</span>'; It echo's out Notificationtest which it shouldn't. How do I make it render HTML elements out? 回答1: When rendering navigations, the view helper is hardcoded to escape the label of each