# |
Jan 30th 2014, 21:45 |
Fatalnix |
woop, wrong channel |
# |
Jan 30th 2014, 21:45 |
BackEndCoder |
Nick____, Child would have a hasMany images |
# |
Jan 30th 2014, 21:45 |
Fatalnix |
I got some Esperanto song stuck in my head |
# |
Jan 30th 2014, 21:44 |
BackEndCoder |
App::uses() |
# |
Jan 30th 2014, 21:43 |
Nick____ |
how would I have more than one hasMany? I am tryin this : https://gist.github.com/anonymous/2535a8046006d09f5b5e |
# |
Jan 30th 2014, 21:43 |
BackEndCoder |
ha |
# |
Jan 30th 2014, 21:43 |
the-neon |
BackEndCoder: you can also pay mine, now that you're on a roll? |
# |
Jan 30th 2014, 21:37 |
todds |
For including external libs: require_once() vs App::uses(). Any strong opinions one way or the other? |
# |
Jan 30th 2014, 21:31 |
BackEndCoder |
thanks btw, you reminded me to pay mine |
# |
Jan 30th 2014, 21:30 |
todds |
yes, and be sure not to create a steal() method on your credit card classâ?¦you'd just be asking for trouble. |
# |
Jan 30th 2014, 21:28 |
the-neon |
(j/k) |
# |
Jan 30th 2014, 21:28 |
the-neon |
if he has many he will have a problem. |
# |
Jan 30th 2014, 21:27 |
todds |
A Customer hasOne (or Many) Credit Cards. A Credit Card belongsTo Customer. |
# |
Jan 30th 2014, 21:26 |
chris______ |
i see |
# |
Jan 30th 2014, 21:26 |
todds |
both |
# |
Jan 30th 2014, 21:26 |
chris______ |
what's the difference in using $hasOne on a Model and using $belongsTo in the related model, or should I use them in both models? |
# |
Jan 30th 2014, 21:23 |
todds |
Nick____ I'm curious to see if this works in that situation: http://freenode.net/faq.shtml#nickisgone |
# |
Jan 30th 2014, 21:22 |
S |
good morning :) |
# |
Jan 30th 2014, 21:16 |
Fatalnix |
chris______ has you beat |
# |
Jan 30th 2014, 21:16 |
Nick____ |
ha yes :( dodgy internet here! |
# |
Jan 30th 2014, 21:16 |
Fatalnix |
Nick____: something tells me you have had a lot of disconnects :D |
# |
Jan 30th 2014, 21:15 |
Fatalnix |
Nick____: ? |
# |
Jan 30th 2014, 21:14 |
Nick____ |
hmm scratches head |
# |
Jan 30th 2014, 21:14 |
Fatalnix |
thing* |
# |
Jan 30th 2014, 21:14 |
Fatalnix |
yeah that'd be a weird think for cake to override |
# |
Jan 30th 2014, 21:13 |
Fatalnix |
heh |
# |
Jan 30th 2014, 21:13 |
BackEndCoder |
its a php thing not a cake thing |
# |
Jan 30th 2014, 21:13 |
Fatalnix |
I thought so |
# |
Jan 30th 2014, 21:13 |
BackEndCoder |
yes |
# |
Jan 30th 2014, 21:13 |
Fatalnix |
does PHP not have a sort function? |
# |
Jan 30th 2014, 21:12 |
BackEndCoder |
array sort |
# |
Jan 30th 2014, 21:12 |
BackEndCoder |
randomly guessing is what i'm really good at |
# |
Jan 30th 2014, 21:12 |
Nick____ |
just got to figure out how to reorder child items now :( |
# |
Jan 30th 2014, 21:10 |
Nick____ |
ha its ok todds, I just randomly guessed and it worked :) |
# |
Jan 30th 2014, 21:09 |
todds |
(sorry again Nick____) |
# |
Jan 30th 2014, 21:08 |
chris______ |
lawl "bat mobile" xD |
# |
Jan 30th 2014, 21:08 |
todds |
To the Bat Mobile! |
# |
Jan 30th 2014, 21:07 |
BackEndCoder |
brb, my bat phone is ringing |
# |
Jan 30th 2014, 21:07 |
todds |
derp, ignore me. I'm looking at form() not link(). |
# |
Jan 30th 2014, 21:07 |
todds |
haha |
# |
Jan 30th 2014, 21:07 |
Fatalnix |
doesn't sound very argumentative |