Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class My_App3_Form extends Zend_Form
- {
- protected $_formDecorator = array(
- 'FormElements',
- array('HtmlTag', array('tag' => 'ul')),
- 'Form'
- );
- protected $_elementDecorator = array(
- 'ViewHelper',
- 'Errors',
- 'Label',
- array('HtmlTag', array('tag' => 'li'))
- );
- public function __construct($options = null)
- {
- parent::__construct($options);
- }
- public function init()
- {
- $this->setAttrib('accept-charset', 'UTF-8');
- }
- public function getFormDecorator()
- {
- return $this->_formDecorator;
- }
- public function getElementDecorator()
- {
- return $this->_elementDecorator;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement