Пример #1
0
 public function __construct($accountId, $authToken = '', $roleType = '')
 {
     parent::__construct($accountId, $roleType);
     $this->authToken = $authToken;
     if ($authToken == '') {
         $this->authToken = Gpf_Session::getAuthUser()->getRemeberMeToken();
     }
 }
 public function __construct($username, $password, $accountid = '', $roleType = '')
 {
     parent::__construct($accountid, $roleType);
     $this->username = $username;
     $this->password = $password;
 }