Public Member Functions | |
| & | _buildObject (&$node, $paramArray=array()) |
| _cacheMiss (&$cache, $id) | |
| & | _getCache ($conferenceId, $schedConfId, $pluginName) |
| _performReplacement ($rawInput, $paramArray=array()) | |
| deleteSetting ($conferenceId, $schedConfId, $pluginName, $name) | |
| deleteSettingsByConferenceId ($conferenceId) | |
| deleteSettingsByPlugin ($pluginName, $conferenceId=null, $schedConfId=null) | |
| & | getPluginSettings ($conferenceId, $schedConfId, $pluginName) |
| getSetting ($conferenceId, $schedConfId, $pluginName, $name) | |
| installSettings ($conferenceId, $schedConfId, $pluginName, $filename, $paramArray=array()) | |
| updateSetting ($conferenceId, $schedConfId, $pluginName, $name, $value, $type=null) | |
Definition at line 18 of file PluginSettingsDAO.inc.php.
| & PluginSettingsDAO._buildObject | ( | &$ | node, | |
| $ | paramArray = array() | |||
| ) |
Used internally by installSettings to recursively build nested arrays. Deals with translation and variable replacement calls.
| $node | object XMLNode <array> tag | |
| $paramArray | array Parameters to be replaced in key/value contents |
Definition at line 221 of file PluginSettingsDAO.inc.php.
| PluginSettingsDAO._performReplacement | ( | $ | rawInput, | |
| $ | paramArray = array() | |||
| ) |
Used internally by installSettings to perform variable and translation replacements.
| $rawInput | string contains text including variable and/or translate replacements. | |
| $paramArray | array contains variables for replacement |
Definition at line 207 of file PluginSettingsDAO.inc.php.
| PluginSettingsDAO.deleteSetting | ( | $ | conferenceId, | |
| $ | schedConfId, | |||
| $ | pluginName, | |||
| $ | name | |||
| ) |
Delete a plugin setting.
| $conferenceId | int | |
| $schedConfIf | int | |
| $schedConfId | int | |
| $pluginName | int | |
| $name | string |
Definition at line 153 of file PluginSettingsDAO.inc.php.
References _getCache().
| PluginSettingsDAO.deleteSettingsByConferenceId | ( | $ | conferenceId | ) |
Delete all settings for a conference.
| $conferenceId | int |
Definition at line 195 of file PluginSettingsDAO.inc.php.
| PluginSettingsDAO.deleteSettingsByPlugin | ( | $ | pluginName, | |
| $ | conferenceId = null, |
|||
| $ | schedConfId = null | |||
| ) |
Delete all settings for a plugin.
| $pluginName | string |
Definition at line 167 of file PluginSettingsDAO.inc.php.
References _getCache().
| & PluginSettingsDAO.getPluginSettings | ( | $ | conferenceId, | |
| $ | schedConfId, | |||
| $ | pluginName | |||
| ) |
Retrieve and cache all settings for a plugin.
| $conferenceId | int | |
| $schedConfIf | int | |
| $pluginName | string |
Definition at line 73 of file PluginSettingsDAO.inc.php.
References _getCache().
Referenced by _cacheMiss().
| PluginSettingsDAO.getSetting | ( | $ | conferenceId, | |
| $ | schedConfId, | |||
| $ | pluginName, | |||
| $ | name | |||
| ) |
Retrieve a plugin setting value.
| $conferenceId | int | |
| $schedConfIf | int | |
| $pluginName | string | |
| $name |
Definition at line 48 of file PluginSettingsDAO.inc.php.
References _getCache().
| PluginSettingsDAO.installSettings | ( | $ | conferenceId, | |
| $ | schedConfId, | |||
| $ | pluginName, | |||
| $ | filename, | |||
| $ | paramArray = array() | |||
| ) |
Install plugin settings from an XML file.
| $conferenceId | int ID of conference, if applicable | |
| $schedConfId | int ID of scheduled conference, if applicable | |
| $pluginName | name of plugin for settings to apply to | |
| $filename | string Name of XML file to parse and install | |
| $paramArray | array Optional parameters for variable replacement in settings |
Definition at line 247 of file PluginSettingsDAO.inc.php.
| PluginSettingsDAO.updateSetting | ( | $ | conferenceId, | |
| $ | schedConfId, | |||
| $ | pluginName, | |||
| $ | name, | |||
| $ | value, | |||
| $ | type = null | |||
| ) |
Add/update a plugin setting.
| $conferenceId | int | |
| $schedConfIf | int | |
| $pluginName | string | |
| $name | string | |
| $value | mixed | |
| $type | string data type of the setting. If omitted, type will be guessed |
Definition at line 111 of file PluginSettingsDAO.inc.php.
References _getCache().
1.4.7