Translations of this page:

The class api_provider manages for service.php the instantiating and managing of the in services.inc.php defined services. The most important methods are getObject(serviceName) and setObject(serviceName, object)

getObject(serviceName)

Returns the matching instance to the desired service. If it does not jet exist, it will be instatiated with the in services.inc.php defined parameters. service.php will use the returned object to execute the concrete method on it.

setObject(serviceName, Objekt)

Saves the instance for this service after a method-call. This is done to save eventually changed state variables of the service-object by the method-call.

 
en/dev/api_provider.txt · Last modified: 10.12.2007 17:59 by kaegi
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki