# |
Jan 30th 2014, 20:20 |
the-neon |
is that array through Containable or a chain find? |
# |
Jan 30th 2014, 20:19 |
BackEndCoder |
why its giving you 0 arrays inside i don't know howeverf |
# |
Jan 30th 2014, 20:19 |
BackEndCoder |
you will have to malipulate it before you push it to the view |
# |
Jan 30th 2014, 20:19 |
the-neon |
yeah |
# |
Jan 30th 2014, 20:19 |
BackEndCoder |
as its clearly not |
# |
Jan 30th 2014, 20:19 |
BackEndCoder |
it will only come out how you would prefer if its all from the same table |
# |
Jan 30th 2014, 20:18 |
BackEndCoder |
it pushes it out with numbers in it when it doesn't know what to call the fields |
# |
Jan 30th 2014, 20:18 |
kerin |
no |
# |
Jan 30th 2014, 20:18 |
BackEndCoder |
yeah are you using a count or something werid ? |
# |
Jan 30th 2014, 20:17 |
kerin |
example :) |
# |
Jan 30th 2014, 20:17 |
kerin |
http://pastebin.com/meRfuiGX |
# |
Jan 30th 2014, 20:17 |
BackEndCoder |
kerin, sorry that was too many big words |
# |
Jan 30th 2014, 20:17 |
the-neon |
both of you actually |
# |
Jan 30th 2014, 20:16 |
the-neon |
thanks mate |
# |
Jan 30th 2014, 20:16 |
the-neon |
haha |
# |
Jan 30th 2014, 20:16 |
BackEndCoder |
ACTION hides |
# |
Jan 30th 2014, 20:16 |
todds |
freakin backendcoder |
# |
Jan 30th 2014, 20:16 |
BackEndCoder |
sweet |
# |
Jan 30th 2014, 20:16 |
the-neon |
HUH. |
# |
Jan 30th 2014, 20:16 |
the-neon |
THAT WORKED. |
# |
Jan 30th 2014, 20:16 |
kerin |
BackEndCoder, the returned array has the columns for each table in my multi-table query in its own sub-array |
# |
Jan 30th 2014, 20:16 |
BackEndCoder |
aye |
# |
Jan 30th 2014, 20:16 |
the-neon |
$this->request->data['CustomerPrice'] then |
# |
Jan 30th 2014, 20:15 |
BackEndCoder |
P |
# |
Jan 30th 2014, 20:15 |
the-neon |
nvm |
# |
Jan 30th 2014, 20:15 |
todds |
your data array |
# |
Jan 30th 2014, 20:15 |
the-neon |
$data? |
# |
Jan 30th 2014, 20:15 |
BackEndCoder |
kerin, columns ? |
# |
Jan 30th 2014, 20:15 |
the-neon |
wait. |
# |
Jan 30th 2014, 20:14 |
the-neon |
i'll try it BackEndCoder |
# |
Jan 30th 2014, 20:14 |
the-neon |
todds, nope |
# |
Jan 30th 2014, 20:14 |
todds |
bahâ?¦ freakin backendcoder |
# |
Jan 30th 2014, 20:14 |
kerin |
is there any way to do a cakephp findAll query and have all columns at the same level |
# |
Jan 30th 2014, 20:14 |
BackEndCoder |
try $this->CustomerPrice->saveAll($data['CustomerPrice']); |
# |
Jan 30th 2014, 20:14 |
todds |
the-neon -- do you have any beforeSave() or beforeValidate() methods? |
# |
Jan 30th 2014, 20:14 |
the-neon |
ACTION hangs on |
# |
Jan 30th 2014, 20:13 |
BackEndCoder |
hang on |
# |
Jan 30th 2014, 20:13 |
BackEndCoder |
it should just insert all of that data |
# |
Jan 30th 2014, 20:13 |
the-neon |
BackEndCoder, there is no validation currently |
# |
Jan 30th 2014, 20:13 |
chris______ |
I'm back now |
# |
Jan 30th 2014, 20:12 |
chris______ |
sorry sorry, I had to go out for a moment |