iTx Technologies offre gratuitement
cet espace pour SugarCRM !

title

Body

[fermer]

/include/MVC/ -> SugarApplication.php (sommaire)

(aucune description)

Taille du fichier: 516 lignes (19 kb)
Inclus ou requis: 2 fois
Réferencé: 1 fois
Inclus ou requis: 4 fichiers
 include/resource/ResourceManager.php
 include/utils/layout_utils.php
 include/MVC/Controller/ControllerFactory.php
 include/MVC/View/ViewFactory.php

Définit la class 1 class

SugarApplication:: (18 methods):
  SugarApplication()
  execute()
  loadUser()
  ACLFilter()
  setupResourceManagement()
  setupPrint()
  preProcess()
  handleOfflineClient()
  handleAccessControl()
  loadLanguages()
  checkDatabaseVersion()
  loadDisplaySettings()
  loadLicense()
  loadGlobals()
  startSession()
  endSession()
  redirect()
  setCookie()


Classe: SugarApplication  - X-Ref

SugarApplication()   X-Ref
Aucune description

execute()   X-Ref
Perform execution of the application. This method is called from index2.php


loadUser()   X-Ref
Load the authenticated user. If there is not an authenticated user then redirect to login screen.


ACLFilter()   X-Ref
Aucune description

setupResourceManagement($module)   X-Ref
setupResourceManagement
This function initialize the ResourceManager and calls the setup method
on the ResourceManager instance.


setupPrint()   X-Ref
Aucune description

preProcess()   X-Ref
Aucune description

handleOfflineClient()   X-Ref
Aucune description

handleAccessControl()   X-Ref
Handles everything related to authorization.


loadLanguages()   X-Ref
Load application wide languages as well as module based languages so they are accessible
from the module.


checkDatabaseVersion()   X-Ref
checkDatabaseVersion
Check the db version sugar_version.php and compare to what the version is stored in the config table.
Ensure that both are the same.


loadDisplaySettings()   X-Ref
Load the themes/images.


loadLicense()   X-Ref
Aucune description

loadGlobals()   X-Ref
Aucune description

startSession()   X-Ref
Aucune description

endSession()   X-Ref
Aucune description

redirect( $url)   X-Ref
Redirect to another URL

param: string    $url    The URL to redirect to

setCookie($name,$value,$expire = 0,$path = '/',$domain = null,$secure = false,$httponly = false)   X-Ref
Wrapper for the PHP setcookie() function, to handle cases where headers have
already been sent




Generé en: Thu Mar 4 09:44:50 2010 | Cross-referenced par PHPXref 0.7