PHP Manual
Prev |  | Next

# collection->assignElem

(no version information, might be only in CVS)

collection->assignElem -- Assigns a value to the element of the collection

## Description

bool collection->assignElem ( int index, mixed value)

Assigns a value to the element with index `index`. Parameter `value` can be a string or a number.

Returns `TRUE` on success or `FALSE` on failure.

Prev | Home | Next
collection->assign | Up | collection->getElem