Guest User

Untitled

a guest
Oct 19th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. <?php
  2.  
  3. class PeopleController extends Zend_Controller_Action
  4. {
  5.  
  6. public function init()
  7. {
  8. /* Initialize action controller here */
  9. }
  10.  
  11. public function indexAction()
  12. {
  13. $people = new Application_Model_DbTable_People();
  14. $this->view->people = $people->fetchAll();
  15. }
  16.  
  17. public function addAction()
  18. {
  19. // action body
  20. }
  21.  
  22. public function editAction()
  23. {
  24. // action body
  25. }
  26.  
  27. public function deleteAction()
  28. {
  29. // action body
  30. }
  31.  
  32.  
  33. }
Add Comment
Please, Sign In to add comment