ILIAS  release_5-2 Revision v5.2.25-18-g3f80b82851
ilBuddySystemRelationStateCollection Class Reference

Class ilBuddySystemRelationStateCollection A collection which contains all entries of a buddy list. More...

+ Inheritance diagram for ilBuddySystemRelationStateCollection:
+ Collaboration diagram for ilBuddySystemRelationStateCollection:

Additional Inherited Members

- Public Member Functions inherited from ilBuddySystemArrayCollection
 __construct (array $elements=array())
 
 getIterator ()
 
 offsetExists ($offset)
 
 offsetGet ($offset)
 
 offsetSet ($offset, $value)
 
 offsetUnset ($offset)
 
 count ()
 
 add ($element)
 Adds an element at the end of the collection.
Parameters
mixed$element
More...
 
 remove ($key)
 
Parameters
string | integer$keyThe index of the element to remove.
Exceptions
InvalidArgumentException
More...
 
 removeElement ($element)
 
Parameters
mixed$elementThe element to remove.
Exceptions
InvalidArgumentException
More...
 
 containsKey ($key)
 
Parameters
string | integer$keyThe index to check for.
Returns
boolean true if the collection contains the element, false otherwise.
More...
 
 getKey ($element)
 
 clear ()
 Clears the list. More...
 
 contains ($element)
 
Parameters
mixed$element
Returns
boolean true if the collection contains the element, false otherwise.
More...
 
 get ($key)
 
Parameters
string | integer$keyThe index of the element to get.
Returns
mixed
More...
 
 set ($key, $value)
 
Parameters
string  | integer$keyThe index of the element to set.
mixed$value
More...
 
 isEmpty ()
 
Returns
boolean true if the collection is empty, false otherwise.
More...
 
 getKeys ()
 Gets all indices of the collection.
Returns
array The indices of the collection, in the order of the corresponding elements in the collection.
More...
 
 getValues ()
 Gets all values of the collection.
Returns
array The values of all elements in the collection, in the order they appear in the collection.
More...
 
 filter (Closure $p)
 Returns all the elements of this collection that satisfy the predicate $callable.
Parameters
Closure$closure
Returns
ilBuddySystemCollection
More...
 
 slice ($offset, $length=null)
 Extracts a slice of $length elements starting at position $offset from the Collection.If $length is null it returns all elements from $offset to the end of the Collection. Calling this method will only return the selected slice and NOT change the elements contained in the collection slice is called on.

Parameters
int$offsetThe offset to start from.
int | null$lengthThe maximum number of elements to return, or null for no limit.
Returns
ilBuddySystemCollection
More...
 
 toArray ()
 

Detailed Description

Class ilBuddySystemRelationStateCollection A collection which contains all entries of a buddy list.

Author
Michael Jansen mjans.nosp@m.en@d.nosp@m.ataba.nosp@m.y.de

Definition at line 11 of file class.ilBuddySystemRelationStateCollection.php.


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