Zend Framework  1.12
Public Member Functions | List of all members
Zend_Paginator_SerializableLimitIterator Class Reference

Public Member Functions

 __construct (Iterator $it, $offset=0, $count=-1)
 Construct a Zend_Paginator_SerializableLimitIterator.
 
 serialize ()
 
 unserialize ($data)
 
 offsetGet ($offset)
 Returns value of the Iterator.
 
 offsetSet ($offset, $value)
 Does nothing Required by the ArrayAccess implementation.
 
 offsetExists ($offset)
 Determine if a value of Iterator is set and is not NULL.
 
 offsetUnset ($offset)
 Does nothing Required by the ArrayAccess implementation.
 

Constructor & Destructor Documentation

__construct ( Iterator  $it,
  $offset = 0,
  $count = -1 
)

Construct a Zend_Paginator_SerializableLimitIterator.

Parameters
Iterator$itIterator to limit (must be serializable by un-/serialize)
int$offsetOffset to first element
int$countMaximum number of elements to show or -1 for all
See Also
LimitIterator::__construct

Member Function Documentation

offsetExists (   $offset)

Determine if a value of Iterator is set and is not NULL.

Parameters
int$offset
offsetGet (   $offset)

Returns value of the Iterator.

Parameters
int$offset
Returns
mixed
offsetSet (   $offset,
  $value 
)

Does nothing Required by the ArrayAccess implementation.

Parameters
int$offset
mixed$value
offsetUnset (   $offset)

Does nothing Required by the ArrayAccess implementation.

Parameters
int$offset
serialize ( )
Returns
string representation of the instance
unserialize (   $data)
Parameters
string$datarepresentation of the instance