gyro/core/lib/interfaces/ipageradapter.cls.php
Go to the documentation of this file.00001 <?php 00002 /** 00003 * Adapter for pager to extract and set page from URL 00004 * 00005 * @author Gerd Riesselmann 00006 * @ingroup Interfaces 00007 */ 00008 interface IPagerAdapter { 00009 /** 00010 * Return current page 00011 * 00012 * @param PageData $page_data 00013 * @return int 00014 */ 00015 public function get_current_page(); 00016 00017 /** 00018 * Compute url for page 00019 * 00020 * @param int $page 00021 * @return Url 00022 */ 00023 public function get_url_for_page($page); 00024 }