PHP Class Scalr_UI_Controller_Servers_Import

Inheritance: extends Scalr_UI_Controller
Datei anzeigen Open project: scalr/scalr

Protected Properties

Property Type Description
$allowedPlatforms array List of allowed platforms

Public Methods

Method Description
checkStatus ( string $platform, string $cloudLocation, array $ids, integer $roleId = null ) : array
defaultAction ( string $platform, string $cloudLocation, JsonData $ids, integer $roleId = null )
hasAccess ( )
xCheckStatusAction ( string $platform, string $cloudLocation, JsonData $ids, integer $roleId = null )
xImportAction ( string $platform, string $instanceId, integer $farmRoleId, JsonData $tags )

Method Details

checkStatus() public method

public checkStatus ( string $platform, string $cloudLocation, array $ids, integer $roleId = null ) : array
$platform string Name of platform
$cloudLocation string Name of location
$ids array The list of the identifiers of the cloud instances
$roleId integer optional Identifier of Role
return array

defaultAction() public method

public defaultAction ( string $platform, string $cloudLocation, JsonData $ids, integer $roleId = null )
$platform string
$cloudLocation string
$ids Scalr\UI\Request\JsonData
$roleId integer optional

hasAccess() public method

See also: Scalr_UI_Controller::hasAccess()
public hasAccess ( )

xCheckStatusAction() public method

public xCheckStatusAction ( string $platform, string $cloudLocation, JsonData $ids, integer $roleId = null )
$platform string
$cloudLocation string
$ids Scalr\UI\Request\JsonData
$roleId integer optional

xImportAction() public method

public xImportAction ( string $platform, string $instanceId, integer $farmRoleId, JsonData $tags )
$platform string Name of platform
$instanceId string The identifier of the cloud instance
$farmRoleId integer The identifier of farmRole
$tags Scalr\UI\Request\JsonData Additional tags

Property Details

$allowedPlatforms protected_oe property

List of allowed platforms
protected array $allowedPlatforms
return array