ChannelManager
Class ChannelManager
Table of Contents
Methods
- canUse() : bool
- Return true if channel can be used.
- getByType() : iProvider|null
- Get channel by type.
- getChannelArray() : array<string|int, mixed>|null
- Get channel as array.
- getPresets() : array<string|int, mixed>
- Get presets.
- getTypeNames() : array<string|int, mixed>
- Get type names.
- getTypes() : array<string|int, mixed>
- Get types.
- getWidgets() : array<string|int, mixed>
- Get widgets.
Methods
canUse()
Return true if channel can be used.
public
static canUse(string $type) : bool
Parameters
- $type : string
-
Type
Return values
boolgetByType()
Get channel by type.
public
static getByType(string $type) : iProvider|null
Parameters
- $type : string
-
Type
Return values
iProvider|nullgetChannelArray()
Get channel as array.
public
static getChannelArray(string $type) : array<string|int, mixed>|null
Parameters
- $type : string
-
Type
Return values
array<string|int, mixed>|nullgetPresets()
Get presets.
public
static getPresets(string $type) : array<string|int, mixed>
Parameters
- $type : string
-
Type
Return values
array<string|int, mixed>getTypeNames()
Get type names.
public
static getTypeNames() : array<string|int, mixed>
Return values
array<string|int, mixed>getTypes()
Get types.
public
static getTypes() : array<string|int, mixed>
Return values
array<string|int, mixed>getWidgets()
Get widgets.
public
static getWidgets(string $type, string $id[, bool $removeCopyright = true ][, string|null $lang = null ][, array<string|int, mixed> $config = array() ]) : array<string|int, mixed>
Parameters
- $type : string
-
Type
- $id : string
-
Channel id
- $removeCopyright : bool = true
-
Remove copyright
- $lang : string|null = null
-
Language ID
- $config : array<string|int, mixed> = array()
-
Config