Static Public Member Functions | |
| static | getFilePathFromId ($id) |
| Get file path given file id. | |
| static | delete ($id) |
| Delete a file. | |
Public Attributes | |
| const | ICON_SUFFIX = "_icon" |
| const | THUMB_SUFFIX = "_thumb" |
| const | SMALL_SUFFIX = "_small" |
| const | MIDDLE_SUFFIX = "_mid" |
Definition at line 32 of file files.php.
| static Files::getFilePathFromId | ( | $ | id | ) | [static] |
| static Files::delete | ( | $ | id | ) | [static] |
Delete a file.
Remove all corresponding files from the file system.
| $id | (int) file id |
Definition at line 72 of file files.php.
References getFilePathFromId(), ICON_SUFFIX, MIDDLE_SUFFIX, SMALL_SUFFIX, and THUMB_SUFFIX.
Referenced by Content::delete().
| const Files::ICON_SUFFIX = "_icon" |
| const Files::THUMB_SUFFIX = "_thumb" |
| const Files::SMALL_SUFFIX = "_small" |
| const Files::MIDDLE_SUFFIX = "_mid" |
1.5.3