PHP Class Scalr\System\Zmq\Cron\Task\AnalyticsNotifications

Author: N.V.
Inheritance: extends Scalr\System\Zmq\Cron\AbstractTask
Mostra file Open project: scalr/scalr

Public Methods

Method Description
config ( )
enqueue ( )
worker ( $request )

Private Methods

Method Description
changeCloudNames ( array $clouds ) : array Changes clouds name format
getSubjectChildItems ( ProjectEntity | Scalr\Stats\CostAnalytics\Entity\CostCentreEntity $subject, array $childItems, Scalr\Stats\CostAnalytics\QuarterPeriod $date ) : array Gets an array of farms or projects data for notification
saveNotificationData ( ProjectEntity | Scalr\Stats\CostAnalytics\Entity\CostCentreEntity $subject, NotificationEntity $notification, boolean $ifAccountLevel = false ) Saves project or cost center notification
saveReportData ( string $getPeriodicSubjectData, string $subjectEntityName, array $params, array $forecastParams, string $subjectId, string $subjectType, string $emails, string $formatedTitle, string $formatedForecastDate, boolean $ifAccountLevel = false ) Calculates data for reports and saves it
sortItems ( integer $item1, integer $item2 ) : integer Callback sort function

Method Details

config() public method

See also: Scalr\System\Zmq\Cron\AbstractTask::config()
public config ( )

enqueue() public method

See also: Scalr\System\Zmq\Cron\TaskInterface::enqueue()
public enqueue ( )

worker() public method

See also: Scalr\System\Zmq\Cron\TaskInterface::worker()
public worker ( $request )