コード例 #1
0
ファイル: PhotoAlbum.php プロジェクト: martinlindhe/core_dev
 public static function delete($id)
 {
     return SqlObject::deleteById($id, self::$tbl_name, 'id');
 }
コード例 #2
0
ファイル: File.php プロジェクト: martinlindhe/core_dev
 /** permanently deletes the file from disk */
 public static function unlink($id)
 {
     SqlObject::deleteById($id, self::$tbl_name, 'id');
     $path = self::getUploadPath($id);
     unlink($path);
 }
コード例 #3
0
ファイル: Feedback.php プロジェクト: martinlindhe/core_dev
 public static function remove($id)
 {
     return SqlObject::deleteById($id, self::$tbl_name);
 }