Logs for

Page 432 of 211,274, showing 20 records out of 4,225,461 total, starting on record 8,621, ending on 8,640

# At Username Text
# Aug 10th 2008, 09:23 kalileo pyite: maybe a foreach loop - but I don't really know what you're after
# Aug 10th 2008, 09:23 kalileo the result is an array
# Aug 10th 2008, 09:23 kalileo so you can loop through it
# Aug 10th 2008, 09:23 pyite kalileo: thanks for trying to help... right now, i am trying to retrieve data from within a controller from a model that's not associated with that controller
# Aug 10th 2008, 09:24 pyite kalileo: i've done app::import to include the OTHER model in this particular method, and that worked. then i call find() on the model, that seems to work
# Aug 10th 2008, 09:24 pyite kalileo: but i can't find anything to cycle through the data that is returned by find() from within the controller. doing a foreach works from a VIEW but doesn't seem to work in the controller...
# Aug 10th 2008, 09:25 kalileo pyite: does your target Model have any association withteh Model of the controller?
# Aug 10th 2008, 09:25 pyite if i dump the contents of the returned variable there is a behaviorcontroller in there that prevents me from understanding what's in there...
# Aug 10th 2008, 09:25 pyite kalileo: no it does not
# Aug 10th 2008, 09:25 pyite kalileo: in fact, the model of the controller is nothing basically - the controller i'm working on right now is a function to "Write configuration to disk"
# Aug 10th 2008, 09:25 pyite in order to do that, it needs to read data from ALL other controllers
# Aug 10th 2008, 09:25 kalileo pyite: if you do not get an aeeay as result of your find than you did something wrong
# Aug 10th 2008, 09:25 pyite err sorry
# Aug 10th 2008, 09:26 pyite in order to do that, it needs to read data from ALL other models
# Aug 10th 2008, 09:26 pyite kalileo:i got an array but it seems like it's full of garbage basically..
# Aug 10th 2008, 09:26 kalileo aeeay = array
# Aug 10th 2008, 09:26 pyite can i pastebin?
# Aug 10th 2008, 09:26 pyite it's simple code
# Aug 10th 2008, 09:26 pyite i agree it should work
# Aug 10th 2008, 09:29 pyite http://bin.cakephp.org/view/2007385952