Account::__construct PHP Method

__construct() public method

Instantiates a user account. This is passed either "anonymous" or the Account ID as the constructor parameter. User account login is done via the login method below.
public __construct ( mixed $accountID )
$accountID mixed
    public function __construct($accountID)
    {
        $this->getCurrentUser($accountID);
    }

Usage Example

コード例 #1
0
ファイル: Staff.php プロジェクト: angrycoders/system
 public function __construct($account, $staffID, $staffNo, $name)
 {
     parent::__construct($accountID, $username, $password);
     $this->staffID = $staffID;
     $this->staffNo = $staffNo;
     $this->name = $name;
 }
All Usage Examples Of Account::__construct