Log in
Protected Member Functions
Backup Class Reference
Description
Renders a backup.
Protected Member Functions
_render
($backup)
Renders a backup.
More...
Member Function Documentation
_render
(
$backup
)
protected
Renders a backup.
{
"date"
:
"2012-01-10T15:23:19-05:00"
,
"status"
:
"1"
,
"percentComplete"
:
"100"
,
"file"
: {
"name"
:
"2012-01-10_16:11:28-Nutshell-backup.zip"
,
"size"
:
"152533"
,
// in bytes
"mime"
:
"application/zip"
,
"uri"
:
"http://app01.nutshell.com/file/api/424"
}
}
Possible values for the "status" key:
0 = STATUS_NEW
1 = STATUS_COMPLETE
2 = STATUS_FAILURE
Returns
array