Hi Sergio,
use:
$this->navigation('navigation')->menu()->setUlClass('foo');
Look also here:
http://framework.zend.com/manual/2.1/en/modules/zend.navigation.view.helper.menu.html#view-helper-menu
Kind regards,
Frank
Am 08.05.2013, 15:04 Uhr, schrieb Razorblade <[email protected]>:
Hi everyone,
is it possible to change the UL default class ('navigation') when render
menu() using Zend\Navigation without use a partial script?
Reading the docs I noticed it is possible to set a class for each pages
that
however will render as a property of the tag.
Thanks
-----
Sergio Rinaudo's Blog
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/ZF2-Navigation-change-class-for-UL-tag-tp4659957.html
Sent from the Zend Framework mailing list archive at Nabble.com.
--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]