The ServicesAbstract class defines the public static methods used by users.
Located in /harmoni/core/services/Services.abstract.php (line 18)
ServicesInterface | --ServicesAbstract
Class | Description |
---|---|
Services | The Services class handles starting, stopping, registering, etc of any available services. |
Create an alias from one service name to another.
Returns the service object associated with reference name $name.
Returns the services object.
Register's an object as a service.
Registers a new service named $name. Upon starting, a new class of type $class will be instantiated.
The Require Service function checks for required service availability.
The function first checks for service availabilty, and then attempts to start the service if it's available. If either action fails, it stops script execution. If $start=false then the function will only check for availability.
Attempts to restart the service reference by $name.
Checks if the service referenced by $name is available for use.
Checks if the service referenced by $name has been started.
Cycles through all registered services and attempts to start them.
Attempts to start the manager referenced by $name. The manager must extend OsidManager And assign its context and configuration.
Attempts to start the service referenced by $name.
Attempts to stop all running services.
Attempts to stop the service reference by $name.
Inherited From ServicesInterface
ServicesInterface::available()
ServicesInterface::get()
ServicesInterface::getService()
ServicesInterface::getServices()
ServicesInterface::register()
ServicesInterface::registerObject()
ServicesInterface::registerObjectAsService()
ServicesInterface::registerService()
ServicesInterface::requireService()
ServicesInterface::restart()
ServicesInterface::restartService()
ServicesInterface::running()
ServicesInterface::serviceAvailable()
ServicesInterface::serviceRunning()
ServicesInterface::start()
ServicesInterface::startAll()
ServicesInterface::startAllServices()
ServicesInterface::startService()
ServicesInterface::stop()
ServicesInterface::stopAll()
ServicesInterface::stopAllServices()
ServicesInterface::stopService()
Documentation generated on Wed, 19 Sep 2007 10:26:24 -0400 by phpDocumentor 1.3.0RC3