PHP Class Scalr\Farm\Role\FarmRoleStorageDevice

Show file Open project: scalr/scalr Class Usage Examples

Public Properties

Property Type Description
$cloudLocation
$config
$envId
$farmRoleId
$placement
$serverIndex
$status
$storageConfigId
$storageId

Protected Properties

Property Type Description
$db ADODB_mysqli

Public Methods

Method Description
__construct ( )
getByConfigId ( $configId ) : Scalr\Farm\Role\FarmRoleStorageDevice[]
getByConfigIdAndIndex ( $configId, $serverIndex ) : boolean | Scalr\Farm\Role\FarmRoleStorageDevice
getDisks ( )
loadById ( $id ) : Scalr\Farm\Role\FarmRoleStorageDevice
save ( )

Method Details

__construct() public method

public __construct ( )

getByConfigId() public static method

public static getByConfigId ( $configId ) : Scalr\Farm\Role\FarmRoleStorageDevice[]
$configId
return Scalr\Farm\Role\FarmRoleStorageDevice[]

getByConfigIdAndIndex() public static method

public static getByConfigIdAndIndex ( $configId, $serverIndex ) : boolean | Scalr\Farm\Role\FarmRoleStorageDevice
$configId
$serverIndex
return boolean | Scalr\Farm\Role\FarmRoleStorageDevice

getDisks() public method

public getDisks ( )

loadById() public method

public loadById ( $id ) : Scalr\Farm\Role\FarmRoleStorageDevice
return Scalr\Farm\Role\FarmRoleStorageDevice

save() public method

public save ( )

Property Details

$cloudLocation public property

public $cloudLocation

$config public property

public $config

$db protected property

protected ADODB_mysqli $db
return ADODB_mysqli

$envId public property

public $envId

$farmRoleId public property

public $farmRoleId

$placement public property

public $placement

$serverIndex public property

public $serverIndex

$status public property

public $status

$storageConfigId public property

public $storageConfigId

$storageId public property

public $storageId