# |
Aug 8th 2008, 12:10 |
mdcatc |
How do you add a condition to the passed params in the url? |
# |
Aug 8th 2008, 12:10 |
mdcatc |
How do I specify the condition in a url link? like for sort I would do http://localhost/app/controller/action/sort:created/order:desc |
# |
Aug 8th 2008, 12:09 |
agentbob |
when passing criteria array to findAll() how do you specify AND/OR |
# |
Aug 8th 2008, 12:05 |
teknoid |
mdcatc: yes, just like you would for find() |
# |
Aug 8th 2008, 12:04 |
mdcatc |
does pagination support conditions? I can set sort: direction: and limit: how do I set a condition in the passed args for pagination? is it possible? |
# |
Aug 8th 2008, 12:02 |
freebox2 |
( |
# |
Aug 8th 2008, 12:02 |
linked_ |
quick,trivial question: is there a built-in function to pretty-print output from var_dump($array);? |
# |
Aug 8th 2008, 12:00 |
zmonteca |
app_error.php goes in app in case anyone was curious |
# |
Aug 8th 2008, 11:58 |
freebox2 |
somebody know how can i set an label to $ajax->autoComplete()? |
# |
Aug 8th 2008, 11:55 |
linked_ |
AD7six: ok, just got excited. will look into it further. thanks again |
# |
Aug 8th 2008, 11:54 |
AD7six |
linked_: not necesarily - that's an example of one use. rss helper examples also apply probably. |
# |
Aug 8th 2008, 11:53 |
linked_ |
AD7six: ahh...it's used together with serialize..ok. thanks! |
# |
Aug 8th 2008, 11:53 |
AD7six |
linked_: something to start with: http://trac.assembla.com/cake-base/browser/branches/sample_app/app/views/attachments/xml/admin_export.ctp |
# |
Aug 8th 2008, 11:53 |
freebox2 |
gwoo: $ajax->autoComplete() has label? |
# |
Aug 8th 2008, 11:52 |
zmonteca |
when overridding ErrorHandler with AppError, where does AppError have to be placed? Anywhere specifically? |
# |
Aug 8th 2008, 11:51 |
memowe |
... |
# |
Aug 8th 2008, 11:47 |
aaronfalloon |
AD7six: Will do, thanks for the help. |
# |
Aug 8th 2008, 11:47 |
AD7six |
aaronfalloon: for clarification then make sure the webuser (look at the owner of tmp files) is the owner of all your app files. 700 = only the owner can do anything. |
# |
Aug 8th 2008, 11:46 |
aaronfalloon |
AD7six: Right, thanks for the help. I probably need to read into it more, I'm a newbie. |
# |
Aug 8th 2008, 11:46 |
linked_ |
i can't seem to understand how to define a parent and a child element using xml helper :( |
# |
Aug 8th 2008, 11:44 |
__mork |
good baking |
# |
Aug 8th 2008, 11:44 |
__mork |
good cooking |
# |
Aug 8th 2008, 11:44 |
__mork |
thanks all! bye |
# |
Aug 8th 2008, 11:44 |
AD7six |
aaronfalloon: the point of setting permissions is usually to prevent other people or other processes running on your server from accessing files. not prevent your self/own code from doing so. but if you want to change permissions use the file/folder classes and set permissions to 700 |
# |
Aug 8th 2008, 11:42 |
aaronfalloon |
AD7six: Yes |
# |
Aug 8th 2008, 11:42 |
AD7six |
aaronfalloon: are you on a shared server |
# |
Aug 8th 2008, 11:42 |
aaronfalloon |
AD7six: I'm not sure what you mean. But now that I think of it, it is worthless to allow and disallow permissions. |
# |
Aug 8th 2008, 11:42 |
linked_ |
AD7six: hmm..i'll go try xml elem() methods. thanks for clarifying |
# |
Aug 8th 2008, 11:41 |
AD7six |
i.e. the one reading and writing files. |
# |
Aug 8th 2008, 11:41 |
AD7six |
aaronfalloon: how is that going to affect the php user |
# |
Aug 8th 2008, 11:40 |
aaronfalloon |
AD7six: Anyone who registers an account on my website. |
# |
Aug 8th 2008, 11:40 |
AD7six |
aaronfalloon: define "anyone" |
# |
Aug 8th 2008, 11:40 |
AD7six |
linked_: the xml helper is for generating xml |
# |
Aug 8th 2008, 11:39 |
aaronfalloon |
AD7six: Even if I want to allow anyone to upload things to my server? |
# |
Aug 8th 2008, 11:38 |
AD7six |
aaronfalloon: imo that doesn't make any sense. you'd be better off setting permissions and ownership appropriately in the first place. |
# |
Aug 8th 2008, 11:36 |
linked_ |
AD7six: I can't seem to find methods for creating one (aside from xml generation from array) |
# |
Aug 8th 2008, 11:36 |
aaronfalloon |
AD7six: For extra security. |
# |
Aug 8th 2008, 11:36 |
AD7six |
aaronfalloon: why bother |
# |
Aug 8th 2008, 11:36 |
linked_ |
AD7six: nope, just trying to look at it's code. not so much info about it online |
# |
Aug 8th 2008, 11:35 |
linked_ |
i'm looking for something like $xml->createParentNode('parent1'), |
# |
Aug 8th 2008, 11:35 |
AD7six |
linked_: have you used it for parsing |