probably you can...try to make some function in behavior called eg
getId($id)
{{{
public function getId(&$model, $id)
{
$this->recordId = $id //or $model->id = $id...
}
}}}
--
Tilen Majerle
http://majerle.eu
2010/10/12 Dave Maharaj <[email protected]>
> Is it possible to pass the specific variables to a behaviour? I need to
> pass the record id and in some cases the Auth->id and just can not seem to
> figure it out.
>
>
>
> Thanks,
>
>
>
> Dave
>
> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]<cake-php%[email protected]>For
> more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>
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 [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en