Basic Components - Collection - Key mapping.php 222 Bytes
Newer Older
1 2 3
Sometimes you may not want to use normal indexing for collection elements. For example in
some cases mapping primary keys as collection keys might be useful. The following example
demonstrates how this can be achieved.