14 public function add($element);
20 public function remove(
$key);
38 public function getKey($element);
43 public function clear();
55 public function get(
$key);
61 public function set(
$key, $value);
95 public function slice($offset, $length = null);
Interface ilBuddySystemCollection.
slice($offset, $length=null)
Extracts a slice of $length elements starting at position $offset from the Collection.
getKeys()
Gets all indices of the collection.
getValues()
Gets all values of the collection.
filter(Closure $closure)
Returns all the elements of this collection that satisfy the predicate $callable. ...
add($element)
Adds an element at the end of the collection.