JFactory [Review]

API Package phpDocumentor Last reviewed Doc status
Joomla.Framework Joomla.Framework JFactory never Internal review

Joomla! Framework Factory class. This class is used to create various Joomla! framework classes. It facilitates lazy loading, which means that instead of manually including the appropriate library file for a given class, a call to the designated JFactory class method will automatically load the correct library and return an instance of an object of the appropriate type. The object will only be created if it doesn’t already exist.

Methods

Method Description
getACL Returns a reference to the global JAuthorization object.
getCache Returns a reference to the global JCache object.
getConfig Returns a reference to the global JRegistry configuration object.
getDBO Returns a reference to the global JDatabase object.
getDocument Returns a reference to the global JDocument object.
getEditor Get an editor object, depending on the editor plugins that are installed.
getLanguage Returns a reference to the global JLanguage object.
getMailer Returns a reference to the global JMail object.
getSession Returns a reference to the global JSession object.
getTemplate Returns a reference to the global JTemplate object.
getURI Return a reference to the JURI object.
getUser Returns a reference to the global JUser object.
getXMLParser Get an a XML document parser (incl. RSS/Atom/DOM)