◆ __construct()
MLDatabaseLocalizedItem::__construct |
( |
|
$name, |
|
|
|
$datatype, |
|
|
|
$desc, |
|
|
|
$desc2 = '' , |
|
|
|
$default = null |
|
) |
| |
Class constructor.
- Parameters
-
string | $name | |
string | $datatype | |
string | $desc | |
mixed | $desc2 | |
mixed | $default | |
- Returns
- void
Reimplemented from MLDatabaseItem.
◆ initialise()
MLDatabaseLocalizedItem::initialise |
( |
| ) |
|
Initialise object with default value.
- Returns
- void
Reimplemented from MLDatabaseItem.
◆ get_fromHeader()
MLDatabaseLocalizedItem::get_fromHeader |
( |
|
$prefix = '' | ) |
|
Load object value from header.
- Parameters
-
- Returns
- void
Reimplemented from MLDatabaseItem.
◆ get_fromArray()
MLDatabaseLocalizedItem::get_fromArray |
( |
|
$data = array() | ) |
|
Load object values from array.
- Parameters
-
- Returns
- void
Reimplemented from MLDatabaseItem.
◆ get_databaseValue()
MLDatabaseLocalizedItem::get_databaseValue |
( |
|
$language = null | ) |
|
Return value optimised for database.
- Parameters
-
- Returns
- void
Reimplemented from MLDatabaseItem.
◆ get_exportedValue()
MLDatabaseLocalizedItem::get_exportedValue |
( |
| ) |
|
Return localised values as structured array name => value.
- Returns
- array
Reimplemented from MLDatabaseItem.
◆ $value
array MLDatabaseLocalizedItem::$value = array() |
The documentation for this class was generated from the following file: