Thursday, July 29, 2010

Re: save data problem

Sorry parrent = parent :)

On Jul 29, 7:58 pm, bogdanv <vivianbog...@gmail.com> wrote:
> in the Usercat model create method save like in the  cake/libs/model/
> model.php
>
> function save($data = null, $validate = true, $fieldList = array()) {
>   put your code here
>   then
>
>   return parrent:: save($data, $validate, $fieldList) ;
>   or
>   put parrent:: save(..) into a cycle depending what you want to do.
>
> }
>
> Or maybe can use beforeSave() callbacks ... I don't know what you are
> going to do ...
>
> On Jul 29, 5:24 pm, hoss7 <hoss...@gmail.com> wrote:
>
> > @bogdanv can you show me,i am new in cakephp,if you want more
> > information just aks?

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: