Interface ilBuddySystemCollection.  
 More...
◆ add()
      
        
          | ilBuddySystemCollection::add  | 
          ( | 
            | 
          $element | ) | 
           | 
        
      
 
 
◆ clear()
      
        
          | ilBuddySystemCollection::clear  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ contains()
      
        
          | ilBuddySystemCollection::contains  | 
          ( | 
            | 
          $element | ) | 
           | 
        
      
 
 
◆ containsKey()
      
        
          | ilBuddySystemCollection::containsKey  | 
          ( | 
            | 
          $key | ) | 
           | 
        
      
 
- Parameters
 - 
  
    | string | int | $key | The index to check for.  | 
  
   
- Returns
 - bool true if the collection contains the element, false otherwise. 
 
Implemented in ilBuddySystemArrayCollection.
 
 
◆ equals()
      
        
          | ilBuddySystemCollection::equals  | 
          ( | 
            | 
          $other | ) | 
           | 
        
      
 
 
◆ filter()
      
        
          | ilBuddySystemCollection::filter  | 
          ( | 
          callable  | 
          $callable | ) | 
           | 
        
      
 
Returns all the elements of this collection that satisfy the predicate $callable. 
- Parameters
 - 
  
  
 
- Returns
 - self 
 
Implemented in ilBuddySystemArrayCollection.
 
 
◆ get()
      
        
          | ilBuddySystemCollection::get  | 
          ( | 
            | 
          $key | ) | 
           | 
        
      
 
 
◆ getKey()
      
        
          | ilBuddySystemCollection::getKey  | 
          ( | 
            | 
          $element | ) | 
           | 
        
      
 
 
◆ getKeys()
      
        
          | ilBuddySystemCollection::getKeys  | 
          ( | 
           | ) | 
           | 
        
      
 
Gets all indices of the collection. 
- Returns
 - array The indices of the collection, in the order of the corresponding elements in the collection. 
 
Implemented in ilBuddySystemArrayCollection.
 
 
◆ getValues()
      
        
          | ilBuddySystemCollection::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. 
 
Implemented in ilBuddySystemArrayCollection.
 
 
◆ isEmpty()
      
        
          | ilBuddySystemCollection::isEmpty  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ remove()
      
        
          | ilBuddySystemCollection::remove  | 
          ( | 
            | 
          $key | ) | 
           | 
        
      
 
 
◆ removeElement()
      
        
          | ilBuddySystemCollection::removeElement  | 
          ( | 
            | 
          $element | ) | 
           | 
        
      
 
 
◆ set()
      
        
          | ilBuddySystemCollection::set  | 
          ( | 
            | 
          $key,  | 
        
        
           | 
           | 
            | 
          $value  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ slice()
      
        
          | 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. 
- Parameters
 - 
  
    | int | $offset | The offset to start from.  | 
    | int | null | $length | The maximum number of elements to return, or null for no limit.  | 
  
   
- Returns
 - self 
 
Implemented in ilBuddySystemArrayCollection.
 
 
◆ toArray()
      
        
          | ilBuddySystemCollection::toArray  | 
          ( | 
           | ) | 
           | 
        
      
 
 
The documentation for this interface was generated from the following file: