Changeset 2944
- Timestamp:
- 05/30/10 04:59:18 (21 months ago)
- Location:
- trunk/gui/include/IspCP
- Files:
-
- 2 edited
-
Config.php (modified) (1 diff)
-
ConfigHandler/Db.php (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/include/IspCP/Config.php
r2943 r2944 43 43 * Example: 44 44 * 45 * $parameters = array('PLUGIN_NAME => 'billing', PLUGIN_VERSION=> '1.0.0');45 * $parameters = array('PLUGIN_NAME' => 'billing', 'PLUGIN_VERSION' => '1.0.0'); 46 46 * IspCP_Registry::set('My_ConfigHandler', new IspCP_ConfigHandler($parameters)); 47 47 * -
trunk/gui/include/IspCP/ConfigHandler/Db.php
r2943 r2944 56 56 * 57 57 * For performance reason, the PDOStatement object is created only once at 58 * the first execution of the {@link insert()} method.58 * the first execution of the {@link _insert()} method. 59 59 * 60 60 * @var PDOStatement … … 66 66 * 67 67 * For performance reason, the PDOStatement object is created only once at 68 * the first execution of the {@link update()} method.68 * the first execution of the {@link _update()} method. 69 69 * 70 70 * @var PDOStatement … … 76 76 * 77 77 * For performance reason, the PDOStatement object is created only once at 78 * the first execution of the {@link delete()} method.78 * the first execution of the {@link _delete()} method. 79 79 * 80 80 * @var PDOStatement … … 86 86 * 87 87 * This variable is bound to the PDOStatement objects that are used by 88 * {@link insert()} , {@link update()} and {@linkdelete()} methods.88 * {@link _insert()} , {@link _update()} and {@link _delete()} methods. 89 89 * 90 90 * @var string Configuration parameter key name … … 96 96 * 97 97 * This variable is bound to the PDOStatement objects that are used by both 98 * {@link insert()} and {@linkupdate()} methods.98 * {@link _insert()} and {@link _update()} methods. 99 99 * 100 100 * @var mixed Configuration parameter value … … 133 133 * For an array, the possible parameters are: 134 134 * 135 * db: Reference to a raw PDO (unwrapped)instance135 * db: Reference to PDO instance 136 136 * table_name: Database configuration table name 137 137 * key_column: Database configuration key column name … … 142 142 * For a single parameter, only a PDO instance is accepted. 143 143 * 144 * @param PDO|array A PDO instance or an array of parameter that contain at144 * @param PDO|array A PDO instance or an array of parameters that contain at 145 145 * least a PDO instance 146 146 * @throws Exception … … 190 190 * 191 191 * @param string $index Configuration parameter key name 192 * @param string|int$value Configuration parameter value192 * @param mixed $value Configuration parameter value 193 193 * @return void 194 194 */ … … 213 213 * 214 214 * @throws Exception 215 * @return void215 * @return Array that contain all configuration parameters 216 216 */ 217 217 private function _load_all() {
Note: See TracChangeset
for help on using the changeset viewer.
