# |
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 |
# |
Aug 7th 2008, 00:31 |
polerin |
Eddie_CRO: it should.. |
# |
Aug 7th 2008, 00:31 |
TonkaTruck |
Eddie_CRO: oh yes I have been here. |
# |
Aug 7th 2008, 00:30 |
Eddie_CRO |
polerin: It does not work if you have three degree model |
# |
Aug 7th 2008, 00:30 |
tomas- |
i have a text field with 'options' (values) so it renders as a select list -- unfortunately, its a multiple select list (tho i dont say to do so),.... any idea how to turn the 'multiple' attribute OFF? |
# |
Aug 7th 2008, 00:30 |
polerin |
Eddie_CRO: check my message to you above |
# |
Aug 7th 2008, 00:30 |
batcoder-7 |
chrysanthemum: php your first programming language ? |
# |
Aug 7th 2008, 00:30 |
polerin |
P |
# |
Aug 7th 2008, 00:30 |
polerin |
7 +13 = 20 |
# |
Aug 7th 2008, 00:30 |
Eddie_CRO |
http://bin.cakephp.org/view/216231990 |
# |
Aug 7th 2008, 00:30 |
poluta1 |
hello any change with ajax observeField() since cake 1.2 RC2 ? |
# |
Aug 7th 2008, 00:30 |
chrysanthemum |
20 |
# |
Aug 7th 2008, 00:30 |
batcoder-7 |
chrysanthemum: how old are you ? |
# |
Aug 7th 2008, 00:29 |
chrysanthemum |
i got years of programming catch up ahead of me :) |
# |
Aug 7th 2008, 00:29 |
TonkaTruck |
polerin: in the contain test cases for contain you can set recursive as a starting point and contain from there. Can you really not go more than 3 deep? |
# |
Aug 7th 2008, 00:29 |
polerin |
I'm officialy in my late 20's as of last month :/ |
# |
Aug 7th 2008, 00:28 |
polerin |
or something like that |
# |
Aug 7th 2008, 00:28 |
polerin |
Eddie_CRO: 'Group' => array('fields' =>array('your field list'), 'contain' => array('not that you can contain 3 deep'), 'conditions' => array('your conditions')); |
# |
Aug 7th 2008, 00:28 |
batcoder-7 |
but sure there are many TonkaTruck |
# |
Aug 7th 2008, 00:28 |
batcoder-7 |
mid 20's |
# |
Aug 7th 2008, 00:28 |
TonkaTruck |
Is anyone in the channel over 30? heh. |
# |
Aug 7th 2008, 00:28 |
batcoder-7 |
polerin: yea thanks, thats hwo i thought it would be, |
# |
Aug 7th 2008, 00:27 |
chrysanthemum |
polerin: considering that i was 7 yrs old -- no |
# |
Aug 7th 2008, 00:27 |
Eddie_CRO |
ok |
# |
Aug 7th 2008, 00:27 |
TonkaTruck |
Eddie_CRO: if you bin your contain array I would like to see it. |
# |
Aug 7th 2008, 00:27 |
polerin |
chrysanthemum: ... did you ever REALLY try to do CSS or JS back then? |
# |
Aug 7th 2008, 00:26 |
polerin |
batcoder-7: http://bin.cakephp.org/view/230555087 |
# |
Aug 7th 2008, 00:26 |
Eddie_CRO |
anyone alive? :) |
# |
Aug 7th 2008, 00:23 |
Eddie_CRO |
question - I have a DB model like Item->Category->Group. Cointain (in model->find) seems to do the trick of getting the data filtered for third degree (Group in this case), but i don't know how to make a CONDITION for a VALUE in third degree. I put 'Group.name = "name"' but if that name does not exist for an item, 'find' gives me other data (Item, Category) and misses Group. I want him to not give me records if group name does not exist. |