This class provides content management functionality.
Methods
Constructor.
__construct()
__debugInfo
__debugInfo() : mixed
Returns
mixedsettings_data
__get
__get(string $itemName) : mixed
| method |
Add mod data by key |
| access |
public |
| author |
Brian Tafoya |
| version |
1.0 |
Parameters
$itemName
stringMod data array key
Exceptions
\InvalidArgumentException |
Mod data key does not exist, code 20 |
Returns
mixedArray value
__isset
__isset(string $itemName) : boolean
| method |
Add mod data by key |
| access |
public |
| author |
Brian Tafoya |
| version |
1.0 |
Parameters
$itemName
stringMod data array key
Returns
boolean
__set
__set(string $itemName, mixed $itemValue) : mixed
| method |
Add mod data by key |
| access |
public |
| author |
Brian Tafoya |
| version |
1.0 |
Parameters
$itemName
stringMod data array key
$itemValue
mixedMod data value
Returns
mixedArray value
__unset
__unset(string $itemName)
| method |
Add mod data by key |
| access |
public |
| author |
Brian Tafoya |
| version |
1.0 |
Parameters
$itemName
stringMod data array key
deleteModDataItem
deleteModDataItem(string $itemName) : mixed
Static
| method |
Add mod data by key |
| access |
public |
| author |
Brian Tafoya |
| version |
1.0 |
Parameters
$itemName
stringMod data array key
Exceptions
Returns
mixedArray value
getDataRow
getDataRow(string $content_name) : array
Static
| method |
Get CMS Data Row |
| access |
public |
| author |
Brian Tafoya |
| version |
1.0 |
Parameters
$content_name
stringContent Key
Returns
array
getModDataItem
getModDataItem(string $itemName) : mixed
Static
| method |
Add mod data by key |
| access |
public |
| author |
Brian Tafoya |
| version |
1.0 |
Parameters
$itemName
stringMod data array key
Exceptions
\InvalidArgumentException |
Mod data key does not exist, code 20 |
Returns
mixedArray value
macroKeyList
macroKeyList() : string
Static
| method |
Returns the macro keys as a list for display. |
| access |
public |
| author |
Brian Tafoya |
| version |
1.0 |
Returns
string
macroReplace
macroReplace(string $stringData, array $replacementAssociativeArray) : string
Static
| method |
Provides a macro replacement method the the cms content. |
| access |
public |
| author |
Brian Tafoya |
| version |
1.0 |
Parameters
$stringData
stringMod data array key
$replacementAssociativeArray
arrayReplacement data array key
Exceptions
\InvalidArgumentException |
Arguments are not the correct data types. |
Returns
string
setModDataItem
setModDataItem(string $itemName, mixed $itemValue, string $itemTitle = "") : mixed
Static
| method |
Add mod data by key |
| access |
public |
| author |
Brian Tafoya |
| version |
1.0 |
Parameters
$itemName
stringMod data array key
$itemValue
mixedMod data value
$itemTitle
stringoptional Mod data value
Exceptions
Returns
mixedArray value
loadSettings
loadSettings()
Static
| method |
Add mod data by key |
| access |
private |
| author |
Brian Tafoya |
| version |
1.0 |
Properties
Data storage array
$ezSqlDB : array
Static
Data storage array
$replacementAssociativeArray : array
Static
Data storage array
$settings_data : array
Static
Macro Keys with double braces
$srArrayk : array
Static
Macro values
$srArrayv : array
Static