Text localised item of Module Library item.
More...
Text localised item of Module Library item.
Engine / Object Library
- Author
- CaMykS Team camyk.nosp@m.s.co.nosp@m.ntact.nosp@m.@gma.nosp@m.il.co.nosp@m.m
- Version
- 1.0.0.1
- Date
- Creation: Jul 2007
-
Modification: Jul 2025
- Copyright
- 2007 - 2025 CaMykS Team
- Note
- This program is distributed as is - WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. MLTextLocalizedItem class.
◆ __construct()
| MLTextLocalizedItem::__construct |
( |
|
$name, |
|
|
|
$folder, |
|
|
|
$path, |
|
|
|
$default = '' |
|
) |
| |
Class constructor.
- Parameters
-
| string | $name | |
| string | $folder | |
| string | $path | |
| string | $default | |
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: