#19439176 PageHandler 기능개선

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8014 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
devjin 2011-01-05 05:14:10 +00:00
parent 710e0451c2
commit 74b0a948cd

View file

@ -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), '');
}
}
?>