I had a couple of cakePHP issues mostly because the names of my Controllers contained either non-plural or non nouns. Now my question is how does cakePHP know what the plural wording is for the controllers and if it’s plural and if it’s a noun, because I had issues when I named the controller hear_aboutus.php HearAboutUs class, and cake automatically knew the plural for medium and that is media, how does cakePHP find these?
Share
The inflector class handles that. Here’s the source: https://github.com/cakephp/cakephp/blob/master/cake/libs/inflector.php