Class mosMainFrame

Description

Legacy class, derive from JApplication instead

Located in /common/legacy/classes.php (line 26)

JObject
   |
   --JApplication
      |
      --mosMainFrame
Method Summary
 mosMainFrame mosMainFrame (database &$db, string $option, [string $basePath = null], mixed $client)
 mosMainFrame __construct (database &$db, string $option, [string $basePath = null], mixed $client)
 void getBasePath (mixed $client, [boolean $addTrailingSlash = true])
 void getPageTitle ()
 void initSession ()
 void setPageTitle ([mixed $title = null])
Variables
Methods
Constructor mosMainFrame (line 43)

Class constructor

mosMainFrame mosMainFrame (database &$db, string $option, [string $basePath = null], mixed $client)
  • database &$db: A database connection object
  • string $option: The url option [DEPRECATED]
  • string $basePath: The path of the mos directory [DEPRECATED]
Constructor __construct (line 33)

Class constructor

mosMainFrame __construct (database &$db, string $option, [string $basePath = null], mixed $client)
  • database &$db: A database connection object
  • string $option: The url option [DEPRECATED]
  • string $basePath: The path of the mos directory [DEPRECATED]

Redefinition of:
JApplication::__construct()
Class constructor
getBasePath (line 64)

Gets the base path for the client

void getBasePath (mixed $client, [boolean $addTrailingSlash = true])
  • mixed $client: A client identifier
  • boolean $addTrailingSlash: True (default) to add traling slash
getPageTitle (line 102)

Depreacted, use JDocument->getTitle instead or override in your application class

  • since: 1.1
void getPageTitle ()
initSession (line 55)

Initialises 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 mos_sessions table.

void initSession ()
setPageTitle (line 93)

Depreacted, use JDocument->setTitle instead or override in your application class

  • since: 1.1
void setPageTitle ([mixed $title = null])

Inherited Methods

Inherited From JApplication

 JApplication::__construct()
 JApplication::addCustomHeadTag()
 JApplication::addMetaTag()
 JApplication::appendMetaTag()
 JApplication::appendPathWay()
 JApplication::getBaseURL()
 JApplication::getBlogCategoryCount()
 JApplication::getBlogSectionCount()
 JApplication::getBrowser()
 JApplication::getCfg()
 JApplication::getClient()
 JApplication::getContentItemLinkCount()
 JApplication::getCustomPathWay()
 JApplication::getDBO()
 JApplication::getDocument()
 JApplication::getGlobalBlogSectionCount()
 JApplication::getHead()
 JApplication::getItemid()
 JApplication::getLanguage()
 JApplication::getOption()
 JApplication::getPath()
 JApplication::getPathWay()
 JApplication::getStaticContentCount()
 JApplication::getTemplate()
 JApplication::getURI()
 JApplication::getUser()
 JApplication::getUserState()
 JApplication::getUserStateFromRequest()
 JApplication::isAdmin()
 JApplication::isSite()
 JApplication::login()
 JApplication::logout()
 JApplication::prependMetaTag()
 JApplication::registerEvent()
 JApplication::setConfiguration()
 JApplication::setLanguage()
 JApplication::setSession()
 JApplication::setUserState()
 JApplication::triggerEvent()
 JApplication::_createConfiguration()
 JApplication::_createPathWay()
 JApplication::_createSession()

Inherited From JObject

 JObject::__construct()
 JObject::JObject()
 JObject::get()
 JObject::set()
 JObject::toString()
 JObject::__destruct()

Documentation generated on Sat, 4 Feb 2006 14:22:57 +0100 by phpDocumentor 1.3.0RC4