fuel/fuel/core/classes/pagination.php
public function next($marker = null)
	{
		$html = '';

		$marker === null and $marker = $this->template['next-marker'];

		if ($this->config['total_pages'] > 1)
		{
			if ($this->config['calculated_page'] == $this->config['total_pages'])
			{
				$html = str_replace(
				    '{link}',
				    str_replace(array('{uri}', '{page}'), array('#', $marker), $this->template['next-inactive-link']),
				    $this->template['next-inactive']
				);
				$this->raw_results['next'] = array('uri' => '#', 'title' => $marker, 'type' => 'next-inactive');
			}
			else
			{
				$next_page = $this->config['calculated_page'] + 1;

				$html = str_replace(
				    '{link}',
				    str_replace(array('{uri}', '{page}'), array($this->_make_link($next_page), $marker), $this->template['next-link']),
				    $this->template['next']
				);
				$this->raw_results['next'] = array('uri' => $this->_make_link($next_page), 'title' => $marker, 'type' => 'next');
			}
		}

		return $html;
	}
public function next($marker = null)
	{
		$html = '';

		$marker === null and $marker = $this->template['next-marker'];

		if ($this->config['total_pages'] > 1)
		{
			if ($this->config['calculated_page'] == $this->config['total_pages'])
			{
				$html = str_replace(
				    '{link}',
				    str_replace(array('{uri}', '{page}'), array('#', $marker), $this->template['next-inactive-link']),
				    $this->template['next-inactive']
				);
				$this->raw_results['next'] = array('uri' => '#', 'title' => $marker, 'type' => 'next-inactive');
			}
			else
			{
				$next_page = $this->config['calculated_page'] + 1;

				$html = str_replace(
				    '{link}',
				    str_replace(array('{uri}', '{page}'), array($this->_make_link($next_page), $marker), $this->template['next-link']),
				    $this->template['next']
				);
				$this->raw_results['next'] = array('uri' => $this->_make_link($next_page), 'title' => $marker, 'type' => 'next');
			}
		}

		return $html;
	}
public function next ( $ marker = null ) { $ html = '' ; $ marker === null and $ marker = $ this -> template [ 'next-marker' ] ; if ( $ this -> config [ 'total_pages' ] > 1 ) { if ( $ this -> config [ 'calculated_page' ] == $ this -> config [ 'total_pages' ] ) { $ html = str_replace ( '{link}' , str_replace ( array ( '{uri}' , '{page}' ) , array ( '#' , $ marker ) , $ this -> template [ 'next-inactive-link' ] ) , $ this -> template [ 'next-inactive' ] ) ; $ this -> raw_results [ 'next' ] = array ( 'uri' => '#' , 'title' => $ marker , 'type' => 'next-inactive' ) ; } else { $ next_page = $ this -> config [ 'calculated_page' ] + 1 ; $ html = str_replace ( '{link}' , str_replace ( array ( '{uri}' , '{page}' ) , array ( $ this -> _make_link ( $ next_page ) , $ marker ) , $ this -> template [ 'next-link' ] ) , $ this -> template [ 'next' ] ) ; $ this -> raw_results [ 'next' ] = array ( 'uri' => $ this -> _make_link ( $ next_page ) , 'title' => $ marker , 'type' => 'next' ) ; } } return $ html ; }
Pagination "Next" link

@param	string $value optional text to display in the link

@return	string	Markup for the 'next' page number link
Pagination Next link