Log message #1109272

# At Username Text
# Oct 22nd 2009, 06:40 Phally young-apacher: depends on the engine
# Oct 22nd 2009, 06:40 tPl0ch young-apacher: with InnoDB Engine, yes
# Oct 22nd 2009, 06:40 ADmad georgious: you need to use callback beforeFind and afterFind... check manaul
# Oct 22nd 2009, 06:40 georgious can I do that easily?
# Oct 22nd 2009, 06:40 young-apacher Is transaction supported when usin mysql ?
# Oct 22nd 2009, 06:39 tPl0ch paginate is a controller method, too
# Oct 22nd 2009, 06:39 georgious I need to append a calculated field to every request to a model
# Oct 22nd 2009, 06:39 TehTreag tPl0ch: Both are model methods.
# Oct 22nd 2009, 06:39 georgious hey gyuys
# Oct 22nd 2009, 06:39 TehTreag )
# Oct 22nd 2009, 06:39 Ceeram http://book.cakephp.org/view/701/env
# Oct 22nd 2009, 06:39 ADmad ACTION smacks Ceeram from spoon feeding :)
# Oct 22nd 2009, 06:39 tPl0ch If I want to have a custom paginate function, do I have to override it in the controller or in the model?
# Oct 22nd 2009, 06:38 TehTreag Ceeram: Thanks.
# Oct 22nd 2009, 06:38 Ceeram function env($key) in basiscs.php
# Oct 22nd 2009, 06:38 ADmad TehTreag: ;)
# Oct 22nd 2009, 06:37 tPl0ch TehTreag: you mean getenv()?
# Oct 22nd 2009, 06:37 TehTreag ADmad: You are just too good for me.
# Oct 22nd 2009, 06:37 ADmad right that doesnt automatically make it a php func :)
# Oct 22nd 2009, 06:37 tPl0ch env is a linux command
# Oct 22nd 2009, 06:36 ADmad TehTreag: since when is env() a php func ?
# Oct 22nd 2009, 06:36 Phally TehTreag: orly?
# Oct 22nd 2009, 06:36 tPl0ch or as well in the Model?
# Oct 22nd 2009, 06:36 TehTreag ADmad: That's a php func, not CakePHP. ;)
# Oct 22nd 2009, 06:36 tPl0ch TehTreag: but override paginate in the Controller?
# Oct 22nd 2009, 06:36 tomoyuki28jp` ADmad: thanks!
# Oct 22nd 2009, 06:34 ADmad env('......')
# Oct 22nd 2009, 06:34 tomoyuki28jp` Does cakephp have a function to get request URI?
# Oct 22nd 2009, 06:31 tPl0ch since paginating results from a webservice with no datasource
# Oct 22nd 2009, 06:31 tPl0ch )
# Oct 22nd 2009, 06:31 tPl0ch TehTreag: no, really
# Oct 22nd 2009, 06:31 TehTreag tPl0ch: It always is. :)
# Oct 22nd 2009, 06:31 tPl0ch and it's actually really justified
# Oct 22nd 2009, 06:30 tPl0ch I like it too
# Oct 22nd 2009, 06:30 TehTreag tPl0ch: I like the first note.
# Oct 22nd 2009, 06:30 TehTreag http://book.cakephp.org/view/249/Custom-Query-Pagination
# Oct 22nd 2009, 06:29 tPl0ch and Controller::paginate() automatically adjusts?
# Oct 22nd 2009, 06:29 TehTreag Model
# Oct 22nd 2009, 06:29 tPl0ch ~api paginatecount
# Oct 22nd 2009, 06:28 tPl0ch I take it in the controller, since paginate is a controller function
# Oct 22nd 2009, 06:28 tPl0ch do I have to override paginateCount in the model or in the controller?