This class provides content management functionality.
Methods
Constructor.
__construct()
__debugInfo
__debugInfo() : mixed
Returns
mixed
settings_data
__get
__get(string $itemName) : mixed
method |
Add mod data by key |
access |
public |
author |
Brian Tafoya |
version |
1.0 |
Parameters
$itemName
string
Mod data array key
Exceptions
\InvalidArgumentException |
Mod data key does not exist, code 20 |
Returns
mixed
Array value
__isset
__isset(string $itemName) : boolean
method |
Add mod data by key |
access |
public |
author |
Brian Tafoya |
version |
1.0 |
Parameters
$itemName
string
Mod 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
string
Mod data array key
$itemValue
mixed
Mod data value
Returns
mixed
Array value
__unset
__unset(string $itemName)
method |
Add mod data by key |
access |
public |
author |
Brian Tafoya |
version |
1.0 |
Parameters
$itemName
string
Mod 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
string
Mod data array key
Exceptions
Returns
mixed
Array value
getDataRow
getDataRow(string $content_name) : array
Static
method |
Get CMS Data Row |
access |
public |
author |
Brian Tafoya |
version |
1.0 |
Parameters
$content_name
string
Content 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
string
Mod data array key
Exceptions
\InvalidArgumentException |
Mod data key does not exist, code 20 |
Returns
mixed
Array 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
string
Mod data array key
$replacementAssociativeArray
array
Replacement 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
string
Mod data array key
$itemValue
mixed
Mod data value
$itemTitle
string
optional Mod data value
Exceptions
Returns
mixed
Array 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