public function render($view = null)
	{
		$this->set('pages.ellipsis', false);

		// Build the page navigation list.
		$data = $this->getData();

		$data->prefix    = $this->prefix;
		$data->i         = $this->get('pages.i');
		$data->ellipsis  = $this->get('pages.ellipsis');
		$data->total     = $this->get('pages.total');
		$data->startloop = $this->get('pages.start');
		$data->stoploop  = $this->get('pages.stop');
		$data->current   = $this->get('pages.current');

		if (is_array($view))
		{
			$view = new View($view);
		}

		if (!$view instanceof View)
		{
			$view = new View();
		}
		$view->set('limit', $this->limit)
		     ->set('start', $this->limitstart)
		     ->set('total', $this->total)
		     ->set('pages', $data)
		     ->set('viewall', $this->_viewall)
		     ->set('limits', $this->_limits)
		     ->set('prefix', $this->prefix);

		return $view->loadTemplate();
	}
public function render($view = null)
	{
		$this->set('pages.ellipsis', false);

		// Build the page navigation list.
		$data = $this->getData();

		$data->prefix    = $this->prefix;
		$data->i         = $this->get('pages.i');
		$data->ellipsis  = $this->get('pages.ellipsis');
		$data->total     = $this->get('pages.total');
		$data->startloop = $this->get('pages.start');
		$data->stoploop  = $this->get('pages.stop');
		$data->current   = $this->get('pages.current');

		if (is_array($view))
		{
			$view = new View($view);
		}

		if (!$view instanceof View)
		{
			$view = new View();
		}
		$view->set('limit', $this->limit)
		     ->set('start', $this->limitstart)
		     ->set('total', $this->total)
		     ->set('pages', $data)
		     ->set('viewall', $this->_viewall)
		     ->set('limits', $this->_limits)
		     ->set('prefix', $this->prefix);

		return $view->loadTemplate();
	}
public function render ( $ view = null ) { $ this -> set ( 'pages.ellipsis' , false ) ; // Build the page navigation list. $ data = $ this -> getData ( ) ; $ data -> prefix = $ this -> prefix ; $ data -> i = $ this -> get ( 'pages.i' ) ; $ data -> ellipsis = $ this -> get ( 'pages.ellipsis' ) ; $ data -> total = $ this -> get ( 'pages.total' ) ; $ data -> startloop = $ this -> get ( 'pages.start' ) ; $ data -> stoploop = $ this -> get ( 'pages.stop' ) ; $ data -> current = $ this -> get ( 'pages.current' ) ; if ( is_array ( $ view ) ) { $ view = new View ( $ view ) ; } if ( ! $ view instanceof View ) { $ view = new View ( ) ; } $ view -> set ( 'limit' , $ this -> limit ) -> set ( 'start' , $ this -> limitstart ) -> set ( 'total' , $ this -> total ) -> set ( 'pages' , $ data ) -> set ( 'viewall' , $ this -> _viewall ) -> set ( 'limits' , $ this -> _limits ) -> set ( 'prefix' , $ this -> prefix ) ; return $ view -> loadTemplate ( ) ; }
Return the pagination footer.

@param   object  $view  Optional View object to use
@return  string  Pagination footer.
Return the pagination footer .