Guest User

Untitled

a guest
Jun 20th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. <?php
  2. // application/controllers/HelpController.php
  3.  
  4. class HelpController extends Zend_Controller_Action {
  5.  
  6. public function instructionAction () {
  7. // $this
  8. }
  9.  
  10. public function indexAction() {
  11. $help_form = new Default_Form_Help();
  12. $help_form->setView()->render();
  13. $this->view->form = $help_form;
  14.  
  15.  
  16. if ($this->_request->isPost() && $help_form->isValid($this->_request->getPost())) {
  17. echo '<pre>';
  18. print_r($this->_request->getPost());
  19. echo '</pre>';
  20.  
  21. }
  22. }
  23.  
  24. }
Add Comment
Please, Sign In to add comment