Doxiki:JObject

From Joomla! Documentation

Jump to: navigation, search

Defined in

libraries/joomla/base/object.php

Methods

Method name Description
__construct Class constructor, overridden in descendant classes.
__toString Magic method to convert the object to a string gracefully.
def Sets a default value if not alreay assigned
get Returns a property of the object or the default value if the property is not set.
getProperties Returns an associative array of object properties.
getError Get the most recent error message.
getErrors Return all errors, if any.
set Modifies a property of the object, creating it if it does not already exist.
setProperties Set the object properties based on a named array/hash.
setError Add an error message.
toString Deprecated1.6 - Jun 24, 2009 __toString()

Importing

jimport( 'joomla.base.object' );
Personal tools