Paginator/Adapter/Null.php
- category
- Zend
- copyright
- Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- license
- http://framework.zend.com/license/new-bsd New BSD License
- package
- Zend_Paginator
- version
- $Id: Null.php 21151 2010-02-23 16:34:14Z matthew $
- Classes
- Zend_Paginator_Adapter_Null
Description
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.
Zend_Paginator_Adapter_Null
- Implements
- Zend_Paginator_Adapter_Interface
- category
- Zend
- copyright
- Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- license
- http://framework.zend.com/license/new-bsd New BSD License
- package
- Zend_Paginator
- Properties
- $_count
- Methods
- __construct
- getItems
- count
Description
Properties
integer $_count = 'null'
Item count
Details
- $_count
- integer
- visibility
- protected
- default
- null
- final
- false
- static
- false
Methods
__construct(
array $count
=
0
)
:
Constructor.
Arguments
- $count
- array
Total item count
Details
- visibility
- public
- final
- false
- static
- false
count(
)
:
integer
Returns the total number of rows in the array.
Details
- visibility
- public
- final
- false
- static
- false
getItems(
integer $offset, integer $itemCountPerPage
)
:
array
Returns an array of items for a page.
Arguments
- $offset
- integer
Page offset
- $itemCountPerPage
- integer
Number of items per page
Details
- visibility
- public
- final
- false
- static
- false