Hi Ernesto.

Speaking about the issue that you commented, that function is provided
by cakephp by means of 'Asocciations: Linking models together'.
It's not what you want, but it could be useful.

Check out the following link!
http://book.cakephp.org/view/1039/Associations-Linking-Models-Together

Bye!

On 21 ene, 11:41, Ernesto <[email protected]> wrote:
> Hello.
>
> in my app_model i wrote a simple function that takes 2 arguments:
> - an id, pointing to any record in the current model
> - an associated model
>
> this function checks if the selected record has any relation with the
> selected model. if yes, it will return TRUE.
>
> since i prefer to use standard cake functions... is there any built-in
> cake function that does that?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to