# |
Aug 9th 2008, 02:40 |
Theaxiom |
Kalileo thank you for that information. |
# |
Aug 9th 2008, 02:39 |
kalileo |
Theaxiom: alternatively you could simply DEFINE it in bootstrap as a constant |
# |
Aug 9th 2008, 02:32 |
skua |
core.php would be nice |
# |
Aug 9th 2008, 02:32 |
Theaxiom |
skua Thank you. |
# |
Aug 9th 2008, 02:31 |
skua |
depending on your use |
# |
Aug 9th 2008, 02:31 |
skua |
but you can set it in bootstrap or app_controller.. or even in a specific file |
# |
Aug 9th 2008, 02:31 |
Theaxiom |
skua thank you |
# |
Aug 9th 2008, 02:31 |
skua |
in core.php it would be fine |
# |
Aug 9th 2008, 02:30 |
Theaxiom |
skua in what file? |
# |
Aug 9th 2008, 02:30 |
skua |
Configure::read('Foo'); |
# |
Aug 9th 2008, 02:30 |
skua |
Configure::write('Foo', $bar); |
# |
Aug 9th 2008, 02:30 |
Theaxiom |
skua yes |
# |
Aug 9th 2008, 02:30 |
kalileo |
Theaxiom: what do you mean by "definition" ? |
# |
Aug 9th 2008, 02:30 |
skua |
global vars ? |
# |
Aug 9th 2008, 02:30 |
skua |
definitions ? |
# |
Aug 9th 2008, 02:26 |
Theaxiom |
app_controller.php ? |
# |
Aug 9th 2008, 02:26 |
Theaxiom |
If I want to create definitions to be available in any part of the application, in which file and where would I define them? |
# |
Aug 9th 2008, 02:02 |
skua |
very usefull this function ! |
# |
Aug 9th 2008, 02:02 |
kalileo |
good :) |
# |
Aug 9th 2008, 02:02 |
skua |
i'm already here :) http://teknoid.wordpress.com/2008/08/04/practical-use-of-saveall-part-2-notes-and-tips/ |
# |
Aug 9th 2008, 02:01 |
kalileo |
dunno if it's documented anywhere, but if you check the sourcecode, you should see how it works |
# |
Aug 9th 2008, 02:00 |
skua |
ho ! Thank! |
# |
Aug 9th 2008, 02:00 |
kalileo |
skua: there is a Model->saveAll() in cakePHP 1.2 |
# |
Aug 9th 2008, 01:59 |
skua |
there no way to make a save($array) ? |
# |
Aug 9th 2008, 01:59 |
skua |
loop of a create/save ? |
# |
Aug 9th 2008, 01:59 |
skua |
what's the best way to record multiple row ? |
# |
Aug 9th 2008, 00:33 |
djspark |
why doesn't the cakepower button validate xhtml strict... will this be resolved before 1.2 is final? |
# |
Aug 9th 2008, 00:33 |
TonkaTruck |
Is this normal? |
# |
Aug 9th 2008, 00:33 |
TonkaTruck |
In a model, I get php syntax errors for valid syntax. Even trying to concatenate a "string" with $this->Session->read('something') says "expecting ) or ; instead of ." |
# |
Aug 9th 2008, 00:32 |
Veracious |
yeah, doing that |
# |
Aug 9th 2008, 00:31 |
Bloc |
u can exec your own query |
# |
Aug 9th 2008, 00:31 |
Bloc |
err ignore that |
# |
Aug 9th 2008, 00:31 |
Bloc |
array('LIKE' => 'fieldname') doesn't work? |
# |
Aug 9th 2008, 00:24 |
Veracious |
is there a way to get that functionality in cake at the moment? |
# |
Aug 9th 2008, 00:24 |
Veracious |
this query will list the enum types of a field: "SHOW COLUMNS FROM <table_name> LIKE '<enum_field_name>'" |
# |
Aug 8th 2008, 23:53 |
cobol |
hrm |
# |
Aug 8th 2008, 23:53 |
cobol |
Error: schema.php could not be loaded |
# |
Aug 8th 2008, 23:51 |
M4ngoB00M |
hehe lol |
# |
Aug 8th 2008, 23:50 |
M4ngoB00M |
doh * routes! |
# |
Aug 8th 2008, 23:50 |
M4ngoB00M |
roots* |
# |
Aug 8th 2008, 23:50 |
M4ngoB00M |
es are cool |