On Mar 22, 9:02 pm, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> So sometimes when I want to know how the inflector works on things i
> make a test view like
>
> http://bin.cakephp.org/view/455901280

Good idea, thanks! I used your view with my table/class/filename and
here's the output I get:

wordSingular: trading_system

wordPlural: trading_systems

lowerCaseAndUnderScoredWord: trading_system

camelCasedWord: TradingSystem

className: TradingSystem

tableName: trading_systems

pluralize ($wordSingular)
trading_systems

singularize ($wordPlural)
trading_system

camelize ($lowerCaseAndUnderscoredWord)
TradingSystem

underscore ($camelCasedWord)
trading_system

humanize ($lowerCaseAndUnderscoredWord)
Trading System

tableize ($className)
trading_systems

classify ($tableName)
TradingSystem


This looks right to me. So maybe it's not an inflection problem after
all.

Thanks,
Matthew


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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