Advertisement
Guest User

Zend_Navigation array

a guest
Nov 10th, 2014
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.58 KB | None | 0 0
  1. array(
  2.                 array(
  3.                     'controller' => 'index',
  4.                     'label' => 'Home',
  5.                     ),
  6.                 array(
  7.                     'controller' => 'about',
  8.                     'label' => 'About',
  9.                     'pages' => array(
  10.                             array(
  11.                             'controller' => 'about',
  12.                             'action' => 'careers',
  13.                             'label' => 'Careers',
  14.                             ),
  15.                             array(
  16.                             'controller' => 'about',
  17.                             'action' => 'mission',
  18.                             'label' => 'Mission',
  19.                             ),
  20.                         ),
  21.                     ),
  22.                 array(
  23.                     'controller' => 'tools',
  24.                     'label' => 'Tools',
  25.                     'pages' => array(
  26.                         array(
  27.                             'controller' => 'tools',
  28.                             'action' => 'free',
  29.                             'label' => 'Free Tools',
  30.                             ),
  31.                         array(
  32.                             'controller' => 'tools',
  33.                             'action' => 'licenses',
  34.                             'label' => 'New Licenses',
  35.                             ),
  36.                         array(
  37.                             'controller' => 'tools',
  38.                             'action' => 'products',
  39.                             'label' => 'Products',
  40.                             ),
  41.                         ),
  42.                     ),
  43.                 array(
  44.                     'module' => 'admin',
  45.                     'label' => 'Administration',
  46.                     'resource' => 'admin',
  47.                     'privilege' => 'index',
  48.                     'pages' => array(
  49.                         array(
  50.                             'module' => 'admin',
  51.                             'controller' => 'adduser',
  52.                             'label' => 'Add User',
  53.                             'resource' => 'admin',
  54.                             'privilege' => 'adduser',
  55.                             ),
  56.                         array(
  57.                             'module' => 'admin',
  58.                             'controller' => 'addpage',
  59.                             'label' => 'Add Page',
  60.                             'resource' => 'admin',
  61.                             'privilege' => 'addpage',
  62.                             ),
  63.                         ),
  64.                     )
  65.                 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement