Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $router->addRoute(
- 'admin_brand', new Zend_Controller_Router_Route('admin/brand/:page',
- array('module' => 'brand', 'controller' => 'index', 'action' => 'index', 'page' => 1),
- array('page' => '\d+')
- )
- );
- $router->addRoute(
- 'admin_brand_add', new Zend_Controller_Router_Route('admin/brand/add',
- array('module' => 'brand', 'controller' => 'edit', 'action' => 'add', 'mode' => 'add'))
- );
- $router->addRoute(
- 'admin_brand_edit', new Zend_Controller_Router_Route('admin/brand/edit/:brand_id',
- array('module' => 'brand', 'controller' => 'edit', 'action' => 'edit', 'mode' => 'edit'),
- array('brand_id' => '\d+')
- )
- );
- $router->addRoute(
- 'admin_brand_system_add', new Zend_Controller_Router_Route('admin/brand/:brand_id/system/add',
- array('module' => 'brand', 'controller' => 'system_edit', 'action' => 'add', 'mode' => 'add'),
- array('brand_id' => '\d+')
- )
- );
- $router->addRoute(
- 'admin_brand_system_edit', new Zend_Controller_Router_Route('admin/brand/:brand_id/system/edit/:brand_system_id',
- array('module' => 'brand', 'controller' => 'system_edit', 'action' => 'edit', 'mode' => 'edit'),
- array('brand_id' => '\d+', 'brand_system_id' => '\d+')
- )
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement