Log message #115151

# At Username Text
# 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',...
# Aug 10th 2008, 09:34 pyite not sure what u mean...
# Aug 10th 2008, 09:33 kalileo return
# Aug 10th 2008, 09:33 kalileo well, you do not capture the data find might f\return
# Aug 10th 2008, 09:33 pyite when i var_dump the code i do have, there's no actual data retrieved in the resulting var
# Aug 10th 2008, 09:33 pyite maybe that's what i'm missing
# Aug 10th 2008, 09:32 pyite what does "fetchData" do? i see that elsewhere in another person's example, with this same scenario
# Aug 10th 2008, 09:31 pyite or should i be using ->data somewhere?
# Aug 10th 2008, 09:30 pyite maybe there is a lame syntatical error somewhere?
# Aug 10th 2008, 09:30 pyite for this method