Inherits SetCollection.
Public Member Functions | |
| __construct ($elements=[], $class=NULL) | |
| add ($e) | |
| addAll ($c) | |
| clear () | |
| contains ($o) | |
| containsAll ($c) | |
| getIterator () | |
| isEmpty () | |
| removeAll ($c) | |
| removeElement ($o) | |
| retainAll ($c) | |
| size () | |
| toArray () | |
Protected Attributes | |
| $elements = [] | |
| $class = NULL | |
Mnozina ktera je reprezentovana serazenym polem
| __construct | ( | $elements = [], |
|
$class = NULL |
|||
| ) |
| Collection | array | class | $elements | elementy seznamu nebo trida, ktara se ma v seznamu ukladat |
| class | $class | trida, ktara se ma v seznamu ukladat |
| add | ( | $element | ) |
| addAll | ( | $c | ) |
| clear | ( | ) |
odstrani vsechny prvky
Implements Collection.
| contains | ( | $o | ) |
| mixed | $o | obsahuje element |
| bool | $strict | If the second parameter strict is set to TRUE then the in_array() function will also check the types of the needle in the haystack. |
Implements Collection.
| containsAll | ( | $c | ) |
| getIterator | ( | ) |
| isEmpty | ( | ) |
Implements Collection.
| removeAll | ( | $c | ) |
| removeElement | ( | $o | ) |
| retainAll | ( | $c | ) |
| size | ( | ) |
Implements Collection.
| toArray | ( | ) |
Implements Collection.
|
protected |
|
protected |
kolekce ulozenych prvku