Advertisement
Eddz

Untitled

Aug 22nd, 2013
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.32 KB | None | 0 0
  1. <?php
  2.  
  3. // your configuration file, e.g., config/autoload/global.php
  4. return array(
  5.     'navigation' => array(
  6.         'default' => array(
  7.             'campaigns' => array(
  8.                 'label' => 'Campaigns',
  9.                 'controller' => 'campaigns',
  10.                 'action' => 'index',
  11.                 'route' => 'campaigns',
  12.             ),
  13.             'responses' => array(
  14.                 'label' => 'Responses',
  15.                 'controller' => 'responses',
  16.                 'action' => 'index',
  17.                 'route' => 'responses',
  18.             ),
  19.         ),
  20.         'admin' => array(
  21.             'clients' => array(
  22.                 'label' => 'Clients',
  23.                 'controller' => 'clients',
  24.                 'action' => 'index',
  25.                 'route' => 'clients',
  26.             ),
  27.             'campaigns' => array(
  28.                 'label' => 'Campaigns',
  29.                 'controller' => 'campaigns',
  30.                 'action' => 'index',
  31.                 'route' => 'campaigns',
  32.             ),
  33.             'responses' => array(
  34.                 'label' => 'Responses',
  35.                 'controller' => 'responses',
  36.                 'action' => 'index',
  37.                 'route' => 'responses',
  38.             ),
  39.         ),
  40.         'secondary' => array(
  41.             'add_user' => array(
  42.                 'label' => 'Add User',
  43.                 'controller' => 'admin',
  44.                 'action' => 'add-user',
  45.                 'route' => 'admin/add-user',
  46.             ),
  47.             'view-user' => array(
  48.                 'label' => 'View Users',
  49.                 'controller' => 'admin',
  50.                 'action' => 'users',
  51.                 'route' => 'admin/users',
  52.             ),
  53.         ),
  54.     ),
  55.     'service_manager' => array(
  56.         'factories' => array(
  57.             'navigation' => 'Zend\Navigation\Service\DefaultNavigationFactory',
  58.             'secondary_navigation' => 'Fcm\Navigation\Service\SecondaryNavigationFactory',
  59.             'admin' => 'Fcm\Navigation\Service\AdminNavigationFactory'
  60.         ),
  61.     ),
  62.     'module_layouts' => array(
  63.         'Fcm' => array(
  64.             'default' => 'layout/fcm',
  65.         ),
  66.         'ZfcUser' => array(
  67.             'default' => 'layout/fcm',
  68.         ),
  69.         'Campaign' => array(
  70.             'default' => 'layout/campaign',
  71.         ),
  72.     ),
  73. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement