/**
  * @copydoc ComponentConfig::__construct
  */
 public function __construct($config, $className, $moduleName)
 {
     parent::__construct($config, $className, $moduleName);
     $this->registerState('source', array('/source/'));
     $this->registerState('imageManager', array('/imagemanager/'));
     $this->registerState('fileLibrary', array('/file-library/', '/file-library/[any]/'));
     $this->registerState('embedPlayer', array('/embed-player/[uplId]/'));
 }
Beispiel #2
0
 /**
  * @copydoc ComponentConfig::__construct
  */
 public function __construct($config, $className, $moduleName)
 {
     parent::__construct($config, $className, $moduleName);
     $this->registerState('source', array('/source/'));
     $this->registerState('imageManager', array('/imagemanager/'));
     $this->registerState('fileLibrary', array('/file-library/', '/file-library/[any]/'));
     $this->registerState('upload', array('/upload/'));
     $this->registerState('cleanup', array('/cleanup/'));
     $this->registerState('getRawData', ['/get-data/', '/get-data/page-[pageNumber]/']);
 }