protected function getTaskData($taskId)
    {
        $task             = $this->getTask($taskId);
        $result['id']     = $this->getTaskId($task);
        $result['status'] = $this->getTaskStatus($task);
        $result['report'] = $this->getTaskReport($task);

        return $result;
    }
protected function getTaskData($taskId)
    {
        $task             = $this->getTask($taskId);
        $result['id']     = $this->getTaskId($task);
        $result['status'] = $this->getTaskStatus($task);
        $result['report'] = $this->getTaskReport($task);

        return $result;
    }
protected function getTaskData ( $ taskId ) { $ task = $ this -> getTask ( $ taskId ) ; $ result [ 'id' ] = $ this -> getTaskId ( $ task ) ; $ result [ 'status' ] = $ this -> getTaskStatus ( $ task ) ; $ result [ 'report' ] = $ this -> getTaskReport ( $ task ) ; return $ result ; }
Template method to generate task data to be returned to the end user.
@param string $taskId
@return array
Template method to generate task data to be returned to the end user .