public function delete($entity, $where = null, $tableName = null, HydratorInterface $hydrator = null) { if (!$where) { $where = 'idoption = ' . $entity->getId(); } return parent::delete($entity, $where, $tableName, $hydrator); }
public function removeSerie($userId, $serieId) { $where = new Where(); $where->equalTo('user_id', $userId); $where->equalTo('sid', $serieId); return parent::delete($where, $this->tableName); }
public function deleteEntity($id) { $result = parent::delete(array($this->idField => $id)); if (!$result) { return false; } return true; }
public function deleteJobById($jobId) { return parent::delete(array('job_id' => $jobId)); }
public function deletePpeById($ppeId) { return parent::delete(array('ppe_id' => $ppeId)); }
public function deleteLocationById($locationId) { return parent::delete(array('location_id' => $locationId)); }
public function deleteLogicalDisks($computerId) { return parent::delete(array('computer_id' => $computerId)); }
public function delete($userId, $postId) { return parent::delete(array('userId' => $userId, 'postId' => $postId))->getAffectedRows(); }
public function deletePrivilegeById($id) { return parent::delete(array('privilege_id' => $id)); }
public function deleteProjectPpes($projectId) { return parent::delete(array('project_id' => $projectId)); }
public function deleteRuleById($ruleId) { return parent::delete(array('rule_id' => $ruleId)); }
public function deleteUserProvider($ids) { return parent::delete(array('(user_id IN (' . $ids . '))')); }
public function deleteCustomerById($customerId) { return parent::delete(array('customer_id' => $customerId)); }
public function deleteStaffById($staffId) { return parent::delete(array('staff_id' => $staffId)); }
public function deleteUuid($uuid) { $where = ['uuid' => $uuid]; $result = parent::delete($where, $this->tableName); return $result; }
public function deleteResourceById($id) { return parent::delete(array('resource_id' => $id)); }
public function deleteRoleByRole($role) { parent::delete(array('role' => $role)); }
public function delete($entity, $where = null, $tableName = null) { if (!$where) { $where = 'module_id = ' . $entity->getId(); } return parent::delete($where, $tableName); }
public function deleteSubstanceById($substanceId) { return parent::delete(array('substance_id' => $substanceId)); }