You are here

public function Collection::getKeys in Plug 7

Gets all keys/indices of the collection.

Return value

array The keys/indices of the collection, in the order of the corresponding elements in the collection.

2 methods override Collection::getKeys()
AbstractLazyCollection::getKeys in lib/doctrine/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php
Gets all keys/indices of the collection.
ArrayCollection::getKeys in lib/doctrine/collections/lib/Doctrine/Common/Collections/ArrayCollection.php
Gets all keys/indices of the collection.

File

lib/doctrine/collections/lib/Doctrine/Common/Collections/Collection.php, line 127

Class

Collection
The missing (SPL) Collection/Array/OrderedMap interface.

Namespace

Doctrine\Common\Collections

Code

public function getKeys();