|
OpenMediaVault
0.6 (Kralizec)
The open network attached storage solution
|
Public Member Functions | |
| __construct ($status) | |
| getPid () | |
| isRunning () | |
| hasError () | |
| getError () | |
| hasOutputFilename () | |
| getOutputFilename () | |
| get ($key) | |
| set ($key, $value) | |
Public Member Functions inherited from OMVObject | |
| __construct () | |
| getLastError () | |
Additional Inherited Members | |
Protected Member Functions inherited from OMVObject | |
| setLastError ($error) | |
| debug () | |
Helper class to handle the background process status.
| OMVRpcBgStatus::__construct | ( | $status | ) |
Constructor
| status | An array of status informations. |
| OMVRpcBgStatus::get | ( | $key | ) |
Helper method to access the status fields.
| key | The name of the status field. |
| OMVRpcBgStatus::getError | ( | ) |
Get the error object.
| OMVRpcBgStatus::getOutputFilename | ( | ) |
Get the name of the temporary file that contains the output of the background job.
| OMVRpcBgStatus::getPid | ( | ) |
Get the PID of the background process.
| OMVRpcBgStatus::hasError | ( | ) |
Check whether the background process is has thrown an error.
| OMVRpcBgStatus::hasOutputFilename | ( | ) |
Check whether the background process output is written to a temporary file.
| OMVRpcBgStatus::isRunning | ( | ) |
Check whether the background process is running.
| OMVRpcBgStatus::set | ( | $key, | |
| $value | |||
| ) |
Helper method to set the status fields.
| key | The name of the status field. |
| value | The value of the status field. |
1.8.6