PHP Класс Scalr_UI_Controller_Account2_Analytics_Budgets

Наследование: extends Scalr_UI_Controller, use trait Scalr\Stats\CostAnalytics\Forecast
Показать файл Открыть проект

Открытые методы

Метод Описание
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 ( )