# |
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? |
# |
Oct 22nd 2009, 06:17 |
Mike_MnD |
rchavik: tnx it's my cakephp flying off point :D |
# |
Oct 22nd 2009, 06:17 |
Phally |
SaToNiO: its in $this->id |
# |
Oct 22nd 2009, 06:16 |
SaToNiO |
ty |
# |
Oct 22nd 2009, 06:16 |
abbasali |
SaToNiO: $this->Model->getLastInsertID(); |
# |
Oct 22nd 2009, 06:16 |
rchavik |
Mike_MnD: pretty impressive.. good luck with this site |
# |
Oct 22nd 2009, 06:15 |
SaToNiO |
? |
# |
Oct 22nd 2009, 06:15 |
SaToNiO |
how can i get the row id of a element created with $this->save (the table is auto increment and i haven't specified the id) |
# |
Oct 22nd 2009, 06:14 |
dakota |
ateTate: at the begining :) |
# |
Oct 22nd 2009, 06:14 |
SaToNiO |
hi |
# |
Oct 22nd 2009, 06:13 |
ateTate |
Where's a good place to start when performance-profiling a live cakephp app? |
# |
Oct 22nd 2009, 06:07 |
Mike_MnD |
the site have an admin panel which is fairly easy and cool with cake :P |
# |
Oct 22nd 2009, 06:07 |
Mike_MnD |
rchavik: i just sow you asked me bout the "cms" - and yes that was my point |
# |
Oct 22nd 2009, 06:05 |
Mike_MnD |
Ï |
# |
Oct 22nd 2009, 06:05 |
Mike_MnD |
*decision |
# |
Oct 22nd 2009, 06:04 |
Mike_MnD |
well "lamia, set yout avatar" - designer dessiosions :D |
# |
Oct 22nd 2009, 06:04 |
Mike_MnD |
dragon |
# |
Oct 22nd 2009, 06:04 |
Mike_MnD |
but lamer is not best translation cause ëàìÿ means a lamia (äðàãîí) |
# |
Oct 22nd 2009, 06:04 |
rchavik |
abatap = lamer ? :D |
# |
Oct 22nd 2009, 06:03 |
rchavik |
Mike_MnD: so cakephp is handling the 'cms' ? |