Page 310 of 211,266, showing 20 records out of 4,225,308 total, starting on record 6,181, ending on 6,200
# | Username | Text | |
---|---|---|---|
# | Aug 8th 2008, 19:48 | cl0s_ | is there a way to change the img directory that cake uses like u can with layout? |
# | Aug 8th 2008, 19:52 | Telik_Work | clear |
# | Aug 8th 2008, 19:52 | Telik_Work | oops, sorry |
# | Aug 8th 2008, 19:56 | Telik_Work | is anyone here?? |
# | Aug 8th 2008, 20:33 | skua | what's the function to auload something in model object. i try setup() or initialize() but that didn't worked |
# | Aug 8th 2008, 20:33 | TommyO | autoload 'something' ? |
# | Aug 8th 2008, 20:33 | skua | autoload a piece of code |
# | Aug 8th 2008, 20:33 | skua | ) |
# | Aug 8th 2008, 20:34 | TommyO | beforeSave, beforeFind, beforeFilter, afterSave, ... |
# | Aug 8th 2008, 20:34 | TommyO | $actsAs |
# | Aug 8th 2008, 20:35 | skua | yes but there is something to autoload code for each access of model without to create behavior :p |
# | Aug 8th 2008, 20:35 | TommyO | make a datasource |
# | Aug 8th 2008, 20:35 | skua | i need just one line of code to change database on the fly |
# | Aug 8th 2008, 20:35 | skua | i want to test a global var for each access of my model |
# | Aug 8th 2008, 20:36 | skua | ok i will do a ontheflybehavior :) |
# | Aug 8th 2008, 20:36 | skua | i think it's the best |
# | Aug 8th 2008, 20:37 | skua | thank :) |
# | Aug 8th 2008, 20:38 | Telik | hey everyone! i'm using an 'afterFind($results)' and even after creating a pseudofield in the foreach, i do a debug($results) within the afterFind() and the new field isn't there. what's going on?? |
# | Aug 8th 2008, 20:41 | skua | i never used afterFind alone in the model |
# | Aug 8th 2008, 20:41 | skua | I always use it in behavior |