ApiOpenStudio PHPDoc

Account
in package

Class Account.

DB class for for storing role account data.

Table of Contents

$accid  : int|null
Account ID.
$name  : string|null
Account name.
__construct()  : mixed
Account constructor.
dump()  : array<string|int, mixed>
Return the values as an associative array.
getAccid()  : int
Get the account ID.
getName()  : string
Get the account name.
setAccid()  : void
Set the account ID.
setName()  : void
Set the account name.

Properties

$accid

Account ID.

protected int|null $accid

Account ID.

$name

Account name.

protected string|null $name

Account name.

Methods

__construct()

Account constructor.

public __construct([int|null $accid = null ][, string|null $name = null ]) : mixed
Parameters
$accid : int|null = null

Account ID.

$name : string|null = null

Account name.

Return values
mixed

dump()

Return the values as an associative array.

public dump() : array<string|int, mixed>
Return values
array<string|int, mixed>

Account.

getAccid()

Get the account ID.

public getAccid() : int
Return values
int

Account ID.

getName()

Get the account name.

public getName() : string
Return values
string

Account name.

setAccid()

Set the account ID.

public setAccid(int $accid) : void
Parameters
$accid : int

Account ID.

Return values
void

setName()

Set the account name.

public setName(string $name) : void
Parameters
$name : string

Account name.

Return values
void

Search results