PHP Class Scalr\Modules\Platforms\AbstractAwsPlatformModule

Inheritance: extends Scalr\Modules\AbstractPlatformModule
Show file Open project: scalr/scalr Class Usage Examples

Public Methods

Method Description
getLocations ( Scalr_Environment $environment = null ) : Scalr_Environment Gets the list of available locations
getLocationsByAccountType ( string $accountType = null ) : array Gets list of locations by account type or all locations if account type is not set

Method Details

getLocations() public method

Gets the list of available locations
public getLocations ( Scalr_Environment $environment = null ) : Scalr_Environment
$environment Scalr_Environment
return Scalr_Environment Returns the list of available locations looks like array(location => description)

getLocationsByAccountType() public method

Gets list of locations by account type or all locations if account type is not set
public getLocationsByAccountType ( string $accountType = null ) : array
$accountType string optional Aws Account type
return array