|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Interface ilBuddySystemCollection. More...
Inheritance diagram for ilBuddySystemCollection:
Collaboration diagram for ilBuddySystemCollection:Public Member Functions | |
| add (mixed $element) | |
| Adds an element at the end of the collection. More... | |
| remove (string|int $key) | |
| removeElement (mixed $element) | |
| containsKey (string|int $key) | |
| getKey (mixed $element) | |
| clear () | |
| Clears the list. More... | |
| contains (mixed $element) | |
| -param T $element More... | |
| get (string|int $key) | |
| set (string|int $key, mixed $value) | |
| isEmpty () | |
| getKeys () | |
| Gets all indices of the collection. More... | |
| getValues () | |
| Gets all values of the collection. More... | |
| filter (callable $callable) | |
| Returns all the elements of this collection that satisfy the predicate $callable. More... | |
| slice (int $offset, int $length=null) | |
| Extracts a slice of $length elements starting at position $offset from the Collection. More... | |
| toArray () | |
| equals (mixed $other) | |
Interface ilBuddySystemCollection.
Definition at line 29 of file interface.ilBuddySystemCollection.php.
| ilBuddySystemCollection::add | ( | mixed | $element | ) |
Adds an element at the end of the collection.
-param T $element
Implemented in ilBuddySystemArrayCollection.
| ilBuddySystemCollection::clear | ( | ) |
Clears the list.
Implemented in ilBuddySystemArrayCollection.
| ilBuddySystemCollection::contains | ( | mixed | $element | ) |
-param T $element
Implemented in ilBuddySystemArrayCollection.
| ilBuddySystemCollection::containsKey | ( | string|int | $key | ) |
| string | int | $key | The index to check for. -param TKey $key |
Implemented in ilBuddySystemArrayCollection.
| ilBuddySystemCollection::equals | ( | mixed | $other | ) |
Implemented in ilBuddySystemArrayCollection.
| ilBuddySystemCollection::filter | ( | callable | $callable | ) |
Returns all the elements of this collection that satisfy the predicate $callable.
Implemented in ilBuddySystemArrayCollection.
Referenced by ilBuddySystemRelationStateFilterRule\getStates().
Here is the caller graph for this function:| ilBuddySystemCollection::get | ( | string|int | $key | ) |
| string | int | $key | The index of the element to get. -param TKey $key -return T|null |
Implemented in ilBuddySystemArrayCollection.
| ilBuddySystemCollection::getKey | ( | mixed | $element | ) |
| mixed | $element | The element -param T $element |
| ilBuddySystemCollection::getKeys | ( | ) |
Gets all indices of the collection.
Implemented in ilBuddySystemArrayCollection.
| ilBuddySystemCollection::getValues | ( | ) |
Gets all values of the collection.
Implemented in ilBuddySystemArrayCollection.
| ilBuddySystemCollection::isEmpty | ( | ) |
Implemented in ilBuddySystemArrayCollection.
| ilBuddySystemCollection::remove | ( | string|int | $key | ) |
| string | int | $key | The index of the element to remove. -param TKey $key |
| InvalidArgumentException |
Implemented in ilBuddySystemArrayCollection.
| ilBuddySystemCollection::removeElement | ( | mixed | $element | ) |
| mixed | $element | The element to remove. -param T $element |
| InvalidArgumentException |
Implemented in ilBuddySystemArrayCollection.
| ilBuddySystemCollection::set | ( | string|int | $key, |
| mixed | $value | ||
| ) |
| string | int | $key | The index of the element to set. -param TKey $key -param T $value |
Implemented in ilBuddySystemArrayCollection.
| ilBuddySystemCollection::slice | ( | int | $offset, |
| int | $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.
| int | $offset | The offset to start from. |
| int | null | $length | The maximum number of elements to return, or null for no limit. |
Implemented in ilBuddySystemArrayCollection.
| ilBuddySystemCollection::toArray | ( | ) |
Implemented in ilBuddySystemArrayCollection.