public function getPageRange($start, $end)
	{
		$pages = array();

		for ($page = $start; $page <= $end; $page++)
		{
			// If the current page is equal to the page we're iterating on, we will create a
			// disabled link for that page. Otherwise, we can create a typical active one
			// for the link. We will use this implementing class's methods to get HTML.
			if ($this->currentPage == $page)
			{
				$pages[] = $this->getActivePageWrapper($page);
			}
			else
			{
				$pages[] = $this->getLink($page);
			}
		}

		return implode('', $pages);
	}
public function getPageRange($start, $end)
	{
		$pages = array();

		for ($page = $start; $page <= $end; $page++)
		{
			// If the current page is equal to the page we're iterating on, we will create a
			// disabled link for that page. Otherwise, we can create a typical active one
			// for the link. We will use this implementing class's methods to get HTML.
			if ($this->currentPage == $page)
			{
				$pages[] = $this->getActivePageWrapper($page);
			}
			else
			{
				$pages[] = $this->getLink($page);
			}
		}

		return implode('', $pages);
	}
public function getPageRange ( $ start , $ end ) { $ pages = array ( ) ; for ( $ page = $ start ; $ page <= $ end ; $ page ++ ) { // If the current page is equal to the page we're iterating on, we will create a // disabled link for that page. Otherwise, we can create a typical active one // for the link. We will use this implementing class's methods to get HTML. if ( $ this -> currentPage == $ page ) { $ pages [ ] = $ this -> getActivePageWrapper ( $ page ) ; } else { $ pages [ ] = $ this -> getLink ( $ page ) ; } } return implode ( '' , $ pages ) ; }
Create a range of pagination links.

@param  int  $start
@param  int  $end
@return string
Create a range of pagination links .