JObject
Joomla Platform Object Class
This class allows for simple but smart objects with get and set methods and an internal error handler.
Located in /libraries/joomla/object/object.php (line 22)
JObject (Subpackage Object)
| Class | Description |
|---|---|
JCache
|
Joomla! Cache base object |
JLanguage
|
Languages/translation handler class |
JTable
|
Abstract Table class |
JPagination
|
Pagination Class. Provides a common interface for content pagination for the Joomla! Platform. |
JPaginationObject
|
Pagination object representing a particular item in the pagination lists. |
JEditor
|
JEditor class to handle WYSIWYG editors |
JDocument
|
Document class, provides an easy interface to parse and display a document |
JUpdate
|
Update class. |
JRouter
|
Class to create and parse routes |
JApplicationBase
|
Joomla Platform Base Application Class |
JAuthentication
|
Authentication class, provides an interface for the Joomla authentication system |
JAuthenticationResponse
|
Authentication response class, provides an object for storing user and error details |
JUser
|
User class. Handles all application interaction with a user |
JStream
|
Joomla! Stream Interface |
JEvent
|
JEvent Class |
JEventDispatcher
|
Class to handle dispatching of events. |
JExtension
|
Extension object |
JLibraryManifest
|
Joomla! Library Manifest File |
JPackageManifest
|
Joomla! Package Manifest File |
JSession
|
Class for managing HTTP sessions |
JSessionStorage
|
Custom session storage handler for PHP |
JAdapterInstance
|
Adapter Instance Class |
JObserver
|
Abstract observer class to implement the observer design pattern |
JObservable
|
Abstract observable class to implement the observer design pattern |
JAdapter
|
Adapter Class Retains common adapter pattern functions Class harvested from joomla.installer.installer |
array
$_errors
= array() (line 32)
An array of error messages or Exception objects.
Class constructor, overridden in descendant classes.
- mixed $properties: Either and associative array or another object to set the initial properties of the object.
- JCache::__construct() : Constructor
- JLanguage::__construct() : Constructor activating the default information of the language.
- JTable::__construct() : Object constructor to set table and key fields. In most cases this will be overridden by child classes to explicitly set the table and key fields for a particular database table.
- JTableModule::__construct() : Constructor.
- JTableUser::__construct() : Constructor
- JTableExtension::__construct() : Constructor
- JTableMenuType::__construct() : Constructor
- JTableSession::__construct() : Constructor
- JTableLanguage::__construct() : Constructor
- JTableUsergroup::__construct() : Constructor
- JTableUpdate::__construct() : Constructor
- JTableMenu::__construct() : Constructor
- JTableCategory::__construct() : Constructor
- JTableAsset::__construct() : Constructor
- JTableViewlevel::__construct() : Constructor
- JPagination::__construct() : Constructor.
- JPaginationObject::__construct() : Class constructor.
- JEditor::__construct() : Constructor
- JDocument::__construct() : Class constructor.
- JDocumentError::__construct() : Class constructor
- JDocumentOpensearch::__construct() : Class constructor
- JDocumentHTML::__construct() : Class constructor
- JDocumentXml::__construct() : Class constructor
- JDocumentImage::__construct() : Class constructor
- JDocumentFeed::__construct() : Class constructor
- JDocumentRaw::__construct() : Class constructor
- JDocumentJSON::__construct() : Class constructor
- JRouter::__construct() : Class constructor
- JApplicationCli::__construct() : Class constructor.
- JApplicationDaemon::__construct() : Class constructor.
- JApplicationWeb::__construct() : Class constructor.
- JAuthentication::__construct() : Constructor
- JAuthenticationResponse::__construct() : Constructor
- JUser::__construct() : Constructor activating the default information of the language
- JStream::__construct() : Constructor
- JEvent::__construct() : Constructor
- JPlugin::__construct() : Constructor
- JExtension::__construct() : Constructor
- JLibraryManifest::__construct() : Constructor
- JPackageManifest::__construct() : Constructor
- JSession::__construct() : Constructor
- JSessionStorage::__construct() : Constructor
- JSessionStorageMemcache::__construct() : Constructor
- JSessionStorageEaccelerator::__construct() : Constructor
- JSessionStorageWincache::__construct() : Constructor
- JSessionStorageMemcached::__construct() : Constructor
- JSessionStorageApc::__construct() : Constructor
- JSessionStorageXcache::__construct() : Constructor
- JAdapterInstance::__construct() : Constructor
- JObserver::__construct() : Constructor
- JObservable::__construct() : Constructor
- JAdapter::__construct() : Constructor
- JUpdater::__construct() : Constructor
- JInstaller::__construct() : Constructor
Sets a default value if not alreay assigned
- string $property: The name of the property.
- mixed $default: The default value.
Returns a property of the object or the default value if the property is not set.
- string $property: The name of the property.
- mixed $default: The default value.
- JCache::get() : Get cached data by id and group
- JLanguage::get() : Get a metadata language property.
- JApplicationCli::get() : Returns a property of the object or the default value if the property is not set.
- JApplicationWeb::get() : Returns a property of the object or the default value if the property is not set.
- JSession::get() : Get data from the session store
Get the most recent error message.
- integer $i: Option error index.
- boolean $toString: Indicates if JError objects should return their error message.
Returns an associative array of object properties.
- boolean $public: If true, returns only the public properties.
Modifies a property of the object, creating it if it does not already exist.
- string $property: The name of the property.
- mixed $value: The value of the property to set.
- JApplicationCli::set() : Modifies a property of the object, creating it if it does not already exist.
- JApplicationWeb::set() : Modifies a property of the object, creating it if it does not already exist.
- JSession::set() : Set data into the session store.
Add an error message.
- string $error: Error message.
- JDocumentError::setError() : Set error object
Set the object properties based on a named array/hash.
- mixed $properties: Either an associative array or another object.
Magic method to convert the object to a string gracefully.
JObject (Subpackage Object)