JFactory
From Joomla! Documentation
The "API15" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JFactory provides a simple means of organising the main singleton objects required by the Joomla Framework.
Defined in[edit]
libraries/joomla/factory.php
Methods[edit]
Method name | Description |
---|---|
getApplication | Get an application object |
getConfig | Get a configuration object |
getSession | Get a session object |
getLanguage | Get a language object |
getDocument | Get a document object |
getUser | Get an user object |
getCache | Get a cache object |
getACL | Get an authorization object |
getTemplate | Get a template object |
getDBO | Get a database object |
getMailer | Get a mailer object |
getXMLParser | Get an XML document |
getEditor | Get an editor object |
getURI | Return a reference to the JURI object |
getDate | Return a reference to the JDate object |
Importing[edit]
jimport( 'joomla.factory' );
This example was originally contributed by User:Bembelimen