Skip to content

Instantly share code, notes, and snippets.

Last active May 13, 2017 00:31
What would you like to do?
working with collections
$list = $this->Transacciones->find()
$sublist = array_values($lista_orden_id->extract('entidad_id')->toArray());
//LIST IS **NOT** OK: I get values that were already rejected in $list
//question: How can I obtain a $sublist by manipulating $list without resetting the values to the original query?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment