Skip to content

Instantly share code, notes, and snippets.

@eminetto
Created May 23, 2011 19:37
Show Gist options
  • Save eminetto/987398 to your computer and use it in GitHub Desktop.
Save eminetto/987398 to your computer and use it in GitHub Desktop.
/*
 * navegacao
 */
$container = new Zend_Navigation(array(
    array(
        'label'  => 'Home',
        'module' => 'default',
'controller' => 'index',
        'action' => 'index',
    ),
    array(
        'label'  => 'Admin',
        'module' => 'admin',
      'controller' => 'admin',
        'action' => 'index',
 
    ),
    array(
        'label'  => 'Sair',
        'module' => 'default',
        'controller' => 'index',
        'action' => 'logout',
    ),
));
Zend_Registry::set('Zend_Navigation', $container);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment