任何人都指导我如何从cackephp find
构造数组输出在Mymodel->找到( 任何格式的条件,如sum()或Formatdate()或任何其他方式我得到的字段作为seprate数组与键[0]如何重组?
[0] => Array
(
[Mymodel] => Array
(
[x] => 2014-12-28
)
[0] => Array
(
[y] => 200.00
)
)
[1] => Array
(
[Mymodel] => Array
(
[x] => 2014-12-30
)
[0] => Array
(
[y] => 120.00
)
)
我如何将其合并到
[0] => Array
(
[Mymodel] => Array
(
[x] => 2014-12-28
[y] => 200.00
)
)
[1] => Array
(
[Mymodel] => Array
(
[x] => 2014-12-28
[y] => 200.00
)
)