◆ __construct()
MLTextItem::__construct |
( |
|
$name, |
|
|
|
$folder, |
|
|
|
$path, |
|
|
|
$default = '' |
|
) |
| |
Class constructor.
- Parameters
-
string | $name | |
string | $folder | |
string | $path | |
string | $default | |
- Returns
- void
Reimplemented in MLTextLocalizedItem.
◆ initialise()
MLTextItem::initialise |
( |
| ) |
|
◆ get()
MLTextItem::get |
( |
|
$_libObjId | ) |
|
Load object value, the text file path
- Parameters
-
integer | $_libObjId | the parent object id |
- Returns
- boolean
◆ save()
MLTextItem::save |
( |
|
$_libObjId, |
|
|
|
$_libName = 'Generic Content' |
|
) |
| |
Save text as file.
- Parameters
-
integer | $_libObjId | the parent object id |
string | $_libName | the file header title |
- Returns
- boolean
Reimplemented in MLTextLocalizedItem.
◆ delete()
Delete text file.
- Returns
- boolean
◆ reset()
Delete files folder and its content.
- Returns
- boolean
◆ install()
Install object
- Returns
- boolean
◆ uninstall()
MLTextItem::uninstall |
( |
| ) |
|
Uninstall object library.
- Returns
- boolean
◆ get_fromHeader()
MLTextItem::get_fromHeader |
( |
|
$prefix = '' | ) |
|
◆ get_exportedValue()
MLTextItem::get_exportedValue |
( |
| ) |
|
Return values as structured array $name => $value.
- Returns
- array
Reimplemented in MLTextLocalizedItem.
◆ $folder
string MLTextItem::$folder |
Folder repository for files.
◆ $path
The documentation for this class was generated from the following file: