ApiOpenStudio PHPDoc

Application
in package

Class Account.

DB class for storing account row data.

Table of Contents

$accid  : int|null
Account ID the application belongs to.
$appid  : int|null
Application ID.
$name  : string|null
Application name.
$openapi  : string|null
OpenApi schema fragment.
__construct()  : mixed
Application constructor.
dump()  : array<string|int, mixed>
Return the values as an associative array.
getAccid()  : int
Get the account ID.
getAppid()  : int
Get application IOD.
getName()  : string
Get the application name.
getOpenapi()  : string
Get the OpenApi schema fragment.
setAccid()  : void
Set the account ID.
setAppid()  : void
Set the application ID.
setName()  : void
Set the application name.
setOpenapi()  : void
Set the OpenApi schema fragment.

Properties

$accid

Account ID the application belongs to.

protected int|null $accid

Account ID.

$appid

Application ID.

protected int|null $appid

Application ID.

$name

Application name.

protected string|null $name

Application name.

$openapi

OpenApi schema fragment.

protected string|null $openapi

OpenApi schema fragment.

Methods

__construct()

Application constructor.

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

Application ID.

$accid : int|null = null

Account ID.

$name : string|null = null

Application name.

$openapi : string|null = null

OpenApi JSON fragment.

Return values
mixed

dump()

Return the values as an associative array.

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

Application.

getAccid()

Get the account ID.

public getAccid() : int
Return values
int

Account ID.

getAppid()

Get application IOD.

public getAppid() : int
Return values
int

Application ID.

getName()

Get the application name.

public getName() : string
Return values
string

Application name.

getOpenapi()

Get the OpenApi schema fragment.

public getOpenapi() : string
Return values
string

OpenApi schema fragment.

setAccid()

Set the account ID.

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

Account ID.

Return values
void

setAppid()

Set the application ID.

public setAppid(int $appid) : void
Parameters
$appid : int

Application ID.

Return values
void

setName()

Set the application name.

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

Application name.

Return values
void

setOpenapi()

Set the OpenApi schema fragment.

public setOpenapi(string $openapi) : void
Parameters
$openapi : string

OpenApi schema fragment.

Return values
void

Search results