Exemplo n.º 1
0
 /**
  * Initialize
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('maxSize', 'integer', 'Maximum file size allowed in KB');
     $this->registerArgument('allowed', 'string', 'Defines a list of file types allowed in this field');
     $this->registerArgument('disallowed', 'string', 'Defines a list of file types NOT allowed in this field');
     $this->registerArgument('uploadFolder', 'string', 'Upload folder. DEPRECATED, will be moved to the File field ViewHelper');
     $this->registerArgument('showThumbnails', 'boolean', 'If TRUE, displays thumbnails for selected values', FALSE, FALSE);
 }
 /**
  * Initialize
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('items', 'mixed', 'Items for the selector; array / CSV / Traversable / Query supported', TRUE);
 }