PHP Class Scalr_UI_Controller_Admin_Analytics

Inheritance: extends Scalr_UI_Controller
Mostra file Open project: scalr/scalr

Public Methods

Method Description
hasAccess ( )
xGetPeriodCsvAction ( string $mode, string $startDate, string $endDate, string $type, string $ccId = null, string $projectId = null ) xGetPeriodLogAction
xGetTimelineEventsAction ( string $mode, string $date, string $start, string $end = null, string $ccId = null, string $projectId = null ) Gets events list

Method Details

hasAccess() public method

public hasAccess ( )

xGetPeriodCsvAction() public method

xGetPeriodLogAction
public xGetPeriodCsvAction ( string $mode, string $startDate, string $endDate, string $type, string $ccId = null, string $projectId = null )
$mode string The mode (week, month, quarter, year)
$startDate string The start date of the period in UTC ('Y-m-d')
$endDate string The end date of the period in UTC ('Y-m-d')
$type string Type of the data gathered in log file (farms, clouds, projects)
$ccId string optional The identifier of the cost center
$projectId string optional The identifier of the project

xGetTimelineEventsAction() public method

Gets events list
public xGetTimelineEventsAction ( string $mode, string $date, string $start, string $end = null, string $ccId = null, string $projectId = null )
$mode string Chart mode
$date string The requested date time
$start string Start date of the current period
$end string optional End date of the period
$ccId string optional Cost center id
$projectId string optional Project id