示例#1
0
 public function customBeforeDelete($row)
 {
     parent::customBeforeDelete($row);
     ORM::factory('products_packaging')->where('packaging_id', $row->id)->delete_all();
     ORM::factory('packaging_cost')->where('packagingID', $row->id)->delete_all();
 }