Prado\Data\SqlMap\TSqlMapGateway::queryForPagedList PHP Метод

queryForPagedList() публичный Метод

Executes the SQL and retuns a subset of the results in a dynamic TPagedList that can be used to automatically scroll through results from a database table.
public queryForPagedList ( $statementName, $parameter = null, $pageSize = 10, $page ) : TPagedList
Результат TPagedList A PaginatedList of beans containing the rows.
    public function queryForPagedList($statementName, $parameter = null, $pageSize = 10, $page = 0)
    {
        $statement = $this->getSqlMapManager()->getMappedStatement($statementName);
        return new TSqlMapPagedList($statement, $parameter, $pageSize, null, $page);
    }