In CakePHP 1.2, custom inflector rules can be defined in the app/config/inflections.php file. This file has been removed in CakePHP 1.3. Instead, the documentation instructs you to use the Inflector::rules function to load custom inflections.
There is ample documentation on how to define your own custom kinks, but there is no context in the documentation โ where to use Inflector::rules .
Should any custom kinks be defined in the bootstrap.php script? At the top of the respective controllers? Somewhere else?
See also:
source share