reindex ()

Reindexes the array, starting from zero.

Access

public

Returns

Type

Description

CFArray

A new CFArray object with indexes starting at zero.

Source

Method defined in utilities/array.class.php | Toggle source view (4 lines) | View on GitHub

public function reindex()
{
    return new CFArray(array_values($this->getArrayCopy()));
}

Copyright © 2010–2013 Amazon Web Services, LLC


Feedback