예제 #1
0
 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);
 }
예제 #2
0
파일: File.php 프로젝트: getJv/ModuleTeste
 public function __construct($spec, $options = null)
 {
     parent::__construct($spec, $options);
     $this->bsUtils = new Zendstrap_Form_MyBootstrapUtils();
 }
예제 #3
0
파일: File.php 프로젝트: Konstnantin/zf-app
 public function __construct($spec, $options = null)
 {
     $this->_storedFileDecName = $spec . "_stored";
     parent::__construct($spec, $options);
 }
예제 #4
0
파일: File.php 프로젝트: rtsantos/mais
 public function __construct($spec, $options = null)
 {
     parent::__construct($spec, $options);
     $decoratorFile = new ZendT_Form_Decorator_File();
     $this->addDecorator($decoratorFile);
 }
예제 #5
0
 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');
 }