PHP Class Scalr\Model\Entity\RoleImage

Since: 5.0 (07.08.2014)
Author: Igor Vodiasov ([email protected])
Inheritance: extends Scalr\Model\AbstractEntity
Mostra file Open project: scalr/scalr Class Usage Examples

Public Properties

Property Type Description
$cloudLocation integer
$id integer ID
$imageId string
$platform integer
$roleId string

Public Methods

Method Description
getImage ( ) : Image | null
isUsed ( ) : boolean Check whether the Role is used in any farm

Method Details

getImage() public method

Deprecation: Use method FarmRole::getImage
public getImage ( ) : Image | null
return Image | null

isUsed() public method

Check whether the Role is used in any farm
public isUsed ( ) : boolean
return boolean Returns true if the Role is used in some farm or false otherwise

Property Details

$cloudLocation public_oe property

public int $cloudLocation
return integer

$id public_oe property

ID
public int $id
return integer

$imageId public_oe property

public string $imageId
return string

$platform public_oe property

public int $platform
return integer

$roleId public_oe property

public string $roleId
return string