3.7.8.3 tablePrefix
モデルに適用するテーブルの接頭辞名。テーブル接頭辞は、データベース接続ファイル /app/config/database.php で予め設定します。デフォルトでは接頭辞を使用しません。モデルの tablePrefix 属性を設定することでデフォルト値を上書きできます。
使用例:
class Example extends AppModel {
var $tablePrefix = 'alternate_'; // 'alternate_examples' を探します
} class Example extends AppModel {var $tablePrefix = 'alternate_'; // 'alternate_examples' を探します}
See comments for this section
