|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilBuddySystemArrayCollection A collection which contains all entries of a buddy list. More...
Inheritance diagram for ilBuddySystemArrayCollection:
Collaboration diagram for ilBuddySystemArrayCollection:Public Member Functions | |||||||
| __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.
| |||||||
| remove ($key) | |||||||
| |||||||
| removeElement ($element) | |||||||
| |||||||
| containsKey ($key) | |||||||
| |||||||
| getKey ($element) | |||||||
| clear () | |||||||
| Clears the list. More... | |||||||
| contains ($element) | |||||||
| |||||||
| get ($key) | |||||||
| |||||||
| set ($key, $value) | |||||||
| |||||||
| isEmpty () | |||||||
| |||||||
| getKeys () | |||||||
Gets all indices of the collection.
| |||||||
| getValues () | |||||||
Gets all values of the collection.
| |||||||
| filter (Closure $p) | |||||||
Returns all the elements of this collection that satisfy the predicate $callable.
| |||||||
| 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.
| |||||||
| toArray () | |||||||
| add ($element) | |||||||
| Adds an element at the end of the collection. More... | |||||||
| remove ($key) | |||||||
| removeElement ($element) | |||||||
| containsKey ($key) | |||||||
| getKey ($element) | |||||||
| clear () | |||||||
| Clears the list. More... | |||||||
| contains ($element) | |||||||
| get ($key) | |||||||
| set ($key, $value) | |||||||
| isEmpty () | |||||||
| getKeys () | |||||||
| Gets all indices of the collection. More... | |||||||
| getValues () | |||||||
| Gets all values of the collection. More... | |||||||
| filter (Closure $closure) | |||||||
| Returns all the elements of this collection that satisfy the predicate $callable. More... | |||||||
| slice ($offset, $length=null) | |||||||
| Extracts a slice of $length elements starting at position $offset from the Collection. More... | |||||||
| toArray () | |||||||
Private Attributes | |
| $elements = array() | |
Class ilBuddySystemArrayCollection A collection which contains all entries of a buddy list.
Definition at line 11 of file class.ilBuddySystemArrayCollection.php.
| ilBuddySystemArrayCollection::__construct | ( | array | $elements = array() | ) |
| array | $elements |
Definition at line 21 of file class.ilBuddySystemArrayCollection.php.
References $elements.
| ilBuddySystemArrayCollection::add | ( | $element | ) |
Adds an element at the end of the collection.
| mixed | $element |
Implements ilBuddySystemCollection.
Definition at line 83 of file class.ilBuddySystemArrayCollection.php.
Referenced by offsetSet().
Here is the caller graph for this function:| ilBuddySystemArrayCollection::clear | ( | ) |
Clears the list.
Implements ilBuddySystemCollection.
Definition at line 133 of file class.ilBuddySystemArrayCollection.php.
| ilBuddySystemArrayCollection::contains | ( | $element | ) |
| mixed | $element |
Implements ilBuddySystemCollection.
Definition at line 141 of file class.ilBuddySystemArrayCollection.php.
| ilBuddySystemArrayCollection::containsKey | ( | $key | ) |
| string | integer | $key | The index to check for. |
Implements ilBuddySystemCollection.
Definition at line 116 of file class.ilBuddySystemArrayCollection.php.
Referenced by offsetExists().
Here is the caller graph for this function:| ilBuddySystemArrayCollection::count | ( | ) |
Definition at line 75 of file class.ilBuddySystemArrayCollection.php.
References count().
Referenced by count().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBuddySystemArrayCollection::filter | ( | Closure | $p | ) |
Returns all the elements of this collection that satisfy the predicate $callable.
| Closure | $closure |
Implements ilBuddySystemCollection.
Definition at line 189 of file class.ilBuddySystemArrayCollection.php.
| ilBuddySystemArrayCollection::get | ( | $key | ) |
| string | integer | $key | The index of the element to get. |
Implements ilBuddySystemCollection.
Definition at line 149 of file class.ilBuddySystemArrayCollection.php.
| ilBuddySystemArrayCollection::getIterator | ( | ) |
Definition at line 29 of file class.ilBuddySystemArrayCollection.php.
| ilBuddySystemArrayCollection::getKey | ( | $element | ) |
| mixed | $element | The element |
Implements ilBuddySystemCollection.
Definition at line 125 of file class.ilBuddySystemArrayCollection.php.
| ilBuddySystemArrayCollection::getKeys | ( | ) |
Gets all indices of the collection.
Implements ilBuddySystemCollection.
Definition at line 173 of file class.ilBuddySystemArrayCollection.php.
| ilBuddySystemArrayCollection::getValues | ( | ) |
Gets all values of the collection.
Implements ilBuddySystemCollection.
Definition at line 181 of file class.ilBuddySystemArrayCollection.php.
| ilBuddySystemArrayCollection::isEmpty | ( | ) |
Implements ilBuddySystemCollection.
Definition at line 165 of file class.ilBuddySystemArrayCollection.php.
| ilBuddySystemArrayCollection::offsetExists | ( | $offset | ) |
Definition at line 37 of file class.ilBuddySystemArrayCollection.php.
References containsKey().
Here is the call graph for this function:| ilBuddySystemArrayCollection::offsetGet | ( | $offset | ) |
Definition at line 45 of file class.ilBuddySystemArrayCollection.php.
| ilBuddySystemArrayCollection::offsetSet | ( | $offset, | |
| $value | |||
| ) |
Definition at line 53 of file class.ilBuddySystemArrayCollection.php.
References add().
Here is the call graph for this function:| ilBuddySystemArrayCollection::offsetUnset | ( | $offset | ) |
Definition at line 67 of file class.ilBuddySystemArrayCollection.php.
| ilBuddySystemArrayCollection::remove | ( | $key | ) |
| string | integer | $key | The index of the element to remove. |
| InvalidArgumentException |
Implements ilBuddySystemCollection.
Definition at line 91 of file class.ilBuddySystemArrayCollection.php.
References sprintf.
| ilBuddySystemArrayCollection::removeElement | ( | $element | ) |
| mixed | $element | The element to remove. |
| InvalidArgumentException |
Implements ilBuddySystemCollection.
Definition at line 103 of file class.ilBuddySystemArrayCollection.php.
| ilBuddySystemArrayCollection::set | ( | $key, | |
| $value | |||
| ) |
| string | integer | $key | The index of the element to set. |
| mixed | $value |
Implements ilBuddySystemCollection.
Definition at line 157 of file class.ilBuddySystemArrayCollection.php.
| ilBuddySystemArrayCollection::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.
| int | $offset | The offset to start from. |
| int | null | $length | The maximum number of elements to return, or null for no limit. |
Implements ilBuddySystemCollection.
Definition at line 197 of file class.ilBuddySystemArrayCollection.php.
| ilBuddySystemArrayCollection::toArray | ( | ) |
Implements ilBuddySystemCollection.
Definition at line 205 of file class.ilBuddySystemArrayCollection.php.
References $elements.
|
private |
Definition at line 16 of file class.ilBuddySystemArrayCollection.php.
Referenced by __construct(), and toArray().