mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
#19439176 PageHandler 기능개선
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8014 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
710e0451c2
commit
74b0a948cd
1 changed files with 5 additions and 0 deletions
|
|
@ -53,5 +53,10 @@
|
|||
if($this->point > $this->page_count || $page > $this->last_page) $page = 0;
|
||||
return $page;
|
||||
}
|
||||
|
||||
function getPage($offset)
|
||||
{
|
||||
return max(min($this->cur_page + $offset, $this->total_page), '');
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue