ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Sabre\VObject\ElementList Class Reference

VObject ElementList. More...

+ Inheritance diagram for Sabre\VObject\ElementList:
+ Collaboration diagram for Sabre\VObject\ElementList:

Public Member Functions

 offsetSet ($offset, $value)
 Sets an item through ArrayAccess. More...
 
 offsetUnset ($offset)
 Sets an item through ArrayAccess. More...
 

Detailed Description

VObject ElementList.

This class represents a list of elements. Lists are the result of queries, such as doing $vcalendar->vevent where there's multiple VEVENT objects.

Author
Evert Pot (http://evertpot.com/) http://sabre.io/license/ Modified BSD License

Definition at line 18 of file ElementList.php.

Member Function Documentation

◆ offsetSet()

Sabre\VObject\ElementList::offsetSet (   $offset,
  $value 
)

Sets an item through ArrayAccess.

Parameters
int$offset
mixed$value
Returns
void

Definition at line 31 of file ElementList.php.

31  {
32 
33  throw new LogicException('You can not add new objects to an ElementList');
34 
35  }

◆ offsetUnset()

Sabre\VObject\ElementList::offsetUnset (   $offset)

Sets an item through ArrayAccess.

This method just forwards the request to the inner iterator

Parameters
int$offset
Returns
void

Definition at line 46 of file ElementList.php.

46  {
47 
48  throw new LogicException('You can not remove objects from an ElementList');
49 
50  }

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