Method | Description | |
---|---|---|
addAction ( ) | ||
defaultAction ( ) | ||
editAction ( $projectId = null, $ccId = null ) | ||
hasAccess ( ) | ||
notificationsAction ( string $projectId ) | ||
xGetMovingAverageToDateAction ( string $projectId, string $mode, string $date, string $startDate, string $endDate, string $ccId = null ) | xGetMovingAverageToDateAction | |
xGetPeriodDataAction ( string $projectId, string $mode, string $startDate, string $endDate ) | xGetPeriodDataAction | |
xGetProjectFarmsTopUsageOnDateAction ( string | null $projectId, string $platform, string $mode, string $date, string $start, string $end, string $ccId = null ) | xGetProjectFarmsTopUsageOnDateAction | |
xGetProjectWidgetAccountsAction ( ) | xGetProjectWidgetAccountsAction | |
xListAction ( string $query = null, boolean $showArchived = false ) | xListAction | |
xRemoveAction ( string $projectId ) | xRemoveAction | |
xSaveAction ( string $ccId, string $projectId, string $name, string $description, string $billingCode, string $leadEmail, integer $shared, integer $accountId = null, boolean $checkAccountAccessToCc = true, boolean $grantAccountAccessToCc = false ) | xSaveAction | |
xSaveNotificationsAction ( string $projectId, |
Method | Description | |
---|---|---|
getProjectData ( |
Gets project properties and parameters | |
getProjectsList ( string $query = null, boolean $showArchived = false ) : array | Gets an array of projects' data | |
getWidget ( array $values ) : array | Gets data for dropdown shared type fields on project edbit page | |
getWidgetAccounts ( ) : array | Gets list of accounts for widget |
public notificationsAction ( string $projectId ) | ||
$projectId | string |
public xGetMovingAverageToDateAction ( string $projectId, string $mode, string $date, string $startDate, string $endDate, string $ccId = null ) | ||
$projectId | string | The identifier of the project |
$mode | string | The mode |
$date | string | The UTC date within period ('Y-m-d H:00') |
$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') |
$ccId | string | optional The identifier of the cost center (It is used only when project is null) |
public xGetProjectFarmsTopUsageOnDateAction ( string | null $projectId, string $platform, string $mode, string $date, string $start, string $end, string $ccId = null ) | ||
$projectId | string | null | The identifier of the project |
$platform | string | The cloud platform |
$mode | string | The mode |
$date | string | The UTC date within period ('Y-m-d H:00') |
$start | string | The start date of the period in UTC ('Y-m-d') |
$end | string | The end date of the period in UTC ('Y-m-d') |
$ccId | string | optional The identifier of the cost center (It is used only when project is null) |
public xGetProjectWidgetAccountsAction ( ) |
public xListAction ( string $query = null, boolean $showArchived = false ) | ||
$query | string | optional Search query |
$showArchived | boolean | optional show old archived projects |
public xRemoveAction ( string $projectId ) | ||
$projectId | string | Identifier of the project |
public xSaveAction ( string $ccId, string $projectId, string $name, string $description, string $billingCode, string $leadEmail, integer $shared, integer $accountId = null, boolean $checkAccountAccessToCc = true, boolean $grantAccountAccessToCc = false ) | ||
$ccId | string | |
$projectId | string | |
$name | string | |
$description | string | |
$billingCode | string | |
$leadEmail | string | |
$shared | integer | |
$accountId | integer | optional |
$checkAccountAccessToCc | boolean | optional |
$grantAccountAccessToCc | boolean | optional |
public xSaveNotificationsAction ( string $projectId, |
||
$projectId | string | |
$notifications |