Model
abstract class Model
Properties
| protected array | $channels | ||
| protected array | $types | ||
| protected float | $alpha |
Methods
void
__construct(string $value = NULL)
No description
array
getChannelsList()
No description
array
getTypesList()
No description
void
syncAlpha(string|float $alpha)
No description
boolean
isType(string $type)
No description
boolean
isChannel(string $channel)
No description
void
set(string|array $value)
Set all model channels
int|float
limitation(int|float $value, int $max, int $min = 0)
Limitation of a variable in the range
Details
at line 23
void
__construct(string $value = NULL)
at line 35
static Model
create(string $value)
at line 43
array
getChannelsList()
at line 51
array
getTypesList()
at line 61
void
syncAlpha(string|float $alpha)
at line 76
boolean
isType(string $type)
at line 86
boolean
isChannel(string $channel)
at line 98
abstract void
set(string|array $value)
Set all model channels
at line 110
protected int|float
limitation(int|float $value, int $max, int $min = 0)
Limitation of a variable in the range