0

这是我的分页链接:

<div class="paging" style="margin-bottom:0px;">
    <div class="paging_right" style="margin-bottom:0px;">
    <?php echo $this->paginator->prev('<< '.__('previous', true), array('url'=>array('action'=>'ViewMember/ticket')), null, array('class'=>'disabled'));?>
    |<?php echo $this->paginator->numbers(array('url'=>array('action'=>'ViewMember/ticket'),'pagecnt'=>$ticketcount,'pagenum'=>$pagenumticket));?>  
    <?php echo $this->paginator->next(__('next', true).' >>', array('url'=>array('action'=>'ViewMember/ticket')), null, array('class'=>'disabled'));?>          
    </div>
    </div>

这是点击链接时的网址:

http://localhost/mysite/TestController/ViewMember/ticket/page:2

但我想要这样的网址:

http://localhost/mysite/TestController/ViewMember/ticket/page:2/#tinfo

我怎样才能做到这一点?

4

0 回答 0