Add new analytic page: Average time spent into each column

This commit is contained in:
Frederic Guillot
2015-07-05 21:22:31 -04:00
parent bb8b4c0e36
commit 663a1c20e6
11 changed files with 254 additions and 46 deletions

View File

@@ -39,13 +39,13 @@ class Transition extends Base
}
/**
* Get average time spent by task for each column
* Get time spent by task for each column
*
* @access public
* @param integer $task_id
* @return array
*/
public function getAverageTimeSpentByTask($task_id)
public function getTimeSpentByTask($task_id)
{
return $this->db
->hashtable(self::TABLE)