/** * Deletes a particular database record. * * @param int $tableID Row ID of record to delete * * @return bool if transaction completes returns true, otherwise false */ public static function destroy($tableID) { //Initialize Parameters static::initialize(); //Run SQL query $result = SQLQuery::delete(static::$tableName, static::$DBH, array('id' => $tableID)); //Return result return $result; }