# |
Aug 10th 2008, 09:38 |
pyite |
wow thats a fuckin horrid mistake |
# |
Aug 10th 2008, 09:38 |
lobaman |
thanks adj |
# |
Aug 10th 2008, 09:38 |
pyite |
and am just foreach() the model |
# |
Aug 10th 2008, 09:38 |
pyite |
i don't have the results returned |
# |
Aug 10th 2008, 09:38 |
pyite |
you're right |
# |
Aug 10th 2008, 09:38 |
kalileo |
Hi lobaman |
# |
Aug 10th 2008, 09:38 |
pyite |
oh wait |
# |
Aug 10th 2008, 09:38 |
kalileo |
even then it would be nonsense to use the same name for a var and an object |
# |
Aug 10th 2008, 09:38 |
pyite |
i removed a line and i must have clipped the next line,. that's lame |
# |
Aug 10th 2008, 09:37 |
pyite |
let me try pasting again, sorry |
# |
Aug 10th 2008, 09:37 |
pyite |
i suck |
# |
Aug 10th 2008, 09:37 |
pyite |
haha i trimmed it in the pastebin |
# |
Aug 10th 2008, 09:37 |
pyite |
oh |
# |
Aug 10th 2008, 09:37 |
pyite |
kalileo: yes i do |
# |
Aug 10th 2008, 09:37 |
kalileo |
pyite: you do _not_ have $extensions = $extensions->find('all'.... in your code!!!! |
# |
Aug 10th 2008, 09:37 |
pyite |
kalileo: point me somewhere to read maybe, if u dont wanna explain. i just don't know where to go to learn the answer to this one.... |
# |
Aug 10th 2008, 09:37 |
foxmask |
can someone help me with a HABTM with 3 tables ? http://bin.cakephp.org/view/178077399 |
# |
Aug 10th 2008, 09:37 |
lobaman |
yo kalileo |
# |
Aug 10th 2008, 09:37 |
adj |
#php |
# |
Aug 10th 2008, 09:36 |
lobaman |
can anyone type {sharp}php cause my sharp key is broken. :D |
# |
Aug 10th 2008, 09:36 |
pyite |
) |
# |
Aug 10th 2008, 09:36 |
pyite |
true |
# |
Aug 10th 2008, 09:36 |
kalileo |
hmmm it seems that you have no understanding of how a method returns it result |
# |
Aug 10th 2008, 09:36 |
pyite |
i don't see how $extensions = $extensions->find('all'.... and $data = $extensions->find('all"... is different? |
# |
Aug 10th 2008, 09:36 |
pyite |
and it has some extended functionality? |
# |
Aug 10th 2008, 09:35 |
pyite |
hmmm are you implying i use the $data variable provided by the controller, that's the issue? |
# |
Aug 10th 2008, 09:35 |
adj |
very little sleep |
# |
Aug 10th 2008, 09:35 |
adj |
heh. i've been caked out all weekend |
# |
Aug 10th 2008, 09:35 |
kalileo |
$data = $extensions->find('all',... |
# |
Aug 10th 2008, 09:35 |
kalileo |
as shown above |
# |
Aug 10th 2008, 09:35 |
pyite |
is that fetchData()? |
# |
Aug 10th 2008, 09:35 |
pyite |
so how do i capture the data result then, sorry for a newb question |
# |
Aug 10th 2008, 09:35 |
kalileo |
how can it be used by the foreach in your code? |
# |
Aug 10th 2008, 09:35 |
pyite |
it's usually done for me by the time i get to a view |
# |
Aug 10th 2008, 09:34 |
pyite |
so i have a misunderstanding in how this works |
# |
Aug 10th 2008, 09:34 |
pyite |
ahh |
# |
Aug 10th 2008, 09:34 |
kalileo |
then you try to loop through the model object |
# |
Aug 10th 2008, 09:34 |
pyite |
it's used in the foreach(), no? |
# |
Aug 10th 2008, 09:34 |
kalileo |
your data result goes to nowhereland |
# |
Aug 10th 2008, 09:34 |
pyite |
that doesn't capture the returned data? |
# |
Aug 10th 2008, 09:34 |
kalileo |
$data = $extensions->find('all',... |