OpenMediaVault  0.6 (Kralizec)
The open network attached storage solution
 All Classes Functions Variables Groups Pages
Public Member Functions | List of all members
OMVModuleServiceAbstract Class Reference
Inheritance diagram for OMVModuleServiceAbstract:
OMVModuleAbstract OMVIModuleService OMVObject

Public Member Functions

 shouldApply ()
 
 shouldStart ()
 
 startBefore ()
 
 shouldStop ()
 
 stopAfter ()
 
 applyConfig ()
 
 stopService ()
 
 startService ()
 
- Public Member Functions inherited from OMVModuleAbstract
 getName ()
 
 setDirty ()
 
 setDirtyByName ($name)
 
 isDirty ()
 
- Public Member Functions inherited from OMVObject
 __construct ()
 
 getLastError ()
 

Additional Inherited Members

- Protected Member Functions inherited from OMVModuleAbstract
 exec ($command, &$output=NULL)
 
 getAdminContext ()
 
 addTask ($id, $name, $params)
 
 execTasks ($id)
 
- Protected Member Functions inherited from OMVObject
 setLastError ($error)
 
 debug ()
 

Detailed Description

A module class that implements the default methods defined by the OMVIModuleService interface.

Member Function Documentation

OMVModuleServiceAbstract::applyConfig ( )

Generate the configuration.

Implements OMVIModuleService.

OMVModuleServiceAbstract::shouldApply ( )

Defines the modules that if present should build their configuration before the service provided by this module.

Returns
An array of modules.

Implements OMVIModuleService.

OMVModuleServiceAbstract::shouldStart ( )

Defines the modules that if present should start before the service provided by this module.

Returns
An array of modules.

Implements OMVIModuleService.

OMVModuleServiceAbstract::shouldStop ( )

Defines the modules that if present should be stopped after the service provided by this module.

Returns
An array of modules.

Implements OMVIModuleService.

OMVModuleServiceAbstract::startBefore ( )

Defines the modules that if present should start after the service provided by this module.

Returns
An array of modules.

Implements OMVIModuleService.

OMVModuleServiceAbstract::startService ( )

Start the managed service.

Implements OMVIModuleService.

OMVModuleServiceAbstract::stopAfter ( )

Defines the modules that if present should stop before the service provided by this module.

Returns
An array of modules.

Implements OMVIModuleService.

OMVModuleServiceAbstract::stopService ( )

Stop the managed service.

Implements OMVIModuleService.


The documentation for this class was generated from the following file: