I did it like you said, but..

The method "create" in Model::create it is not prefixed with _ and it
is no callback-method (not in Model::__construct:$callbacks-array) so
it shoud fulfill your request:

> Any public methods (i.e. any methods that are not prefixed with _),
> (not callbacks) are automatically available in the model.

My behavior-method "create" is set up by Model::__construct, but if I
try to call it, NOT the behavior-method "create" rather the
Model::create-method is called. Thats my problem!

I don't know if I did something wrong or if it is a bug.

There is no need for hurry, I solved this problem by a litte workaround
with beforeSave-callback.

-----
Do you have me a link where the usage of mapMethods-array is described?
Or can you please explain it? Or is this still under such heavy
development, that describing it now would be a waste of time?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to