public function initialize()
 {
     $path = $this->getProperty('path');
     $path = str_replace(MODX_BASE_PATH, '', $path);
     $this->setProperty('path', $path);
     return parent::initialize();
 }
 public function initialize()
 {
     $this->modx->setOption('upload_files', 'csv');
     $this->modx->setOption('base_path', $this->modx->virtunewsletter->config['corePath']);
     $path = 'imports/';
     $this->setProperty('path', $path);
     $this->setProperty('source', 0);
     return parent::initialize();
 }
 public function initialize()
 {
     $this->setProperties(array("path" => '/lazy/images/'));
     if (!$this->getSource()) {
         return $this->modx->lexicon('permission_denied');
     }
     $this->source->setRequestProperties($this->getProperties());
     $this->source->initialize();
     if (!$this->source->checkPolicy('create')) {
         return $this->modx->lexicon('permission_denied');
     }
     return parent::initialize();
 }
 public function getLanguageTopics()
 {
     $langs = parent::getLanguageTopics();
     $langs[] = 'fastuploadtv';
     return $langs;
 }
 public function getLanguageTopics()
 {
     $langs = parent::getLanguageTopics();
     $langs[] = 'tveasyupload';
     return $langs;
 }