Service/Rackspace/Servers/Image.php

Show: PublicProtectedPrivateinherited
Table of Contents
Zend Framework
LICENSE This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Service_Rackspace  
Subpackage
Servers  

\Zend_Service_Rackspace_Servers_Image

Package: Zend_Service_Rackspace

Constants

>VConstant  ERROR_PARAM_CONSTRUCT = 'You must pass a Zend_Service_Rackspace_Servers object and an array'
>VConstant  ERROR_PARAM_NO_NAME = 'You must pass the image\'s name in the array (name)'
>VConstant  ERROR_PARAM_NO_ID = 'You must pass the image\'s id in the array (id)'

Properties

>VPropertyprotectedstring $created
Created data
Details
Type
string
>VPropertyprotectedstring $id
Id of the image
Details
Type
string
>VPropertyprotectedstring $name
Name of the image
Details
Type
string
>VPropertyprotectedinteger $progress
Status progress
Details
Type
integer
>VPropertyprotectedstring $serverId
Server Id of the image
Details
Type
string
>VPropertyprotected\Zend_Service_Rackspace_Servers $service
The service that has created the image object
>VPropertyprotectedstring $status
Status
Details
Type
string
>VPropertyprotectedstring $updated
Updated data
Details
Type
string

Methods

methodpublic__construct( $service, array $data) : void

Construct

Parameters
NameTypeDescription
$service
$dataarray
methodpublicgetCreated() : string

Get the created data

Returns
TypeDescription
string
methodpublicgetId() : string

Get the image's id

Returns
TypeDescription
string
methodpublicgetName() : string

Get the name of the image

Returns
TypeDescription
string
methodpublicgetProgress() : integer | boolean

Get the progress's status

Returns
TypeDescription
integer | boolean
methodpublicgetServerId() : string

Get the server's id of the image

Returns
TypeDescription
string
methodpublicgetStatus() : string | boolean

Get the image's status

Returns
TypeDescription
string | boolean
methodpublicgetUpdated() : string

Get the updated data

Returns
TypeDescription
string
methodpublictoArray() : array

To Array

Returns
TypeDescription
array
Documentation was generated by phpDocumentor 2.2.0 .