我正在做一个现有的项目。我累了
$params = array(
$this->prefixId.'[cmd]' => 'SINGLE',
$this->prefixId.'[uid]' => intval( $item['uid'] ),
$this->prefixId.'[chash]' => substr( md5( $item['uid'] ), 0, 8 ),
$this->prefixId.'[page]' => $this->GPvars['page'],
);
$link = '<a href="'.str_replace( '&', '&', $this->pi_getPageLink( $this->conf['pidSingle'], '_self', $params ) ).'" target="_self" title="'.$submarks['###SINGLE###'].'">';
$this->pi_getPageLink 没有返回任何内容。
class.tslib_pibase.php 是
function pi_getPageLink($id,$target='',$urlParameters=array()) {
return $this->cObj->getTypoLink_URL($id,$urlParameters,$target);
}