/** * Checks if this task is enabled / disabled via the config setting */ public function __construct() { parent::__construct(); if ($this->config()->get('disabled') === true) { $this->enabled = false; } }
public function __construct() { if (!Director::is_cli()) { $this->eol = '<br>'; $this->hr = '<hr>'; } else { $this->eol = PHP_EOL; $this->hr = '--' . PHP_EOL; } parent::__construct(); }
public function __construct() { parent::__construct(); $this->modulePath = BASE_PATH . '/omnipay-ui'; }
public function __construct($types = array()) { parent::__construct(); $this->types = $types; }
public function __construct() { $this->conf = $this->getConf(); $this->facebook = $this->getFacebook(); parent::__construct(); }
public function __construct() { $this->conf = $this->getConf(); $this->tmhOAuth = $this->getTmhOauth(); parent::__construct(); }
public function __construct() { $this->conf = $this->getConf(); parent::__construct(); }
/** * DataObjectAnnotatorTask constructor. * Setup default values. In this case title and description. */ public function __construct() { parent::__construct(); $this->title = 'DataObject annotations for specific DataObjects, Extensions or Controllers'; $this->description = "DataObject Annotator annotates your DO's if possible, helping you write better code.<br />" . 'Usage: add the module or DataObject as parameter to the URL, e.g. ?module=mysite .'; }
public function __construct() { $this->title = 'Flush Varnish and SilverStripe caches.'; $this->description = 'Flush the Varnish and SilverStripe caches on a (Twisted Bytes) varnish-cached hosting.'; parent::__construct(); }
public function __construct() { $this->conf = static::get_conf(); $this->instagram = static::get_instagram(); parent::__construct(); }