API Documentation

Paginator/Adapter/Array.php

Includes Classes 
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: Array.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Paginator_Adapter_Array

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_Array

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
$_array
$_count
Methods
__construct
getItems
count

Description

Properties

$_array

array $_array = 'null'

Array

Details

$_array
array
visibility
protected
default
null
final
false
static
false

$_count

integer $_count = 'null'

Item count

Details

$_count
integer
visibility
protected
default
null
final
false
static
false

Methods

__construct

__construct( array $array ) :

Constructor.

Arguments
$array
array
Array to paginate
Details
visibility
public
final
false
static
false

count

count( ) : integer

Returns the total number of rows in the array.

Output
integer
Details
visibility
public
final
false
static
false

getItems

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
Output
array
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.