Re: Model->saveAll() return value issue

2009-10-31 Thread senser
Here is a little more details about this: when saveAll() is called with 'validate'=>'first' and 'atomic'=>'false' returned array is with double number of elements than desired to store elements (if I try to save 5 elements, returned array contains 10). I suspect that is for validation. When saveAl

Re: Sanitize:: clean help

2009-10-31 Thread Kyle Decot
Try echo $form->input("description",array("value"=>html_entity_decode(@ $this->data["Model"]["description"]))); On Oct 31, 5:29 pm, "Dave" wrote: > Can someone help me out with this fairly simple question. > > I am doing: > > $clean = new Sanitize(); > $this->data = $clean->clean($this->data); >

Routing Question

2009-10-31 Thread Dave
I have 2 routes defined for different groups. manage_ and editor_ Now I have a few functions that either group can access so i could easily just change the action name to edit rather than manage_edit and editor_edit but how can i set it up so manage_edit and editor_edit both end up at edit but

Sanitize:: clean help

2009-10-31 Thread Dave
Can someone help me out with this fairly simple question. I am doing: $clean = new Sanitize(); $this->data = $clean->clean($this->data); Now if a user enters quotes brackets or what not it gets converted to