PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » HTML » Pager » Bug #3350

path or _url error with getLinks or _setOptions

Details

Submitted2005-02-01 17:23 UTC
Fromfabio at bs2 dot com dot br
Assignedquipo
StatusClosed
PackagePager
PHP VersionIrrelevant
Roadmaps(Not assigned)

Comments

[2005-02-01 17:23 UTC] fabio at bs2 dot com dot br

Description:
------------
when you configure append to false the function _setOptions set the _url property($this->_url) without '/' and you call the function getLinks return the href in a tag without '/'. In application that I use the Pager I expect the link "templates.bs2.local/manager.fr.php?pageId=1" and the link returned by getLinks in 2.2.5 is "templates.bs2.localmanager.fr.php?pageId=1" in version 2.2.4 the function getLinks return "templates.bs2.local/manager.fr.php?pageId=1"

[2005-02-01 17:52 UTC] fabio at bs2 dot com dot br

returning this notice
Notice Undefined index: currentPage
1128 : /dados/shares/webdev/pear/pear/pager/common.php
1128 : /dados/shares/webdev/pear/pear/pager/common.php _setoptions
60 : /dados/shares/webdev/pear/pear/pager/sliding.php pager_sliding->_setoptions
167 : /dados/shares/webdev/pear/pear/pager/pager.php pager_sliding->pager_sliding
32 : _includes/paginacao.action.php pager::factory
1 : paginacao.fr.php require_once

[2005-02-01 17:54 UTC] fabio at bs2 dot com dot br

but the link is ok