Elgg  Version 1.11
Public Member Functions | List of all members
Elgg\Structs\ArrayCollection Class Reference
Inheritance diagram for Elgg\Structs\ArrayCollection:
Elgg\Structs\Collection

Public Member Functions

 __construct (array $items=array())
 Constructor. More...
 
 contains ($item)
 
 count ()
 
 current ()
 
 filter (callable $filter)
 
 key ()
 
 map (callable $mapper)
 
 next ()
 
 rewind ()
 
 valid ()
 

Detailed Description

Definition at line 15 of file ArrayCollection.php.

Constructor & Destructor Documentation

Elgg\Structs\ArrayCollection::__construct ( array  $items = array())

Constructor.

Parameters
array$itemsThe set of items in the collection

Definition at line 24 of file ArrayCollection.php.

Member Function Documentation

Elgg\Structs\ArrayCollection::contains (   $item)

Implements Elgg\Structs\Collection.

Definition at line 29 of file ArrayCollection.php.

Elgg\Structs\ArrayCollection::count ( )

Definition at line 34 of file ArrayCollection.php.

Elgg\Structs\ArrayCollection::current ( )

Definition at line 39 of file ArrayCollection.php.

Elgg\Structs\ArrayCollection::filter ( callable  $filter)

Implements Elgg\Structs\Collection.

Definition at line 44 of file ArrayCollection.php.

Elgg\Structs\ArrayCollection::key ( )

Definition at line 57 of file ArrayCollection.php.

Elgg\Structs\ArrayCollection::map ( callable  $mapper)

Implements Elgg\Structs\Collection.

Definition at line 62 of file ArrayCollection.php.

Elgg\Structs\ArrayCollection::next ( )

Definition at line 71 of file ArrayCollection.php.

Elgg\Structs\ArrayCollection::rewind ( )

Definition at line 76 of file ArrayCollection.php.

Elgg\Structs\ArrayCollection::valid ( )

Definition at line 81 of file ArrayCollection.php.


The documentation for this class was generated from the following file: