lamListOption
in package
Represents a list configuration option.
Tags
Table of Contents
- $ID : mixed
- unique ID
- $value : mixed
- option value
- __construct() : lamConfigOption
- Creates a new config option.
- fillFromPostData() : array<string|int, mixed>
- Fills the config option from POST data.
- getID() : string
- Returns the option ID.
- getMetaHTML() : htmlResponsiveRow
- Returns the meta HTML data to display this option.
- getValue() : string
- Returns the option value. The value must not contain "=" and ";".
- setValue() : mixed
- Sets the config option value. The value must not contain "=" and ";".
Properties
$ID
unique ID
private
mixed
$ID
$value
option value
private
mixed
$value
Methods
__construct()
Creates a new config option.
public
__construct(string $ID) : lamConfigOption
Parameters
- $ID : string
-
unique ID
Return values
lamConfigOption —config option
fillFromPostData()
Fills the config option from POST data.
public
abstract fillFromPostData() : array<string|int, mixed>
Return values
array<string|int, mixed> —list of StatusMessages (array(
getID()
Returns the option ID.
public
getID() : string
Return values
string —ID
getMetaHTML()
Returns the meta HTML data to display this option.
public
abstract getMetaHTML() : htmlResponsiveRow
Return values
htmlResponsiveRow —meta HTML
getValue()
Returns the option value. The value must not contain "=" and ";".
public
getValue() : string
Return values
string —value
setValue()
Sets the config option value. The value must not contain "=" and ";".
public
setValue(string $value) : mixed
Parameters
- $value : string