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);
         //устанавливаем коллекцию
     }
 }
Beispiel #4
0
 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();
 }
Beispiel #5
0
 public function __construct()
 {
     parent::__construct();
     $this->setCollection(self::collection);
 }
Beispiel #6
0
 function __construct()
 {
     parent::__construct();
     $this->setCollection(self::COOLECION);
 }
Beispiel #7
0
 public function __construct()
 {
     parent::__construct();
     $this->setCollection(self::COLLECTION);
 }