first commit
This commit is contained in:
14
autoload/front/view/class.Globelus.php
Normal file
14
autoload/front/view/class.Globelus.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
namespace front\view;
|
||||
class Globelus
|
||||
{
|
||||
public static function pager( $link, $count_pages, $current_page, $query_string = '' )
|
||||
{
|
||||
$tpl = new \Tpl;
|
||||
$tpl -> link = $link;
|
||||
$tpl -> count_pages = $count_pages;
|
||||
$tpl -> current_page = $current_page;
|
||||
$tpl -> query_string = $query_string;
|
||||
return $tpl -> render( 'globelus/pager' );
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user