COM printPageNavigation

提供: GeeklogJpWiki

lib-common.php>COM_printPageNavigation

説明

string   COM_printPageNavigation  (string $base_url, int $curpage, int $num_pages, [string $page_str = 'page='], [bool $do_rewrite = false], [string $msg = ''], [string $open_ended = '']) 

Google(tm)ライクなページナビゲーションを表示。

パラメータ

$base_url
base url to use for all generated links
$curpage
current page we are on
$num_pages
Total number of pages
$page_str
page-variable name AND '='
$do_rewrite
if true, url-rewriting is respected
$msg
to be displayed with the navigation
$open_ended
replace next/last links with this

返り値

HTMLフォーマットのウィジェットを返す

個人用ツール