Page 39 of 211,275, showing 20 records out of 4,225,499 total, starting on record 761, ending on 780
# | Username | Text | |
---|---|---|---|
# | Aug 6th 2008, 19:20 | polerin | I'm attaching something through a behavior on beforeFind, and I need to make sure containiable doesn't knock off the attachment/recursive depth |
# | Aug 6th 2008, 19:21 | polerin | because it must be done on every query (that's not a 'list' ) |
# | Aug 6th 2008, 19:23 | Ins|de | how do i know in a method action where it was called by another method or when it was called as a request ? |
# | Aug 6th 2008, 19:24 | polerin | Ins|de: when are you calling controller actions from another action? |
# | Aug 6th 2008, 19:24 | renan_saddam | Ins|de: maybe $this->action |
# | Aug 6th 2008, 19:24 | polerin | that sounds like you need to create a component or refactor into a model |
# | Aug 6th 2008, 19:24 | Ins|de | polerin, should i implement that action in a model instead ? |
# | Aug 6th 2008, 19:25 | Ins|de | i think you're right |
# | Aug 6th 2008, 19:25 | polerin | you can't implement an action in a model, but you can implement some functionality in a model. |
# | Aug 6th 2008, 19:25 | polerin | and then call on that functionality in two places |
# | Aug 6th 2008, 19:26 | polerin | gwoo: any ideas on the containable question? |
# | Aug 6th 2008, 19:27 | polerin | gwoo: if there's a better way to do it than reaching through the behavior, I'm all ears... I've enough to do without making it harder :P |
# | Aug 6th 2008, 19:28 | Ins|de | polerin, you're right, i'm new to cake, i was just manipulating data, i was breaking MVC model |
# | Aug 6th 2008, 19:28 | polerin | ) |
# | Aug 6th 2008, 19:28 | polerin | everyone's knew at some point |
# | Aug 6th 2008, 19:30 | polerin | s/knew/new |
# | Aug 6th 2008, 19:30 | polerin | wow.. long day already |
# | Aug 6th 2008, 19:32 | batcoder-7 | hmm |
# | Aug 6th 2008, 19:32 | batcoder-7 | i need to do the last thing for my project and that is to make a menu |
# | Aug 6th 2008, 19:33 | batcoder-7 | i need a top tier menu and for each top tier item it has to have some nested items as well for each top tier link |