-
- /** Declare a plugin parameter.
- */
- function declareParam($key, $val)
- {
- $this->params[$key] = $val;
- }
-
-
- /** Return an array of parameter names.
- */
- function getParamNames()
- {
- return array_keys($this->params);
- }
-
-
- /** Return the value of a parameter of the plugin.
- */
- function getParamValue($key)
- {
- return isset($this->params[$key]) ? $this->params[$key] : '';
- }
-
-
- /** Set the value of a parameter of the plugin.