iTx Technologies offre gratuitement
cet espace pour Joomla !

title

Body

[fermer]

/includes/ -> application.php (sommaire)

(aucune description)

Copyright: Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
License: GNU/GPL, see LICENSE.php
Version: $Id: application.php 10912 2008-09-05 19:45:22Z willebil $
Taille du fichier: 377 lignes (9 kb)
Inclus ou requis:0 fois
Réferencé: 0 fois
Inclus or requis: 0 fichiers

Définit la class 1 class

JSite:: (14 methods):
  __construct()
  initialise()
  route()
  dispatch()
  render()
  login()
  authorize()
  getParams()
  getPageParameters()
  getTemplate()
  setTemplate()
  getMenu()
  getPathWay()
  getRouter()


Classe: JSite  - X-Ref

Joomla! Application class

Provide many supporting API functions

__construct($config = array()   X-Ref
Class constructor

param: array An optional associative array of configuration settings.

initialise( $options = array()   X-Ref
Initialise the application.


route()   X-Ref
Route the application


dispatch($component)   X-Ref
Dispatch the application


render()   X-Ref
Display the application.


login($credentials, $options = array()   X-Ref
Login authentication function

param: array     Array( 'username' => string, 'password' => string )
param: array     Array( 'remember' => boolean )

authorize($itemid)   X-Ref
Check if the user can access the application


getParams($option = null)   X-Ref
Get the appliaction parameters

param: string    The component option
return: object    The parameters object

getPageParameters( $option = null )   X-Ref
Get the appliaction parameters

param: string    The component option
return: object    The parameters object

getTemplate()   X-Ref
Get the template

return: string The template name

setTemplate( $template )   X-Ref
Overrides the default template that would be used

param: string The template name

getMenu()   X-Ref
Return a reference to the JPathway object.

return: object JPathway.

getPathWay()   X-Ref
Return a reference to the JPathway object.

return: object JPathway.

getRouter()   X-Ref
Return a reference to the JRouter object.

return: JRouter.



Generé en: Tue Mar 2 18:10:43 2010 | Cross-referenced par PHPXref 0.7