JElement deprecated
class JElement extends JObject
deprecated
Parameter base class
The JElement is the base class for all JElement types
Methods
Sets a default value if not alreay assigned
Returns a property of the object or the default value if the property is not set.
Returns an associative array of object properties.
Get the most recent error message.
Modifies a property of the object, creating it if it does not already exist.
Set the object properties based on a named array/hash.
No description
Details
at line 47
JObject
__construct($parent = null)
deprecated
deprecated
Constructor
in JObject at line 56
string
__toString()
Magic method to convert the object to a string gracefully.
in JObject at line 70
mixed
def(string $property, mixed $default = null)
Sets a default value if not alreay assigned
in JObject at line 88
mixed
get(string $property, mixed $default = null)
Returns a property of the object or the default value if the property is not set.
in JObject at line 107
array
getProperties(boolean $public = true)
Returns an associative array of object properties.
in JObject at line 133
string
getError(integer $i = null, boolean $toString = true)
Get the most recent error message.
in JObject at line 165
array
getErrors()
Return all errors, if any.
in JObject at line 180
mixed
set(string $property, mixed $value = null)
Modifies a property of the object, creating it if it does not already exist.
in JObject at line 198
boolean
setProperties(mixed $properties)
Set the object properties based on a named array/hash.
in JObject at line 222
void
setError(string $error)
Add an error message.
in JObject at line 235
string
toString()
deprecated
deprecated
at line 60
string
getName()
deprecated
deprecated
Get the element name
at line 70
render($xmlElement, $value, $control_name = 'params')
deprecated
deprecated
at line 93
fetchTooltip($label, $description, $xmlElement, $control_name = '', $name = '')
deprecated
deprecated
at line 112
fetchElement($name, $value, $xmlElement, $control_name)
deprecated
deprecated