Inflector::pluralize look at the api for it http://api.cakephp.org/class_inflector.html
most of these can be called directly without and instance of the class Sam D On 10/1/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > i'm writing compoennt and i need function convert controlername to > modelname ex. files > file , user > user, tag->tags, categories > > category > > > > > -- == S. DeVore (the old fart) the advice is free, the lack of crankiness will cost you --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
