PHP 클래스 MY_Pagination, 68kb

저자: zhangwei
상속: extends CI_Pagination
파일 보기 프로젝트 열기: 68kb/68kb

공개 프로퍼티들

프로퍼티 타입 설명
$cur_tag_close unknown_type Opening HTML tag for pagination string
$cur_tag_open string Opening HTML tag for pagination string
$first_link string Text for link to first page
$last_link string Text for link to last page
$num_links integer Number of links to show in pagination
$offset integer Pagination offset.
$pagination_selector string Pagination selector to be used in URI. Make sure to set this to a value that is never used elsewhere in the URI.

공개 메소드들

메소드 설명
__construct ( )
create_links ( ) : string Generate the pagination links
get_pagination ( integer $total_rows, integer $per_page ) : string Rturn HTML for pagination, based on count ($total_rows) and limit ($per_page)

비공개 메소드들

메소드 설명
_set_pagination_offset ( ) : void Set dynamic pagination variables in $CI->data['pagvars']

메소드 상세

__construct() 공개 메소드

public __construct ( )

get_pagination() 공개 메소드

Rturn HTML for pagination, based on count ($total_rows) and limit ($per_page)
public get_pagination ( integer $total_rows, integer $per_page ) : string
$total_rows integer
$per_page integer
리턴 string

프로퍼티 상세

$cur_tag_close 공개적으로 프로퍼티

Opening HTML tag for pagination string
public unknown_type $cur_tag_close
리턴 unknown_type

$cur_tag_open 공개적으로 프로퍼티

Opening HTML tag for pagination string
public string $cur_tag_open
리턴 string

$offset 공개적으로 프로퍼티

Pagination offset.
public int $offset
리턴 integer

$pagination_selector 공개적으로 프로퍼티

Pagination selector to be used in URI. Make sure to set this to a value that is never used elsewhere in the URI.
public string $pagination_selector
리턴 string