JApplication/1.5

From Joomla! Documentation
< JApplication
Revision as of 16:14, 17 April 2011 by Doxiki2 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

[Edit Descripton] JApplication is the base class for a Joomla Application. It acts as a Factory class for application specific objects and provides many supporting API functions. Derived clases should supply the route(), dispatch() and render() functions.

Defined in

libraries/joomla/application/application.php

Subpackage

Application

Extends

JObject

Extended by

Methods

Method name Description
__construct Class constructor.
_createConfiguration Create the configuration registry.
_createSession Create the user session.
addCustomHeadTag Deprecated, use JDocument->addCustomTag instead (only when document type is HTML).
addMetaTag Deprecated, use JDocument->setMetaData instead.
appendMetaTag Deprecated, use JDocument->setMetaData instead.
appendPathWay Deprecated functions.
close Exit the application.
dispatch Dispatch the applicaiton.
enqueueMessage Enqueue a system message.
getBasePath Deprecated, use instead.
getBlogCategoryCount Deprecated.
getBlogSectionCount Deprecated.
getCfg
getClientId Gets the client id of the current running application.
getContentItemLinkCount Deprecated.
getCustomPathWay Deprecated, use JPathway->getPathWayNames() method instead.
getGlobalBlogSectionCount Deprecated.
getHead Deprecated, use JDocument->get( 'head' ) instead.
getInstance Returns a reference to the global object, only creating it if it doesn't already exist.
getItemid Deprecated, use ContentHelper::getItemid instead.
getMenu Return a reference to the application object.
getMessageQueue Get the system message queue.
getName Method to get the application name.
getPageTitle Deprecated, use instead.
getPath Deprecated, use instead.
getPathway Return a reference to the application object.
getRouter Return a reference to the application object.
getStaticContentCount Deprecated.
getTemplate Gets the name of the current template.
getUser Deprecated, use instead.
getUserState Gets a user state.
getUserStateFromRequest Gets the value of a user state variable.
initialise Initialise the application.
isAdmin Is admin interface?
isSite Is site interface?
login Login authentication function.
logout Logout authentication function.
prependMetaTag Deprecated, use JDocument->setMetaData instead.
redirect Redirect to another URL.
render Render the application.
route Route the application.
setPageTitle Deprecated, use instead.
setUserState Sets the value of a user state variable.
registerEvent Registers a handler to a particular event group.
triggerEvent Calls all handlers associated with an event group.

Importing

jimport( 'joomla.application.application' );

See also

[Edit See Also]

See Also

Examples

<CodeExamplesForm />


Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox