PHP 클래스 Scalr_UI_Controller_Account2_Analytics_Budgets

상속: extends Scalr_UI_Controller, use trait Scalr\Stats\CostAnalytics\Forecast
파일 보기 프로젝트 열기: scalr/scalr

공개 메소드들

메소드 설명
defaultAction ( )
hasAccess ( )
xGetBudgetInfoAction ( integer $year, string $ccId = null, string $projectId = null ) xGetBudgetInfoAction
xListAction ( string $ccId = null, string $quarter = null, integer $year = null, string $query = null ) xListAction
xSaveAction ( )

보호된 메소드들

메소드 설명
getBudgetInfo ( integer $year, string $ccId = null, string $projectId = null ) Gets budgeted cost for all quarters of specified year

비공개 메소드들

메소드 설명
getCostCenterData ( Scalr\Stats\CostAnalytics\Entity\CostCentreEntity $cc, Scalr\Stats\CostAnalytics\QuarterPeriod $period ) : array Gets budget data for specified CC and period
getNodesList ( $period, $ccId = null, $query = null ) : array Gets the list of the cost centres
getProjectData ( ProjectEntity $projectEntity, Scalr\Stats\CostAnalytics\QuarterPeriod $period, boolean $includeRelationDependentBudget = false ) : array Gets budget data for specified Project and period

메소드 상세

defaultAction() 공개 메소드

public defaultAction ( )

getBudgetInfo() 보호된 메소드

Gets budgeted cost for all quarters of specified year
protected getBudgetInfo ( integer $year, string $ccId = null, string $projectId = null )
$year integer The year
$ccId string optional The identifier of the cost centre or parent cost centre
$projectId string optional The identifier of the project

hasAccess() 공개 메소드

public hasAccess ( )

xGetBudgetInfoAction() 공개 메소드

xGetBudgetInfoAction
public xGetBudgetInfoAction ( integer $year, string $ccId = null, string $projectId = null )
$year integer The year
$ccId string optional The identifier of the cost centre or parent cost centre
$projectId string optional The identifier of the project

xListAction() 공개 메소드

xListAction
public xListAction ( string $ccId = null, string $quarter = null, integer $year = null, string $query = null )
$ccId string optional Identifier of the cost center
$quarter string optional Current Quarter number
$year integer optional Current year
$query string optional Search query

xSaveAction() 공개 메소드

public xSaveAction ( )