OptTrait
Table of Contents
Properties
-
$opt
: array<string|int, mixed>
Methods
-
getOpt()
: array<string|int, mixed>
-
getOptUser()
: mixed
-
getOptUserId()
: mixed
-
getOptVal()
: mixed
-
getOptValOr()
: mixed
-
hasOptKey()
: mixed
-
setOpt()
: static
$opt
private
array<string|int, mixed>
$opt
getOpt()
public
getOpt([array<string|int, mixed> $opt = null ]) : array<string|int, mixed>
Parameters
-
$opt
: array<string|int, mixed>
= null
-
Return values
array<string|int, mixed>
getOptUser()
public
getOptUser() : mixed
getOptUserId()
public
getOptUserId() : mixed
getOptVal()
public
getOptVal(string $key) : mixed
Parameters
-
$key
: string
-
getOptValOr()
public
getOptValOr(string $key[, mixed $or = null ]) : mixed
Parameters
-
$key
: string
-
-
$or
: mixed
= null
-
hasOptKey()
public
hasOptKey(string $key) : mixed
Parameters
-
$key
: string
-
setOpt()
public
setOpt(array<string|int, mixed> $opt) : static
Parameters
-
$opt
: array<string|int, mixed>
-