CaMykS  1.0-20231201
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
ModuleLibraryItem Class Reference

Module Library Item. More...

Inheritance diagram for ModuleLibraryItem:
MLDatabaseItem MLFileItem MLTemporaryItem MLTextItem MLDatabaseLocalizedItem MLFileLocalizedItem MLTextLocalizedItem

Public Member Functions

 get_fromArray ($data)
 
 get_valueFromHeader ($name)
 
 get_dateFromHeader ($name)
 
 parse_PHPTags ($value)
 

Public Attributes

 $name
 Item name. More...
 
 $default
 Item default value. More...
 
 $value
 Item current value. More...
 
 $type
 Item type. More...
 
 $datadesc
 Item data description. More...
 
 $datadesc2
 Item data description. More...
 

Protected Member Functions

 compile_listValue ($value)
 
 uncompile_listValue ($value)
 

Detailed Description

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.1
Date
Creation: Mar 2007
Modification: May 2023
Note
This program is distributed as is - WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Todo:
Try to set up get_dateFromHeader and parse_PHPTags methods as protected.

ModuleLibraryItem class.

Author
CaMykS Team camyk.nosp@m.s.co.nosp@m.ntact.nosp@m.@gma.nosp@m.il.co.nosp@m.m

Member Function Documentation

◆ get_fromArray()

ModuleLibraryItem::get_fromArray (   $data)

Load value from array.

Parameters
array$data
Returns
void

Reimplemented in MLDatabaseLocalizedItem, MLTemporaryItem, and MLDatabaseItem.

◆ get_valueFromHeader()

ModuleLibraryItem::get_valueFromHeader (   $name)

Load value from header.

Parameters
string$name
Returns
string

◆ get_dateFromHeader()

ModuleLibraryItem::get_dateFromHeader (   $name)

Load date value from header.

Parameters
string$name
Returns
integer

◆ parse_PHPTags()

ModuleLibraryItem::parse_PHPTags (   $value)

Remove PHP tags from value

Parameters
string$value
Returns
string

◆ compile_listValue()

ModuleLibraryItem::compile_listValue (   $value)
protected

Compile list value

Parameters
array$value
Returns
string

◆ uncompile_listValue()

ModuleLibraryItem::uncompile_listValue (   $value)
protected

Uncompile list value.

Parameters
string$value
Returns
array

Member Data Documentation

◆ $name

string ModuleLibraryItem::$name

Item name.

◆ $default

mixed ModuleLibraryItem::$default

Item default value.

◆ $value

mixed ModuleLibraryItem::$value

Item current value.

◆ $type

string ModuleLibraryItem::$type

Item type.

◆ $datadesc

string ModuleLibraryItem::$datadesc

Item data description.

◆ $datadesc2

string ModuleLibraryItem::$datadesc2

Item data description.


The documentation for this class was generated from the following file: