src/Notebook.php
public function getByProject($projectId, $includeContent = false)
    {
        $projectId = (int) $projectId;
        if ($projectId <= 0) {
            throw new Exception('Invalid param project_id');
        }
        $includeContent = (bool) $includeContent;
        return $this->rest->get("projects/$projectId/$this->action", [
          'includeContent'=>$includeContent ? 'true' : 'false'
        ]);
    }
public function getByProject($projectId, $includeContent = false)
    {
        $projectId = (int) $projectId;
        if ($projectId <= 0) {
            throw new Exception('Invalid param project_id');
        }
        $includeContent = (bool) $includeContent;
        return $this->rest->get("projects/$projectId/$this->action", [
          'includeContent'=>$includeContent ? 'true' : 'false'
        ]);
    }
public function getByProject ( $ projectId , $ includeContent = false ) { $ projectId = ( int ) $ projectId ; if ( $ projectId <= 0 ) { throw new Exception ( 'Invalid param project_id' ) ; } $ includeContent = ( bool ) $ includeContent ; return $ this -> rest -> get ( "projects/$projectId/$this->action" , [ 'includeContent' => $ includeContent ? 'true' : 'false' ] ) ; }
List Notebooks on a Project

GET /projects/#{project_id}/notebooks.xml

This lets you query the list of notebooks for a project.
By default, the actual notebook HTML content is not returned.
You can pass includeContent=true to return the notebook HTML content with the notebook data

@param int $projectId

@param bool $includeContent

@return \TeamWorkPm\Response\Model
@throws \TeamWorkPm\Exception
List Notebooks on a Project