JFactory
object JApplication
&getApplication
([mixed $id = null], [array $config = array()], [ $prefix = 'J'])
object JCache
&getCache
([string $group = ''], [string $handler = 'callback'], [string $storage = null])
Get an authorization object
Returns a reference to the global JAuthorization object, only creating it if it doesn't already exist.
Get a application object
Returns a reference to the global JApplication object, only creating it if it doesn't already exist.
- mixed $id: A client identifier or name.
- array $config: An optional associative array of configuration settings.
- $prefix
Get a cache object
Returns a reference to the global JCache object
- string $group: The cache group name
- string $handler: The handler to use
- string $storage: The storage method
Get a configuration object
Returns a reference to the global JRegistry object, only creating it if it doesn't already exist.
- string $file: The path to the configuration file
- string $type: The type of the configuration file
Return a reference to the JDate object
- mixed $time: The initial time for the JDate object
- int $tzOffset: The timezone offset.
Get a database object
Returns a reference to the global JDatabase object, only creating it if it doesn't already exist.
Get a document object
Returns a reference to the global JDocument object, only creating it if it doesn't already exist.
Get an editor object
- string $editor: The editor to load, depends on the editor plugins that are installed
Get a language object
Returns a reference to the global JLanguage object, only creating it if it doesn't already exist.
Get a mailer object
Returns a reference to the global JMail object, only creating it if it doesn't already exist
Get a session object
Returns a reference to the global JSession object, only creating it if it doesn't already exist.
- array $options: An array containing session options
Get a template object
Returns a reference to the global JTemplate object, only creating it if it doesn't already exist.
Return a reference to the JURI object
- $uri
Get an user object
Returns a reference to the global JUser object, only creating it if it doesn't already exist.
- int $id: The user to load - Can be an integer or string - If string, it is converted to ID automatically.
Get an XML document
- string $type: The type of xml parser needed 'DOM', 'RSS' or 'Simple'
- array: $options: boolean ['lite'] When using 'DOM' if true or not defined then domit_lite is used string ['rssUrl'] the rss url to parse when using "RSS" string ['cache_time'] with 'RSS' - feed cache time. If not defined defaults to 3600 sec




JFactory