# |
Sep 13th 2009, 15:01 |
ionas82 |
(seems to loop internally) |
# |
Sep 13th 2009, 15:01 |
ionas82 |
memory exhaustion |
# |
Sep 13th 2009, 15:01 |
ionas82 |
I have issues overwriting function __construct($id = false, $table = null, $ds = null) { } in my messages model to specify $this->validate = array() supplying __text() stuff |
# |
Sep 13th 2009, 15:00 |
ionas82 |
its awesome for a free and open source project documentation |
# |
Sep 13th 2009, 15:00 |
ionas82 |
if you print it as pdf in safari its over 200 pages |
# |
Sep 13th 2009, 14:59 |
ionas82 |
NoReGreT, please read the book thanks |
# |
Sep 13th 2009, 14:59 |
ionas82 |
yes |
# |
Sep 13th 2009, 14:58 |
NoReGreT |
is it the POST data ? |
# |
Sep 13th 2009, 14:57 |
NoReGreT |
what about $this->data in the controller ? |
# |
Sep 13th 2009, 14:55 |
ionas82 |
$this->here of the URL (afaik) |
# |
Sep 13th 2009, 14:54 |
ionas82 |
$this->name (in controller context) of the controller |
# |
Sep 13th 2009, 14:54 |
ionas82 |
NoReGreT, yes |
# |
Sep 13th 2009, 14:49 |
HardPhuck |
i solved it thanx |
# |
Sep 13th 2009, 14:49 |
Hedz |
HardPhuck did you try setAction()? |
# |
Sep 13th 2009, 14:48 |
NoReGreT |
$this->action contains teh name of the function, right ? |
# |
Sep 13th 2009, 14:44 |
HardPhuck |
to render a custom view |
# |
Sep 13th 2009, 14:41 |
ionas82 |
question is why you want to do that |
# |
Sep 13th 2009, 14:41 |
ionas82 |
http://book.cakephp.org/view/57/Controller-Methods#render-428 |
# |
Sep 13th 2009, 14:40 |
HardPhuck |
$this->render will do the job i think |
# |
Sep 13th 2009, 14:40 |
HardPhuck |
use different view files based on params in action |
# |
Sep 13th 2009, 14:40 |
ionas82 |
HardPhuck, what do you want to do |
# |
Sep 13th 2009, 14:40 |
ionas82 |
reconfigure router, use elements |
# |
Sep 13th 2009, 14:40 |
HardPhuck |
lol |
# |
Sep 13th 2009, 14:40 |
ionas82 |
HardPhuck, rename the action? |
# |
Sep 13th 2009, 14:37 |
HardPhuck |
how can i assign a different view to the action |
# |
Sep 13th 2009, 14:35 |
ionas82 |
use the book search, book is awesome, good luck |
# |
Sep 13th 2009, 14:35 |
NoReGreT |
ionas82: thanks |
# |
Sep 13th 2009, 14:34 |
jway |
I will try :) |
# |
Sep 13th 2009, 14:33 |
ionas82 |
then digg for complex find conditions and containable / contain / contains |
# |
Sep 13th 2009, 14:33 |
ionas82 |
jway, I think you should setup a basic association by the book and see how find is used there |
# |
Sep 13th 2009, 14:32 |
ionas82 |
but it makes sense the way it is as well |
# |
Sep 13th 2009, 14:32 |
ionas82 |
or Controller |
# |
Sep 13th 2009, 14:32 |
ionas82 |
afterFilter afterAction |
# |
Sep 13th 2009, 14:32 |
ionas82 |
beforeRender = beforeView |
# |
Sep 13th 2009, 14:32 |
ionas82 |
beforeFilter you could "name" beforeAction |
# |
Sep 13th 2009, 14:32 |
ionas82 |
the naming is pretty self explaining |
# |
Sep 13th 2009, 14:31 |
ionas82 |
there you see the callbacks as well |
# |
Sep 13th 2009, 14:31 |
ionas82 |
http://cakephp.org/files/Resources/CakePHP-1.2-Cheatsheet.pdf |
# |
Sep 13th 2009, 14:30 |
ionas82 |
I think yes |
# |
Sep 13th 2009, 14:30 |
ionas82 |
NoReGreT, http://book.cakephp.org/view/21/A-Typical-CakePHP-Request |
# |
Sep 13th 2009, 14:29 |
NoReGreT |
ionas82: you mean the blue lines which are callbacks? |