cakephp2.doc_042
最終投稿日:2019年11月20日
[app][Model][AppModel.php]
以下のメソッドをオーバーライドする
function begin() {
$dataSource = $this->getDataSource();
$dataSource->begin($this);
}
function commit() {
$dataSource = $this->getDataSource();
$dataSource->commit($this);
}
function rollback() {
$dataSource = $this->getDataSource();
$dataSource->rollback($this);
}