Example #1
0
 public function __construct(Library\ObjectConfig $config)
 {
     parent::__construct($config);
     $this->addFilter($this->getObject('com:files.filter.file.name'), self::PRIORITY_HIGH);
     $this->addFilter($this->getObject('com:files.filter.file.extension'));
     $this->addFilter($this->getObject('com:files.filter.file.mimetype'));
     $this->addFilter($this->getObject('com:files.filter.file.size'));
 }
 public function __construct(Library\ObjectConfig $config)
 {
     parent::__construct($config);
     $this->addFilter($this->getObject('com:files.filter.folder.name'), self::PRIORITY_HIGH);
 }