Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // application/controllers/HelpController.php
- class HelpController extends Zend_Controller_Action {
- public function instructionAction () {
- // $this
- }
- public function indexAction() {
- $help_form = new Default_Form_Help();
- $help_form->setView()->render();
- $this->view->form = $help_form;
- if ($this->_request->isPost() && $help_form->isValid($this->_request->getPost())) {
- echo '<pre>';
- print_r($this->_request->getPost());
- echo '</pre>';
- }
- }
- }
Add Comment
Please, Sign In to add comment