Text item of Module Library item.
More...
Text 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: Apr 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. MLTextItem class.
◆ __construct()
| MLTextItem::__construct |
( |
|
$name, |
|
|
|
$folder, |
|
|
|
$path, |
|
|
|
$default = '' |
|
) |
| |
Class constructor.
- Parameters
-
| string | $name | |
| string | $folder | |
| string | $path | |
| string | $default | |
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: