コード例 #1
0
ファイル: install.php プロジェクト: ortodesign/cms
 protected function __construct()
 {
     $this->_installer = new Installer();
     $default = $this->_installer->default_params();
     $this->_options = Arr::merge($this->_options, $default);
     parent::__construct();
 }
コード例 #2
0
 /**
  * Sets the default options for the task - these use expressions so cannot be set in the field initialisation
  */
 protected function __construct()
 {
     // Initialise the default options
     $this->_options = array('vendor-path' => realpath(APPPATH . '../vendor'), 'public-path' => DOCROOT . 'assets');
     // Call the parent constructor
     parent::__construct();
 }
コード例 #3
0
 /**
  * Sets the default options for the task - these use expressions so cannot be set in the field initialisation
  */
 protected function __construct()
 {
     // Initialise the default options
     $this->_options = array('vendor-path' => realpath(APPPATH . '../vendor'), 'public-path' => DOCROOT . 'assets', 'less-input' => 'site.bootstrap', 'css-output' => 'site.bootstrap', 'no-compress' => NULL, 'lint-only' => NULL, 'loop-after' => NULL);
     // Call the parent constructor
     parent::__construct();
 }
コード例 #4
0
ファイル: Import2x.php プロジェクト: gjorgiev/platform
 protected function __construct()
 {
     parent::__construct();
     // Enable immediate log writing
     Log::$write_on_add = TRUE;
     // Create new Log instance, don't use default one otherwise we pollute the logs
     $this->logger = new Log();
 }