php - zend framework - creating controller for admin/action1/action2 -
in zend framework, how create action type of url:
example.com/admin/create/category which show page creating new category
or
example.com/admin/edit/category/id which show page edit category
here, admin controller, create , edit action last parameter 'category'? should check 'category' argument inside controller actions or there way ?
thanks
having kind of issue, suggest using zend route. here's link
http://framework.zend.com/manual/en/zend.controller.router.html
you can create multiple routes each action if needed.
Comments
Post a Comment