◆ __construct()
MLDatabaseItem::__construct |
( |
|
$name, |
|
|
|
$datatype, |
|
|
|
$desc, |
|
|
|
$desc2 = '' , |
|
|
|
$default = null |
|
) |
| |
Class constructor.
- Parameters
-
string | $name | |
string | $datatype | |
string | $desc | |
mixed | $desc2 | |
mixed | $default | |
- Returns
- void
Reimplemented in MLDatabaseLocalizedItem.
◆ initialise()
MLDatabaseItem::initialise |
( |
| ) |
|
◆ get_fromHeader()
MLDatabaseItem::get_fromHeader |
( |
|
$prefix = '' | ) |
|
◆ get_fromArray()
MLDatabaseItem::get_fromArray |
( |
|
$data | ) |
|
◆ get_databaseDescription()
MLDatabaseItem::get_databaseDescription |
( |
| ) |
|
Return database description.
- Returns
- mixed
◆ get_databaseValue()
MLDatabaseItem::get_databaseValue |
( |
|
$language = null | ) |
|
◆ get_defaultValue()
MLDatabaseItem::get_defaultValue |
( |
| ) |
|
Return default value.
- Returns
- mixed
◆ get_exportedValue()
MLDatabaseItem::get_exportedValue |
( |
| ) |
|
◆ check_value()
MLDatabaseItem::check_value |
( |
|
$type = null , |
|
|
|
$default = null |
|
) |
| |
Check value case of given type.
- Parameters
-
string | $type | |
mixed | $default | |
- Returns
- void
◆ $datatype
string MLDatabaseItem::$datatype |
Item data type, can be text / etext / int / float / date / password / list.
◆ $datadesc
string MLDatabaseItem::$datadesc |
Item data description (database type compatible with MySQL).
◆ $datadesc2
string MLDatabaseItem::$datadesc2 |
Secondary information of item data description.
The documentation for this class was generated from the following file: