Inherits ListCollection.
Description of ArrayList
- Author
- drymld
◆ __construct()
| __construct |
( |
|
$elements = [], |
|
|
|
$class = NULL |
|
) |
| |
- Parameters
-
| Collection | array | class | $elements | elementy seznamu nebo trida, ktara se ma v seznamu ukladat |
| class | $class | trida, ktara se ma v seznamu ukladat |
◆ add()
| add |
( |
|
$e, |
|
|
|
$index = FALSE |
|
) |
| |
Appends the specified element to the end of this list (optional operation). pokud je nastaven $index Inserts the specified element at the specified position in this list (optional operation). a posune zbytek
- Parameters
-
| mixed | $e | |
| int | $name | na ktery index se ma pridat |
- Returns
- boolean
Implements ListCollection.
◆ addAll()
prida vsechny
- Parameters
-
- Returns
- boolean
Implements Collection.
◆ clear()
◆ contains()
- Parameters
-
| 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. |
- Returns
- boolean
Implements Collection.
◆ containsAll()
◆ get()
vrati prvek na indexu nebo vyvola vyjimku pokud je index mimo pole
- Parameters
-
Implements ListCollection.
◆ getIterator()
◆ indexOf()
- Parameters
-
- Returns
- int|FALSE vraci int pokud najde FALSE pokud nenajde
Implements ListCollection.
◆ isEmpty()
◆ lastIndexOf()
- Parameters
-
- Returns
- int|FALSE vraci int pokud najde FALSE pokud nenajde
Implements ListCollection.
◆ outOfIndex()
◆ remove()
odstrani prvek na indexu
- Parameters
-
- Returns
- boolean
Implements ListCollection.
◆ removeAll()
◆ removeElement()
odstrani dany element
- Parameters
-
- Returns
- boolean
Implements Collection.
◆ retainAll()
◆ set()
Replaces the element at the specified position in this list with the specified element (optional operation).
- Returns
- mixed the element previously at the specified position
Implements ListCollection.
◆ size()
◆ subList()
| subList |
( |
|
$fromIndex, |
|
|
|
$toIndex |
|
) |
| |
◆ toArray()
◆ $class
◆ $elements
The documentation for this class was generated from the following file: