Example #1
0
 public function on_start()
 {
     parent::on_start();
     $view = View::getInstance();
     $view->requireAsset('core/colorpicker');
     $this->set('config', $this->getSite()->getConfigRepository());
 }
Example #2
0
 public function __construct(\Concrete\Core\Page\Page $c, Service $service)
 {
     $this->service = $service;
     parent::__construct($c);
 }