◆ __construct()
MLTextLocalizedItem::__construct |
( |
|
$name, |
|
|
|
$folder, |
|
|
|
$path, |
|
|
|
$default = '' |
|
) |
| |
Class constructor.
- Parameters
-
string | $name | |
string | $folder | |
string | $path | |
string | $default | |
- Returns
- void
Reimplemented from MLTextItem.
◆ initialise()
MLTextLocalizedItem::initialise |
( |
| ) |
|
Initialise object with default value.
- Returns
- void
Reimplemented from MLTextItem.
◆ get()
MLTextLocalizedItem::get |
( |
|
$_libObjId, |
|
|
|
$language = null |
|
) |
| |
Load object value.
- Parameters
-
integer | $_libObjId | the parent object id |
string | $language | the language version to get |
- Returns
- boolean
◆ save()
MLTextLocalizedItem::save |
( |
|
$_libObjId, |
|
|
|
$_libName = 'Generic Content' |
|
) |
| |
Save text files.
- Parameters
-
integer | $_libObjId | the parent object id |
string | $_libName | the file header title |
- Returns
- boolean
Reimplemented from MLTextItem.
◆ get_fromHeader()
MLTextLocalizedItem::get_fromHeader |
( |
|
$prefix = '' | ) |
|
Load object value from header.
- Parameters
-
- Returns
- void
Reimplemented from MLTextItem.
◆ get_exportedValue()
MLTextLocalizedItem::get_exportedValue |
( |
| ) |
|
Return values as structured array $name => $value.
- Returns
- array
Reimplemented from MLTextItem.
◆ $value
array MLTextLocalizedItem::$value = array() |
The documentation for this class was generated from the following file: