Why this is only one option to set visibility of Zend_Navigation_Page?
Why option 'visible' is pretty simple?
To be or not to be? True or false and nothing more...
You need to add more flexible option like 'visibility'.
Possible value of this option may be value or array of
[menu|sitemap|breadcrumbs|always].

By example.
$page = Zend_Navigation_Page::factory(
  array(
    'module' => 'catalog',
    'controller' => 'categories',
    'action' => 'view',
    'label' => 'Category 5',
    'visibility' => 'breadcrumbs', // or array('breadcrumbs'),
    'params' => array('id' => 5)));

What you think about that?
-- 
View this message in context: 
http://n4.nabble.com/Why-this-is-only-one-option-to-set-visibility-of-Zend-Navigation-Page-tp796007p796007.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to