JParameter
Parameter handler
Located in /joomla/html/parameter.php (line 30)
JObject (Subpackage Base)
![]()
JRegistry (Subpackage Registry)
![]()
JParameter (Subpackage Parameter)
Inherited Variables
Inherited from JRegistry
JRegistry::$_defaultNameSpace
JRegistry::$_registry
Inherited from JObject
JObject::$_errors
Constructor
- string $data: The raw parms text
- string $path: Path to the xml setup file
- JRegistry::__construct()
- Constructor
Add a directory where JParameter should search for element types
You may either pass a string or an array of directories.
JParameter will be searching for a element type in the same order you added them. If the parameter type cannot be found in the custom folders, it will look in JParameter/types.
- string|array $path: directory or directories to search.
Bind data to the parameter
- mixed $data: Array or Object
- $group
Sets a default value if not alreay assigned
- string $key: The name of the param
- string $default: The value of the parameter
- string $group: The parameter group to modify
Get a value
- string $key: The name of the param
- mixed $default: The default value if not found
- $group
- JObject::get()
- Returns a property of the object or the default value if the property is not set.
Return number of params to render
- $group
Render a parameter type
- object A &$node: param tag node
- string $control_name: The control name
- $group
Render all parameters
- string $name: The name of the control, or the default text area if a setup file is not found
- $group
Loads a element type
- string $type: elementType
- $new
Loads an xml setup file and parses it
- string $path: path to xml setup file
Render
- string $name: The name of the control, or the default text area if a setup file is not found
- $group
Render all parameters to an array
- string $name: The name of the control, or the default text area if a setup file is not found
- $group
Set a value
- string $key: The name of the param
- string $value: The value of the parameter
- $group
- JObject::set()
- Modifies a property of the object, creating it if it does not already exist.
Sets the XML object from custom xml files
- object An &$xml: XML object
Inherited Methods
Inherited From JRegistry
JRegistry::__construct()
JRegistry::getInstance()
JRegistry::getNameSpaces()
JRegistry::getValue()
JRegistry::loadArray()
JRegistry::loadFile()
JRegistry::loadINI()
JRegistry::loadObject()
JRegistry::loadXML()
JRegistry::makeNameSpace()
JRegistry::merge()
JRegistry::setValue()
JRegistry::toArray()
JRegistry::toObject()
JRegistry::toString()
JRegistry::__clone()
Inherited From JObject
JObject::JObject()
JObject::__construct()
JObject::get()
JObject::getError()
JObject::getErrors()
JObject::getProperties()
JObject::getPublicProperties()
JObject::set()
JObject::setError()
JObject::setProperties()
JObject::toString()
Documentation generated on Sat, 14 Nov 2009 11:16:43 +0000 by phpDocumentor 1.3.1



