在蛋糕的PHP,在另一个控制器它的工作原理记录在蛋糕PHP不会删除
if ($this->BanquetBillMaster->BanquetOtherBillMaster->del($this->data['BanquetOtherBillMaster']['id'])
{
$this->Session->setFlash(__('Menu type deleted successfully !', true));
$this->redirect(array('action'=>'add_other_items'));
exit();
}
相同的代码中使用,但在这里它不工作
谁能帮我...
很久以前del()已经被折旧和删除了,你应该使用delete() – dogmatic69 2011-04-05 09:00:20