{EN} - 3.7.8.3 tablePrefix
The name of the table prefix used for the model. The table prefix is initially set in the database connection file at /app/config/database.php. The default is no prefix. You can override the default by setting the tablePrefix attribute in the model.
Example usage:
class Example extends AppModel {
var $tablePrefix = 'alternate_'; // will look for 'alternate_examples'
} class Example extends AppModel {var $tablePrefix = 'alternate_'; // will look for 'alternate_examples'}
{EN} - 3.7.8.3 tablePrefix
The name of the table prefix used for the model. The table prefix is initially set in the database connection file at /app/config/database.php. The default is no prefix. You can override the default by setting the tablePrefix attribute in the model.
Example usage:
class Example extends AppModel {
var $tablePrefix = 'alternate_'; // will look for 'alternate_examples'
} class Example extends AppModel {var $tablePrefix = 'alternate_'; // will look for 'alternate_examples'}
