Cakephp table name convention
cakephp, naming-conventions, php
Solution
You can define table name in model
class Example extends AppModel {
public $useTable = 'exmp'; // This model uses a database table 'exmp'
}
Use Table Cakephp
Problem
I have an existing site in `Joomla`. and I want new application in `CakePHP` but with same existing Joomla site database. So here is the problem with the tables name. Please suggest me how to use that table (like `market_type`, `listing_type` in singular form) in `Cakephp`, because in `cakephp` standard we use tables in plural form.