PHP Class Scalr_UI_Controller_Farms

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

Public Methods

Method Description
buildAction ( )
calcFarmDesignerHash ( )
defaultAction ( )
designerAction ( integer $farmId = null )
dnszonesAction ( )
editAction ( )
extendedInfoAction ( )
getFarmWidget ( $values = [], $options ) TODO: may be move to separated class
getFarmWidgetFarms ( $options )
getFarmWidgetRoles ( $farmId, $options )
getFarmWidgetServers ( $farmRoleId, $options )
getList ( array $filterArgs = [] )
serversAction ( )
vhostsAction ( )
viewAction ( )
xCloneAction ( integer $farmId )
xGetFarmAction ( integer $farmId = null, integer $roleId = null, string $scalrPageHash = null, string $scalrPageUiHash = null )
xGetFarmWidgetRolesAction ( ) todo: restrictAccess check?
xGetFarmWidgetServersAction ( ) todo: restrictAccess check?
xGetOwnerHistoryAction ( integer $farmId )
xGetTerminationDetailsAction ( integer $farmId )
xLaunchAction ( integer $farmId )
xLeaseExtendAction ( )
xListFarmsAction ( integer $farmId = null, integer $expirePeriod = null, boolean $manageable = false, string $owner = null, integer $chefServerId = null, string $projectId = null, integer $status = null )
xLockAction ( integer $farmId, string $comment, string $restrict = '' )
xRemoveAction ( integer $farmId )
xTerminateAction ( integer $farmId, string $deleteDNSZones = '', string $deleteCloudObjects = '', string $unTermOnFail = '', string $forceTerminate = '' )
xUnlockAction ( integer $farmId )

Private Methods

Method Description
getFarmCostData ( $farmId )

Method Details

buildAction() public method

public buildAction ( )

calcFarmDesignerHash() public method

defaultAction() public method

public defaultAction ( )

designerAction() public method

public designerAction ( integer $farmId = null )
$farmId integer

dnszonesAction() public method

public dnszonesAction ( )

editAction() public method

public editAction ( )

extendedInfoAction() public method

public extendedInfoAction ( )

getFarmWidget() public method

TODO: may be move to separated class
public getFarmWidget ( $values = [], $options )

getFarmWidgetFarms() public method

public getFarmWidgetFarms ( $options )

getFarmWidgetRoles() public method

public getFarmWidgetRoles ( $farmId, $options )

getFarmWidgetServers() public method

public getFarmWidgetServers ( $farmRoleId, $options )

getList() public method

public getList ( array $filterArgs = [] )
$filterArgs array

serversAction() public method

public serversAction ( )

vhostsAction() public method

public vhostsAction ( )

viewAction() public method

public viewAction ( )

xCloneAction() public method

public xCloneAction ( integer $farmId )
$farmId integer

xGetFarmAction() public method

public xGetFarmAction ( integer $farmId = null, integer $roleId = null, string $scalrPageHash = null, string $scalrPageUiHash = null )
$farmId integer optional
$roleId integer optional
$scalrPageHash string optional
$scalrPageUiHash string optional

xGetFarmWidgetRolesAction() public method

todo: restrictAccess check?

xGetFarmWidgetServersAction() public method

todo: restrictAccess check?

xGetOwnerHistoryAction() public method

public xGetOwnerHistoryAction ( integer $farmId )
$farmId integer

xGetTerminationDetailsAction() public method

public xGetTerminationDetailsAction ( integer $farmId )
$farmId integer

xLaunchAction() public method

public xLaunchAction ( integer $farmId )
$farmId integer

xLeaseExtendAction() public method

public xLeaseExtendAction ( )

xListFarmsAction() public method

public xListFarmsAction ( integer $farmId = null, integer $expirePeriod = null, boolean $manageable = false, string $owner = null, integer $chefServerId = null, string $projectId = null, integer $status = null )
$farmId integer
$expirePeriod integer
$manageable boolean
$owner string
$chefServerId integer
$projectId string
$status integer

xLockAction() public method

public xLockAction ( integer $farmId, string $comment, string $restrict = '' )
$farmId integer
$comment string
$restrict string

xRemoveAction() public method

public xRemoveAction ( integer $farmId )
$farmId integer

xTerminateAction() public method

public xTerminateAction ( integer $farmId, string $deleteDNSZones = '', string $deleteCloudObjects = '', string $unTermOnFail = '', string $forceTerminate = '' )
$farmId integer
$deleteDNSZones string
$deleteCloudObjects string
$unTermOnFail string
$forceTerminate string

xUnlockAction() public method

public xUnlockAction ( integer $farmId )
$farmId integer