Log message #114997

# At Username Text
# Aug 10th 2008, 08:18 primeminister oeps :|
# Aug 10th 2008, 08:18 primeminister i try to do some routing like /params
# Aug 10th 2008, 08:18 kalileo golak: then use yourfileld => "'" . $yourstringvar . "'"
# Aug 10th 2008, 08:16 paramS okie , thanks ... sorry just new out here
# Aug 10th 2008, 08:16 paramS p
# Aug 10th 2008, 08:16 kalileo paramS: use the bin for code
# Aug 10th 2008, 08:16 primeminister try to achieve an example like in the book
# Aug 10th 2008, 08:16 kalileo paramS: please no code here longer than a oneliner
# Aug 10th 2008, 08:16 golak kalileo: I am using form helper. it returns me as string
# Aug 10th 2008, 08:15 primeminister someone has time to take a look at my routing with me?
# Aug 10th 2008, 08:15 kalileo golak: teh manual says to quote literal values manually, such as "'your string'"
# Aug 10th 2008, 08:15 paramS }
# Aug 10th 2008, 08:15 paramS ....}
# Aug 10th 2008, 08:15 primeminister hi!
# Aug 10th 2008, 08:15 paramS .......... do something;
# Aug 10th 2008, 08:15 paramS ....function B (....) {
# Aug 10th 2008, 08:15 paramS ....}
# Aug 10th 2008, 08:15 paramS ..............$return_value = B(...);
# Aug 10th 2008, 08:15 paramS .... function A (....) {
# Aug 10th 2008, 08:15 paramS class helper .... {
# Aug 10th 2008, 08:15 paramS In my helper i have two functions ... ( function A and B ) .... and i tried to call function B from function A ; but its not working. I think its more of a OOP concept rather than cakephp ; but i would appreciate if you can help me :)
# Aug 10th 2008, 08:13 kalileo golak: yes, save() will update if the pk (the $id) is sumbitted and exists
# Aug 10th 2008, 08:12 kalileo golak: indeed, nice, after saveAll also updateAll
# Aug 10th 2008, 08:12 golak can't i use the save function to update methods if the primary key matches
# Aug 10th 2008, 08:12 golak i am a rubyonrails developer who has migrated to cakephp. Hence I am not well versed in cakephp.
# Aug 10th 2008, 08:11 golak yes it is.
# Aug 10th 2008, 08:09 kalileo mrConfused: :)
# Aug 10th 2008, 08:09 mrConfused thanks
# Aug 10th 2008, 08:09 mrConfused kalileo i didn't thinkg about afterRender.. good idea.
# Aug 10th 2008, 08:09 kalileo golak: have I slept so long? is that a cake method now?
# Aug 10th 2008, 08:07 golak yes
# Aug 10th 2008, 08:07 kalileo golak: updateall ?
# Aug 10th 2008, 08:06 kalileo afterRender()
# Aug 10th 2008, 08:06 golak it should perpare the sql statement considering it as a string
# Aug 10th 2008, 08:06 kalileo mrConfused: or delete your session var in the controllers afterrRnder()
# Aug 10th 2008, 08:04 kalileo mrConfused: you can read (and delete) the session from your controller, set() what you wanna display, and then diplay what you have set in the view
# Aug 10th 2008, 08:02 mrConfused to have another function like flash that doesn't echo.
# Aug 10th 2008, 08:02 mrConfused i'm placing an enchancement request
# Aug 10th 2008, 08:02 mrConfused but i dont' write at all
# Aug 10th 2008, 08:02 mrConfused kalileo according to the api you can but it also says not recommended from your view.
# Aug 10th 2008, 08:02 golak using updateall to update a table generates error for string values. It doesn't wrap the string within quotes in the sql statement. Is this a problem with my code?