public function getTasks($tasks, $throwException = false)
    {
        $data = $this->query($throwException);

        $ret = [];
        foreach ($tasks as $task) {
            $ret[$task->getId()] = $this->formatTask($task, $data);
        }

        return $ret;
    }
public function getTasks($tasks, $throwException = false)
    {
        $data = $this->query($throwException);

        $ret = [];
        foreach ($tasks as $task) {
            $ret[$task->getId()] = $this->formatTask($task, $data);
        }

        return $ret;
    }
public function getTasks ( $ tasks , $ throwException = false ) { $ data = $ this -> query ( $ throwException ) ; $ ret = [ ] ; foreach ( $ tasks as $ task ) { $ ret [ $ task -> getId ( ) ] = $ this -> formatTask ( $ task , $ data ) ; } return $ ret ; }
Returns live informations about some tasks.

@param liveTask[]  $tasks
@param boolean $throwException

@return array
Returns live informations about some tasks .