public function __construct() { parent::__construct(); //переопределяем конструктор $this->setCollection(self::COLLECTION); //устанавливаем коллекцию }
public function __construct($creater, $login) { parent::__construct(); parent::setCollection(self::collection); $this->creater = $creater; $this->login = $login; }
public function __construct() { parent::__construct(); //переопределяем конструктор $this->setRequestLvl(); if ($this->getRequestLvl() === 'manager') { $this->setCollection('manager'); //устанавливаем коллекцию } else { $this->setCollection(self::COLLECTION); //устанавливаем коллекцию } }
public function __construct() { parent::__construct(); $this->setCGPS(); $array = $_GET ? $_GET : $_POST; if (isset($array['login'])) { $this->searchDublicateNick($array['login']); return true; } if (isset($array['captcha'])) { $this->checkCaptcha($array['captcha']); return true; } $this->protectAccess(); }
public function __construct() { parent::__construct(); $this->setCollection(self::collection); }
function __construct() { parent::__construct(); $this->setCollection(self::COOLECION); }
public function __construct() { parent::__construct(); $this->setCollection(self::COLLECTION); }