think\paginator\driver\Bootstrap::render PHP 메소드

render() 공개 메소드

渲染分页html
public render ( ) : mixed
리턴 mixed
    public function render()
    {
        if ($this->hasPages()) {
            if ($this->simple) {
                return sprintf('<ul class="pager">%s %s</ul>', $this->getPreviousButton(), $this->getNextButton());
            } else {
                return sprintf('<ul class="pagination">%s %s %s</ul>', $this->getPreviousButton(), $this->getLinks(), $this->getNextButton());
            }
        }
    }