コード例 #1
0
ファイル: FileHash.php プロジェクト: alexukua/opus4
 public function init()
 {
     parent::init();
     $this->addPrefixPath('Form_Decorator', 'Form/Decorator', Zend_Form::DECORATOR);
     $this->setLabel($this->getTranslator()->translate('admin_filemanager_checksum') . ' - ');
 }
コード例 #2
0
ファイル: Drawing.php プロジェクト: jakedorst/ch3-dev-preview
 public function init()
 {
     parent::init();
     // override the print onclick attribute
     $this->getView()->elementPrint->setAttrib('onclick', 'printImageDrawing()');
 }
コード例 #3
0
ファイル: String.php プロジェクト: massimozappino/zmz
 public function init()
 {
     parent::init();
     $this->setRequired(false)->setIgnore(true);
 }
コード例 #4
0
 public function init()
 {
     $this->_doctrine = \Zend_Registry::get('doctrineEm');
     parent::init();
 }