API15:JFactory
From Joomla! Documentation
(Difference between revisions)
(New page: <span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{Description:JFactory}}
===Defined in===
lib...) |
|||
| Line 57: | Line 57: | ||
|Return a reference to the JDate object | |Return a reference to the JDate object | ||
|} | |} | ||
| + | |||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.factory' );</source> | <source lang="php">jimport( 'joomla.factory' );</source> | ||
Latest revision as of 12:35, 25 March 2010
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
[Edit Descripton] JFactory provides a simple means of organising the main singleton objects required by the Joomla Framework.
Contents |
[edit] Defined in
libraries/joomla/factory.php
[edit] Methods
| Method name | Description |
|---|---|
| getApplication | Get a 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 |
[edit] Importing
jimport( 'joomla.factory' );
[Edit See Also] SeeAlso:JFactory
[edit] Examples
<CodeExamplesForm />

This example was originally contributed by User:Bembelimen