All pastes #971157 Raw Edit

Untitled

public text v1 · immutable
·published 2008-04-04 15:32 UTC
rendered paste body
This code works fine:
class UsuariosCadastrarForm extends SGCI_Form {
	
	function __construct($options = null) {
		
		parent::__construct($options);
		
		$this->setMethod('post')
        	 ->setAttrib('id', 'login');
        	 
	       	$div = new Zend_Form_Element('div', array('disableLoadDefaultDecorators' => true));
	        $div->addPrefixPath('CBr_Form_Decorator', 'CBr/Form/Decorator/', 'decorator');
	        $div->addDecorator('Div', array('id' => 'dv'));
        
	        $this->addElements( array (
		        $div,
	        ));
	}
}