Exemplo n.º 1
0
 /**
  * Return all times that are assigned to the task_list
  *
  * @param ProjectTaskList $task
  * @return array
  */
 static function getTimeByTaskList(ProjectTaskList $task)
 {
     return self::findAll(array('conditions' => array('`task_list_id` = ? ', $task->getId()), 'order' => '`done_date`'));
     // findAll
 }