public function render($count = 0)
    {
        $pagination = "";
        $items = $this->navigation($count);
        if ($items) foreach ($items as $page) {
            $pagination .= $this->item($page['page'], $page['url'], $page['label'], $page['class'], $page['current'], false);
        }
        
        $listPropertiesHtml = "";
        foreach ($this->options['list_properties'] as $k => $v) {
            $listPropertiesHtml .= " $k=\"$v\"";
        }
        $html = "<{$this->options['list_tag']}$listPropertiesHtml>{$pagination}</{$this->options['list_tag']}>";
        
        if ($this->options['container_tag']) {
            $containerPropertiesHtml = "";
            foreach ($this->options['container_properties'] as $k => $v) {
                $containerPropertiesHtml .= " $k=\"$v\"";
            }
            $html = "<div$containerPropertiesHtml>
                    $html
                    </div>";
        }
        
        return $html;
    }
public function render($count = 0)
    {
        $pagination = "";
        $items = $this->navigation($count);
        if ($items) foreach ($items as $page) {
            $pagination .= $this->item($page['page'], $page['url'], $page['label'], $page['class'], $page['current'], false);
        }
        
        $listPropertiesHtml = "";
        foreach ($this->options['list_properties'] as $k => $v) {
            $listPropertiesHtml .= " $k=\"$v\"";
        }
        $html = "<{$this->options['list_tag']}$listPropertiesHtml>{$pagination}</{$this->options['list_tag']}>";
        
        if ($this->options['container_tag']) {
            $containerPropertiesHtml = "";
            foreach ($this->options['container_properties'] as $k => $v) {
                $containerPropertiesHtml .= " $k=\"$v\"";
            }
            $html = "<div$containerPropertiesHtml>
                    $html
                    </div>";
        }
        
        return $html;
    }
public function render ( $ count = 0 ) { $ pagination = "" ; $ items = $ this -> navigation ( $ count ) ; if ( $ items ) foreach ( $ items as $ page ) { $ pagination .= $ this -> item ( $ page [ 'page' ] , $ page [ 'url' ] , $ page [ 'label' ] , $ page [ 'class' ] , $ page [ 'current' ] , false ) ; } $ listPropertiesHtml = "" ; foreach ( $ this -> options [ 'list_properties' ] as $ k => $ v ) { $ listPropertiesHtml .= " $k=\"$v\"" ; } $ html = "<{$this->options['list_tag']}$listPropertiesHtml>{$pagination}</{$this->options['list_tag']}>" ; if ( $ this -> options [ 'container_tag' ] ) { $ containerPropertiesHtml = "" ; foreach ( $ this -> options [ 'container_properties' ] as $ k => $ v ) { $ containerPropertiesHtml .= " $k=\"$v\"" ; } $ html = "<div$containerPropertiesHtml>
                    $html
                    </div>" ; } return $ html ; }
Render the paginator in HTML format

@param  int    $count             - The count Items
@return string
<code>
<div class="pagination">
<ul>
<li>1</li>
<li class="active">2</li>
<li>3</li>
<ul>
</div>
</code>
Render the paginator in HTML format