Manual do PHP
Anterior |  | Próxima

# collection->getElem

(no version information, might be only in CVS)

collection->getElem -- Returns value of the element

## Description

mixed collection->getElem ( int index)

Method collection->getElem() returns value of the element with index index (1-based).

collection->getElem() will return `FALSE` if such element doesn't exist; `NULL` if element is `NULL`; string if element is column of a string datatype or number if element is numeric field.

collection->getElem() will return `FALSE` in case of error.

Anterior | Principal | Próxima
collection->assignElem | Acima | collection->max