JApplicationBase class for a Joomla! application
Acts as a Factory class for application specific objects and provides many supporting API functions.
Located in /application/application.php (line 28)
JObject | --JApplication
| Class | Description |
|---|---|
mosMainFrame
|
Legacy class, derive from JApplication instead |
jdatabase
&getDBO
([string $host = null], [string $user = null], [string $password = null], [string $db = null], [string $dbprefix = null], [string $dbtype = null], [string $debug = null])
void
getItemid
(mixed $id, [mixed $typed = 1], [mixed $link = 1], [mixed $bs = 1], [mixed $bc = 1], [mixed $gbs = 1])
string
$_baseURL
= null (line 84)
The url of the application
integer
$_client
= null (line 52)
The client identifier
string
$_lang
= null (line 60)
A string holding the active language
object JPathWay
$_pathway
= null (line 44)
The pathway store
object JRegistry
$_registry
= null (line 68)
Application persistent store
JModelSession
$_session
= null (line 36)
The current session
object JModelUser
$_user
= null (line 76)
The active user object
Class constructor
Depreacted, use JDocument->addCustomTag instead
Depreacted, use JDocument->setMetadata instead
Depreacted, use JDocument->setMetadata instead
Depreceated, use JPathWay->addItem() method instead
Depreacted, use JApplicationHelper::getBlogCategoryCount instead
Depreacted, use JApplicationHelper::getBlogSectionCount instead
Gets a configuration value
Depreacted, use JApplicationHelper::getContentItemLinkCount instead
Depreceated, use JPathWay->getNamePathWay() method instead
Return a reference to a JDatabase instance
Depreacted, use JApplicationHelper::getGlobalBlogSectionCount instead
Depreacted, use JApplicationHelper::getItemid instead
Depreacted, use JApplicationHelper::getPath instead
Depreacted, use JApplicationHelper::getStaticContentCount instead
Gets a user state
Gets the value of a user state variable
Login authentication function
Username and encoded password are passed the the onLoginUser event who is responsible for the user validation. A successful validation updates the current session record with the users details.
Logout authentication function
Passed the current user information to the onLogoutUser event and reverts the current session record back to 'anonymous' parameters
Depreacted, use JDocument->setMetadata instead
Registers a handler to a particular event group
Set the configuration
Set the application language
Set the user session
Sets the value of a user state variable
Calls all handlers associated with an event group
Create the configuration registry
Create a JPathWay object and set the home/component items of the pathway
Create the user session
Old sessions are flushed based on the configuration value for the cookie lifetime. If an existing session, then the last access time is updated. If a new session, a session id is generated and a record is created in the #__sessions table.
Inherited From JObject
JObject::__construct()
JObject::JObject()
JObject::get()
JObject::set()
JObject::toString()
JObject::__destruct()
Documentation generated on Sat, 4 Feb 2006 14:22:37 +0100 by phpDocumentor 1.3.0RC4