# |
Aug 8th 2008, 21:15 |
markstory |
like Configure the class? |
# |
Aug 8th 2008, 21:15 |
markstory |
what config? |
# |
Aug 8th 2008, 21:15 |
Matt1 |
is there a way to debug all values that are available in config ? |
# |
Aug 8th 2008, 21:10 |
markstory |
pr($_SESSION); |
# |
Aug 8th 2008, 21:06 |
djspark |
where can I find if there is a user logged in, who, etc with the authentication component? is there a document of the values I can reference? |
# |
Aug 8th 2008, 21:05 |
mboldisc |
Does that question make sense to anyone? |
# |
Aug 8th 2008, 21:02 |
mboldisc |
I realize scaffolding does a query on the database to get some metadata. Is it best practice to create well-defined models with the database fields, or deploy an application that uses the metadata queries? |
# |
Aug 8th 2008, 20:59 |
lqdice__ |
its a good site |
# |
Aug 8th 2008, 20:59 |
lqdice__ |
hey anyone who is not a part of ohloh.net .. join it and make some comments on cakephp |
# |
Aug 8th 2008, 20:42 |
skua |
that's look better :) |
# |
Aug 8th 2008, 20:42 |
skua |
oooo yes ! thank ! |
# |
Aug 8th 2008, 20:42 |
TommyO |
__construct() calls it |
# |
Aug 8th 2008, 20:41 |
TommyO |
skua: override setSource() |
# |
Aug 8th 2008, 20:41 |
Telik |
this def. belongs in the model |
# |
Aug 8th 2008, 20:41 |
skua |
and in behavior that look like function afterFind(and$model, $results, $primary) {... |
# |
Aug 8th 2008, 20:41 |
Telik |
but it shouldn't matter |
# |
Aug 8th 2008, 20:41 |
skua |
I always use it in behavior |
# |
Aug 8th 2008, 20:41 |
skua |
i never used afterFind alone in the model |
# |
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:37 |
skua |
thank :) |
# |
Aug 8th 2008, 20:36 |
skua |
i think it's the best |
# |
Aug 8th 2008, 20:36 |
skua |
ok i will do a ontheflybehavior :) |
# |
Aug 8th 2008, 20:35 |
skua |
i want to test a global var for each access of my model |
# |
Aug 8th 2008, 20:35 |
skua |
i need just one line of code to change database on the fly |
# |
Aug 8th 2008, 20:35 |
TommyO |
make a datasource |
# |
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:34 |
TommyO |
$actsAs |
# |
Aug 8th 2008, 20:34 |
TommyO |
beforeSave, beforeFind, beforeFilter, afterSave, ... |
# |
Aug 8th 2008, 20:33 |
skua |
) |
# |
Aug 8th 2008, 20:33 |
skua |
autoload a piece of code |
# |
Aug 8th 2008, 20:33 |
TommyO |
autoload 'something' ? |
# |
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, 19:56 |
Telik_Work |
is anyone here?? |
# |
Aug 8th 2008, 19:52 |
Telik_Work |
oops, sorry |
# |
Aug 8th 2008, 19:52 |
Telik_Work |
clear |
# |
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:46 |
CrazyTux[m] |
how do I ONLY render the view, nothing else? |
# |
Aug 8th 2008, 19:42 |
Azhi_Dahaka_ |
yes, i know... but i don't want 2 input boxes to search into... |
# |
Aug 8th 2008, 19:41 |
TommyO |
and this is probably more an exception to the rule than anything else... |
# |
Aug 8th 2008, 19:40 |
TommyO |
you probably need to App::import('Core', 'Validation'); right before you try to use it |
# |
Aug 8th 2008, 19:39 |
Azhi_Dahaka_ |
x |