public function __construct(array $attrs = array()) { parent::__construct($attrs); if ($this->id) { $this->initPermissions(); } }
public function __construct(array $data = array()) { parent::__construct($data); if ($this->salt == '') { $this->salt = Utils::genRandom(); } }
public function __construct(array $data = array()) { parent::__construct($data); }
public function __construct(array $data = array()) { parent::__construct($data); $this->setPermissions(); }