Hello. There are 3 models "User", "Computer", and "OS". "Computer" related to "User" By user_id, and it has "os_id" to join "OS". I wont to (soft) delete a "Computer" record.
------------------------------------------------------ <Controller> ------------------------------------------------------ function action_delete($id=null) {
// $id is a GEP parameter, user can set as he(she) want. // Restrict deletable scope to login admin shop data only. $shop_id = $login_admin->get_shop_id();