Some usefull ZF stuff
License
BowlingX/Myself_Zend_Extensions
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Myself_Lib (c) 2010 David Heidrich Myself_Lib is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Extending Zend Framework Collection of some usefull components 1. Myself_Form A multipage form controller, uses Zend_Form subforms to create multiple Pages See also: http://framework.zend.com/manual/en/zend.form.advanced.html Examples: // Basic Multiple Form Controller class MyController extends Myself_Form_Page_Controller { public function getForm () { if (null === $this->_form) { $this->_form = new Myself_Form_Example(); } return $this->_form; } function handleData(Myself_Form_PageAble $form){ var_dump($form->getValues()); return $this->_forward('complete'); } public function completeAction(){ } } // Basic PageAble Form class Myself_Form_Example extends Myself_Form_PageAble { public function createForm(){ $form = new Myself_Form_Page(); // Add some more Pages $this->addPages(array('erste' => $form)); } }
About
Some usefull ZF stuff
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published