code: public function PaginatedList() {
  		$posts = new PaginatedList($this->blogPosts);
  
  		// If pagination is set to '0' then no pagination will be shown.
  		if($this->PostsPerPage > 0) $posts->setPageLength($this->PostsPerPage);
  		else $posts->setPageLength($this->getBlogPosts()->count());
  
  		$start = $this->request->getVar($posts->getPaginationGetVar());
  		$posts->setPageStart($start);
  
  		return $posts;
  	}
docs: Returns a list of paginated blog posts based on the blogPost dataList
  
  @return PaginatedList