/** * @param unknown_type $Where * @param unknown_type $Limit * @param unknown_type $ResetData * @todo add doc */ public function Delete($Where = '', $Limit = FALSE, $ResetData = FALSE) { if (is_numeric($Where)) { $Where = array($this->PrimaryKey => $Where); } if ($ResetData) { $Result = $this->SQL->Delete($this->Name, $Where, $Limit); } else { $Result = $this->SQL->NoReset()->Delete($this->Name, $Where, $Limit); } return $Result; }
/** * @param unknown_type $Where * @param unknown_type $Limit * @param unknown_type $ResetData * @todo add doc */ public function Delete($Where = '', $Limit = FALSE, $ResetData = FALSE) { if (is_numeric($Where)) { $Where = array($this->Name . 'ID' => $Where); } if ($ResetData) { $this->SQL->Delete($this->Name, $Where, $Limit); } else { $this->SQL->NoReset()->Delete($this->Name, $Where, $Limit); } }
/** * @param unknown_type $Where * @param unknown_type $Limit * @param unknown_type $ResetData * @todo add doc */ public function Delete($Where = '', $Limit = FALSE, $ResetData = FALSE) { if ($ResetData) { $this->SQL->Delete($this->Name, $Where, $Limit); } else { $this->SQL->NoReset()->Delete($this->Name, $Where, $Limit); } }