Documentation

目次

前のトピックへ

< Class Phalcon\Mvc\View\Simple

次のトピックへ

Class Phalcon\Paginator\Adapter\NativeArray >

このページ

Class Phalcon\Paginator\Adapter\Model

implements Phalcon\Paginator\AdapterInterface

This adapter allows to paginate data using a Phalcon\Mvc\Model resultset as base

Methods

public __construct (array $config)

Phalcon\Paginator\Adapter\Model constructor

public setCurrentPage (int $page)

Set the current page number

public stdClass getPaginate ()

Returns a slice of the resultset to show in the pagination