src/Asana/Resources/Gen/TasksBase.php
public function findByProject($projectId, $params = array(), $options = array())
    {
        $path = sprintf("/projects/%s/tasks", $projectId);
        return $this->client->getCollection($path, $params, $options);
    }
public function findByProject($projectId, $params = array(), $options = array())
    {
        $path = sprintf("/projects/%s/tasks", $projectId);
        return $this->client->getCollection($path, $params, $options);
    }
public function findByProject ( $ projectId , $ params = array ( ) , $ options = array ( ) ) { $ path = sprintf ( "/projects/%s/tasks" , $ projectId ) ; return $ this -> client -> getCollection ( $ path , $ params , $ options ) ; }
Returns the compact task records for all tasks within the given project,
ordered by their priority within the project.

@param  projectId The project in which to search for tasks.
@return response
Returns the compact task records for all tasks within the given project ordered by their priority within the project .