Overview

Packages

  • Rdo

Classes

  • Horde_Rdo
  • Horde_Rdo_Base
  • Horde_Rdo_Exception
  • Horde_Rdo_Iterator
  • Horde_Rdo_List
  • Horde_Rdo_Mapper
  • Horde_Rdo_Query
  • Horde_Rdo_Query_Literal
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Rdo_Iterator

Iterator for Horde_Rdo_Base objects that allows relationships and decorated objects to be handled gracefully.

Horde_Rdo_Iterator implements Iterator
Package: Rdo
Category: Horde
Located at Horde/Rdo/Iterator.php
Methods summary
public
# __construct( Horde_Rdo_Base $rdo )

New Horde_Rdo_Iterator for iterating over Rdo objects.

New Horde_Rdo_Iterator for iterating over Rdo objects.

Parameters

$rdo
The object to iterate over
public
# rewind( )

Reset to the first key.

Reset to the first key.

Implementation of

Iterator::rewind()
public mixed
# current( )

Return the current value.

Return the current value.

Returns

mixed
The current value

Implementation of

Iterator::current()
public mixed
# key( )

Return the current key.

Return the current key.

Returns

mixed
The current key

Implementation of

Iterator::key()
public
# next( )

Move to the next key in the iterator.

Move to the next key in the iterator.

Implementation of

Iterator::next()
public boolean
# valid( )

Check array bounds.

Check array bounds.

Returns

boolean
Inside array bounds?

Implementation of

Iterator::valid()
API documentation generated by ApiGen