ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ElementList.php
Go to the documentation of this file.
1<?php
2
3namespace Sabre\VObject;
4
5use ArrayIterator;
6use LogicException;
7
18class ElementList extends ArrayIterator {
19
20
21 /* {{{ ArrayAccess Interface */
22
31 function offsetSet($offset, $value) {
32
33 throw new LogicException('You can not add new objects to an ElementList');
34
35 }
36
46 function offsetUnset($offset) {
47
48 throw new LogicException('You can not remove objects from an ElementList');
49
50 }
51
52 /* }}} */
53
54}
An exception for terminatinating execution or to throw for unit testing.
VObject ElementList.
Definition: ElementList.php:18
offsetSet($offset, $value)
Sets an item through ArrayAccess.
Definition: ElementList.php:31
offsetUnset($offset)
Sets an item through ArrayAccess.
Definition: ElementList.php:46