Add cumulative flow diagram

This commit is contained in:
Frédéric Guillot
2014-11-16 20:51:59 -05:00
parent 4494566fc7
commit 8bf50d6a7f
30 changed files with 643 additions and 12 deletions

View File

@@ -0,0 +1,28 @@
<?php
namespace Event;
/**
* Project daily summary listener
*
* @package event
* @author Frederic Guillot
*/
class ProjectDailySummaryListener extends Base
{
/**
* Execute the action
*
* @access public
* @param array $data Event data dictionary
* @return bool True if the action was executed or false when not executed
*/
public function execute(array $data)
{
if (isset($data['project_id'])) {
return $this->projectDailySummary->updateTotals($data['project_id'], date('Y-m-d'));
}
return false;
}
}