Tuesday, April 24, 2012

Re: examples on how to create my own magic functions

look at Model::__call()
--
Lep pozdrav, Tilen Majerle



2012/4/25 bs28723 <bill.stoltz@boosterwebsolutions.com>
I tried to find the code that implements the magic functions findBy* and
findAllBy*
but I got lost.

Can someone point me to the code or an example of how to replicate this?

I may have a need to create my own set of functions like this, and would
like to see how to parse the method name and then call the function, etc.

Thanks for the help.

Bill


View this message in context: examples on how to create my own magic functions
Sent from the CakePHP mailing list archive at Nabble.com.

--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: