Пример #1
0
 public function __construct(array $attrs = array())
 {
     parent::__construct($attrs);
     if ($this->id) {
         $this->initPermissions();
     }
 }
Пример #2
0
 public function __construct(array $data = array())
 {
     parent::__construct($data);
     if ($this->salt == '') {
         $this->salt = Utils::genRandom();
     }
 }
Пример #3
0
 public function __construct(array $data = array())
 {
     parent::__construct($data);
 }
Пример #4
0
 public function __construct(array $data = array())
 {
     parent::__construct($data);
     $this->setPermissions();
 }