public function __construct($model = false) { parent::__construct(); if ($model) { $this->model = $model; $this->member = $this->model->getLoggedInMember(); $this->rights = $this->member->getOldRights(); } }
public function __construct($model = false) { parent::__construct(); $this->purifier = MOD_htmlpure::getSuggestionsHtmlPurifier(); }
public function __construct() { parent::__construct(); $this->purifier = MOD_htmlpure::getAdvancedHtmlPurifier(); }
public function __construct($model) { parent::__construct(); $this->_model = $model; }