Log message #107886

# At Username Text
# Aug 7th 2008, 00:35 TonkaTruck Eddie_CRO: One of the things I tried before reading the contain test cases was nesting them, yes...heh. But no...think of it more like "beautify"
# Aug 7th 2008, 00:35 polerin TonkaTruck: heheh
# Aug 7th 2008, 00:35 polerin that kind of array nesting makes reading function calls a PITA
# Aug 7th 2008, 00:35 polerin it works in find, but if you're doing it that deep I would reccomend using model->contain or assigning it to a variable first
# Aug 7th 2008, 00:35 TonkaTruck polerin: Yes...but in the docs it seems more like "we're working hard to contain the fire on the third floor"
# Aug 7th 2008, 00:34 Eddie_CRO polerin, Tonka: It seems interesting. So i have to nest contains. Does it work in ->find or i have to use model->Contain?
# Aug 7th 2008, 00:34 polerin TonkaTruck: think of it more along the lines of "I want my results to contain this information"
# Aug 7th 2008, 00:34 batcoder-7 objective C is just apples little modification to the language
# Aug 7th 2008, 00:34 TonkaTruck Eddie_CRO: I was a bit confused semantically on the use of the word contain. It's either "I contained my wide array" or "my array contains..." I prefer to think of it as the latter.
# Aug 7th 2008, 00:34 chrysanthemum I have fun with PHP, i feel like C would be a drudgery
# Aug 7th 2008, 00:33 chrysanthemum maybe someday
# Aug 7th 2008, 00:33 chrysanthemum becuase I want to do some stuff for my iPhone
# Aug 7th 2008, 00:33 polerin Eddie_CRO: did you see what I meen about where to put the first snippit?
# Aug 7th 2008, 00:33 batcoder-7 non*
# Aug 7th 2008, 00:33 chrysanthemum i know, i've been wanting to learn objective C
# Aug 7th 2008, 00:33 batcoder-7 start with a nin dynamic langauge
# Aug 7th 2008, 00:33 polerin I need to get back to work
# Aug 7th 2008, 00:33 polerin anyway
# Aug 7th 2008, 00:32 batcoder-7 its the heart of your computer chrysanthemum
# Aug 7th 2008, 00:32 chrysanthemum ..... what's wrong with java?
# Aug 7th 2008, 00:32 TonkaTruck That was too big for hugeurl.com
# Aug 7th 2008, 00:32 polerin declare ALL your variables at the top of your program
# Aug 7th 2008, 00:32 batcoder-7 polerin: sure even pascal
# Aug 7th 2008, 00:32 TonkaTruck Eddie_CRO: http://groups.google.com/group/cake-php/browse_thread/thread/b395251c90627fef/664db413bdd2fe45?lnk=gstandq=complex+contain#664db413bdd2fe45
# Aug 7th 2008, 00:32 polerin you should start with PASCAL!
# Aug 7th 2008, 00:32 batcoder-7 going from PHP to C is much harer then vice versa
# Aug 7th 2008, 00:32 polerin batcoder-7: BOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
# Aug 7th 2008, 00:32 chrysanthemum why C?
# Aug 7th 2008, 00:32 polerin sorry, take off one )
# Aug 7th 2008, 00:32 batcoder-7 you should start off with something like C
# Aug 7th 2008, 00:32 polerin so 'contains' => array('Item'=>array('User' =>array ('the group stuff I posted earlier in here))))
# Aug 7th 2008, 00:31 chrysanthemum batcoder-7: not really... i learned qBasic in 4th grade... recently i've messed with java and python.. but PHP is my favorite, and the one i'm most knowledgable with
# Aug 7th 2008, 00:31 Eddie_CRO is that a bug? :)
# Aug 7th 2008, 00:31 TonkaTruck Eddie_CRO: Hang on I posted this in the cake-php group on google.
# Aug 7th 2008, 00:31 Eddie_CRO is it possible?
# Aug 7th 2008, 00:31 polerin I'm assuming 'group' is in the correct place for the contains
# Aug 7th 2008, 00:31 Eddie_CRO no, it shouldn't :)
# Aug 7th 2008, 00:31 TonkaTruck Eddie_CRO: I couldn't get your way to work.
# Aug 7th 2008, 00:31 tomas- gah, nevermind, i have 'size' set
# Aug 7th 2008, 00:31 polerin yes I understand
# Aug 7th 2008, 00:31 Eddie_CRO Item->Category->Group