public function __construct($spec, $options = array()) { $options = array_merge($options, array('disableLoadDefaultDecorators' => true)); parent::__construct($spec, $options); $this->_decorator = new Monkeys_Form_Decorator_Composite(); $this->addDecorator($this->_decorator); }
public function __construct($spec, $options = null) { parent::__construct($spec, $options); $this->bsUtils = new Zendstrap_Form_MyBootstrapUtils(); }
public function __construct($spec, $options = null) { $this->_storedFileDecName = $spec . "_stored"; parent::__construct($spec, $options); }
public function __construct($spec, $options = null) { parent::__construct($spec, $options); $decoratorFile = new ZendT_Form_Decorator_File(); $this->addDecorator($decoratorFile); }
public function __construct($spec, $options = null) { parent::__construct($spec, $options); $doctrine = \Zend_Controller_Front::getInstance()->getParam('bootstrap')->getResource('doctrine'); $this->_fileRepository = $doctrine->getEntityManager()->getRepository('\\Newsroom\\Entity\\File'); }