Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class PeopleController extends Zend_Controller_Action
- {
- public function init()
- {
- /* Initialize action controller here */
- }
- public function indexAction()
- {
- $people = new Application_Model_DbTable_People();
- $this->view->people = $people->fetchAll();
- }
- public function addAction()
- {
- // action body
- }
- public function editAction()
- {
- // action body
- }
- public function deleteAction()
- {
- // action body
- }
- }
Add Comment
Please, Sign In to add comment