Subversion Repositories eFlore/Applications.coel-consultation

Rev

Rev 62 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 62 Rev 264
Line 30... Line 30...
30
 * @category   HTML
30
 * @category   HTML
31
 * @package    Pager
31
 * @package    Pager
32
 * @author     Lorenzo Alberton <l dot alberton at quipo dot it>
32
 * @author     Lorenzo Alberton <l dot alberton at quipo dot it>
33
 * @copyright  2003-2006 Lorenzo Alberton
33
 * @copyright  2003-2006 Lorenzo Alberton
34
 * @license    http://www.debian.org/misc/bsd.license  BSD License (3 Clause)
34
 * @license    http://www.debian.org/misc/bsd.license  BSD License (3 Clause)
35
 * @version    CVS: $Id: Sliding.php 62 2010-05-06 13:21:56Z jpm $
35
 * @version    CVS: $Id: Sliding.php 264 2016-12-19 13:27:31Z mathias $
36
 * @link       http://pear.php.net/package/Pager
36
 * @link       http://pear.php.net/package/Pager
37
 */
37
 */
Line 38... Line 38...
38
 
38
 
39
/**
39
/**
Line 61... Line 61...
61
     *
61
     *
62
     * @param array $options    An associative array of option names
62
     * @param array $options    An associative array of option names
63
     *                          and their values
63
     *                          and their values
64
     * @access public
64
     * @access public
65
     */
65
     */
66
    function Pager_Sliding($options = array())
66
    function __construct($options = array())
67
    {
67
    {
68
        //set default Pager_Sliding options
68
        //set default Pager_Sliding options
69
        $this->_delta                 = 2;
69
        $this->_delta                 = 2;
70
        $this->_prevImg               = '&laquo;';
70
        $this->_prevImg               = '&laquo;';
71
        $this->_nextImg               = '&raquo;';
71
        $this->_nextImg               = '&raquo;';
Line 141... Line 141...
141
     * @param integer $pageID Optional pageID. If specified, links
141
     * @param integer $pageID Optional pageID. If specified, links
142
     *                for that page are provided instead of current one.
142
     *                for that page are provided instead of current one.
143
     * @return array back/pages/next/first/last/all links
143
     * @return array back/pages/next/first/last/all links
144
     * @access public
144
     * @access public
145
     */
145
     */
146
    function getLinks($pageID = null)
146
    function getLinks($pageID = null, $next_html = '')
147
    {
147
    {
148
        if ($pageID != null) {
148
        if ($pageID != null) {
149
            $_sav = $this->_currentPage;
149
            $_sav = $this->_currentPage;
150
            $this->_currentPage = $pageID;
150
            $this->_currentPage = $pageID;