JElementMenuItem deprecated
class JElementMenuItem extends JElement
deprecated
Renders a menu item element
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
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
in JElement at line 60
string
getName()
deprecated
deprecated
Get the element name
in JElement at line 70
render($xmlElement, $value, $control_name = 'params')
deprecated
deprecated
in JElement at line 93
fetchTooltip($label, $description, $xmlElement, $control_name = '', $name = '')
deprecated
deprecated
at line 35
fetchElement($name, $value, $node, $control_name)
deprecated
deprecated