File: src/Pagination/Renderer.php

Recommend this page to a friend!
  Classes of Thierry Feuzeu  >  Jaxon Sentry  >  src/Pagination/Renderer.php  >  Download  
File: src/Pagination/Renderer.php
Role: Class source
Content type: text/plain
Description: Class source
Class: Jaxon Sentry
Common classes for Jaxon based Ajax applications
Author: By
Last change: Edited the pagination rendering.
Date: 3 years ago
Size: 881 bytes
 

Contents

Download
<?php

/**
 * Renderer.php - Paginator renderer
 *
 * Render pagination links.
 *
 * @package jaxon-sentry
 * @author Thierry Feuzeu <thierry.feuzeu@gmail.com>
 * @copyright 2016 Thierry Feuzeu <thierry.feuzeu@gmail.com>
 * @license https://opensource.org/licenses/BSD-3-Clause BSD 3-Clause License
 * @link https://github.com/jaxon-php/jaxon-sentry
 */

namespace Jaxon\Sentry\Pagination;

class
Renderer extends \Jaxon\Utils\Pagination\Renderer
{
   
/**
     * Render a pagination template
     *
     * @param string $sTemplate The name of template to be rendered
     * @param string $aVars The template vars
     *
     * @return string The template content
     */
   
protected function _render($sTemplate, array $aVars = array())
    {
        return
jaxon()->sentry()->getViewRenderer()->render($sTemplate, $aVars);
    }
}


For more information send a message to info at phpclasses dot org.