/** * @copydoc FileUploader::__construct */ public function __construct(array $restrictions = array()) { parent::__construct(array_merge(array('ext' => array('flv', 'avi', 'mpeg', 'mpg')), $restrictions)); }
/** * @inheritdoc */ public function __construct($fileHolderKey) { parent::__construct($fileHolderKey); $this->addFileUploadDirectory(FileManager::IMAGE_DIR); }
/** * Initialize Element with xml array * * @param array $xmlArr * @return void */ function __construct(&$xmlArr, $formObj) { parent::__construct($xmlArr, $formObj); $this->readMetaData($xmlArr); $this->translate(); }