PHP Class Scalr\Farm\Role\FarmRoleStorageDevice

Mostrar archivo 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_oe property

public $cloudLocation

$config public_oe property

public $config

$db protected_oe property

protected ADODB_mysqli $db
return ADODB_mysqli

$envId public_oe property

public $envId

$farmRoleId public_oe property

public $farmRoleId

$placement public_oe property

public $placement

$serverIndex public_oe property

public $serverIndex

$status public_oe property

public $status

$storageConfigId public_oe property

public $storageConfigId

$storageId public_oe property

public $storageId