iTx Technologies offre gratuitement
cet espace pour SugarCRM !

title

Body

[fermer]

/include/resource/ -> ResourceManager.php (sommaire)

(aucune description)

Taille du fichier: 153 lignes (5 kb)
Inclus ou requis: 3 fois
Réferencé: 1 fois
Inclus ou requis: 2 fichiers
 include/resource/Observers/WebResourceObserver.php
 include/resource/Observers/SoapResourceObserver.php

Définit la class 1 class

ResourceManager:: (5 methods):
  ResourceManager()
  getInstance()
  setup()
  notifyObservers()
  getObservers()


Classe: ResourceManager  - X-Ref

ResourceManager.php
This class is responsible for resource management of SQL queries, file usage, etc.

ResourceManager()   X-Ref
The constructor; declared as private


getInstance()   X-Ref
getInstance
Singleton method to return static instance of ResourceManager

return: The static singleton ResourceManager instance

setup($module)   X-Ref
setup
Handles determining the appropriate setup based on client type.
It will create a SoapResourceObserver instance if the $module parameter is set to
'Soap'; otherwise, it will try to create a WebResourceObserver instance.

param: $module The module value used to create the corresponding observer
return: boolean value indicating whether or not an observer was successfully setup

notifyObservers($msg)   X-Ref
notifyObservers
This method notifies the registered observers with the provided message.

param: $msg Message from language file to notify observers with

getObservers()   X-Ref
Aucune description



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