\JFactory
Joomla Platform Factory class
Synopsis
class JFactory
{
- // members
- public JApplicationCms $application;
- public JCache $cache;
- public JConfig $config;
- public $dates;
- public JSession $session;
- public JLanguage $language;
- public JDocument $document;
- public JAccess $acl;
- public JDatabaseDriver $database;
- public JMail $mailer;
- // methods
- public static JApplicationCms getApplication()
- public static JRegistry getConfig()
- public static JSession getSession()
- public static JLanguage getLanguage()
- public static JDocument getDocument()
- public static JUser getUser()
- public static JCacheController getCache()
- public static JAccess getACL()
- public static JDatabaseDriver getDbo()
- public static JMail getMailer()
- public static mixed getFeedParser()
- public static mixed getXML()
- public static JEditor getEditor()
- public static JUri getURI()
- public static JDate getDate()
- protected static JRegistry createConfig()
- protected static JSession createSession()
- protected static JDatabaseDriver createDbo()
- protected static JMail createMailer()
- protected static JLanguage createLanguage()
- protected static JDocument createDocument()
- public static JStream getStream()
Members
public
- $acl
—
JAccess
Global ACL object - $application
—
JApplicationCms
Global application object - $cache
—
JCache
Global cache object - $config
—
JConfig
Global configuraiton object - $database
—
JDatabaseDriver
Global database object - $dates
—
array
Container for JDate instances - $document
—
JDocument
Global document object - $language
—
JLanguage
Global language object - $mailer
—
JMail
Global mailer object - $session
—
JSession
Global session object
Methods
protected
- createConfig() — Create a configuration object
- createDbo() — Create an database object
- createDocument() — Create a document object
- createLanguage() — Create a language object
- createMailer() — Create a mailer object
- createSession() — Create a session object
public
- getACL() — Get an authorization object
- getApplication() — Get a application object.
- getCache() — Get a cache object
- getConfig() — Get a configuration object
- getDate() — Return the {@link JDate} object
- getDbo() — Get a database object.
- getDocument() — Get a document object.
- getEditor() — Get an editor object.
- getFeedParser() — Get a parsed XML Feed Source
- getLanguage() — Get a language object.
- getMailer() — Get a mailer object.
- getSession() — Get a session object.
- getStream() — Creates a new stream object with appropriate prefix
- getURI() — Return a reference to the {@link JUri} object
- getUser() — Get an user object.
- getXML() — Reads a XML file.