public static function delete($id) { return SqlObject::deleteById($id, self::$tbl_name, 'id'); }
/** permanently deletes the file from disk */ public static function unlink($id) { SqlObject::deleteById($id, self::$tbl_name, 'id'); $path = self::getUploadPath($id); unlink($path); }
public static function remove($id) { return SqlObject::deleteById($id, self::$tbl_name); }