API15:JFactory
From Joomla! Documentation
JFactory provides a simple means of organising the main singleton objects required by the Joomla Framework.
Defined in
libraries/joomla/factory.php
Methods
| 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
jimport( 'joomla.factory' );
This example was originally contributed by User:Bembelimen