db
Collection Interface Reference

Inherits IteratorAggregate.

Inherited by ListCollection, and SetCollection.

Public Member Functions

 add ($element)
 
 addAll ($c)
 
 clear ()
 
 contains ($o)
 
 containsAll ($c)
 
 isEmpty ()
 
 removeElement ($o)
 
 removeAll ($c)
 
 retainAll ($c)
 
 size ()
 
 toArray ()
 

Detailed Description

Obdba java.util.Collection implementujivci IteratorAggregate z php coz je equivalent Iterable

dalsi minspirace http://www.doctrine-project.org/api/common/2.1/class-Doctrine.Common.Collections.Collection.html#_map

Member Function Documentation

◆ add()

add (   $element)
Parameters
mixed$e
Returns
boolean

Implemented in OrderedSet.

◆ addAll()

addAll (   $c)

prida vsechny

Parameters
Collection | array$c
Returns
boolean

Implemented in ArrayList, and OrderedSet.

◆ clear()

clear ( )

odstrani vsechny prvky

Implemented in ArrayList, and OrderedSet.

◆ contains()

contains (   $o)
Parameters
mixed$oobsahuje element
bool$strictIf 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

Implemented in ArrayList, and OrderedSet.

◆ containsAll()

containsAll (   $c)
Parameters
Collection | array$c
Returns
boolean

Implemented in ArrayList, and OrderedSet.

◆ isEmpty()

isEmpty ( )
Returns
boolean

Implemented in ArrayList, and OrderedSet.

◆ removeAll()

removeAll (   $c)
Parameters
Collection | array$c
Returns
boolean

Implemented in ArrayList, and OrderedSet.

◆ removeElement()

removeElement (   $o)

odstrani dany element

Parameters
type$o
Returns
boolean

Implemented in ArrayList, and OrderedSet.

◆ retainAll()

retainAll (   $c)
Parameters
Collection | array$c
Returns
boolean

Implemented in ArrayList, and OrderedSet.

◆ size()

size ( )
Returns
int

Implemented in ArrayList, and OrderedSet.

◆ toArray()

toArray ( )
Returns
array Description

Implemented in ArrayList, and OrderedSet.


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