GalleryStatus addRun(
string
$taskId, int
$timestamp, bool
$success, array
$details
)
|
|
Add a new task run to the maintenance map.
Parameters:
string |
$taskId: |
|
int |
$timestamp: |
when the run happened |
bool |
$success: |
task success/failure |
array |
$details: |
string task details |
API Tags:
array fetchLastRun(
string
$taskId
)
|
|
Return information about the last run of this task.
Parameters:
API Tags:
Return: | GalleryStatus a status code array(runId => int, timestamp => int, success => bool, details => string) |
Fetch all the available maintenance tasks
API Tags:
Return: | GalleryStatus a status code array(taskId => MaintenanceTask, ...) |
void setMaintenanceMode(
$mode
)
|
|
Parameters:
API Tags:
See: | GalleryCoreApi::setMaintenanceMode |