Library file class. More...
Public Member Functions | |
| getDateModified () | |
| getDateUploaded () | |
| getDocumentType () | |
| getFileName () | |
| getFilePath () | |
| getFileSize () | |
| getFileType () | |
| getLocalizedName () | |
| getMonographId () | |
| getName ($locale) | |
| getNiceFileSize () | |
| getOriginalFileName () | |
| getPressId () | |
| getType () | |
| LibraryFile () | |
| setDateModified ($dateModified) | |
| setDateUploaded ($dateUploaded) | |
| setFileName ($fileName) | |
| setFileSize ($fileSize) | |
| setFileType ($fileType) | |
| setMonographId ($monographId) | |
| setName ($name, $locale) | |
| setOriginalFileName ($originalFileName) | |
| setPressId ($pressId) | |
| setType ($type) | |
Library file class.
Definition at line 22 of file LibraryFile.inc.php.
| LibraryFile.getDateModified | ( | ) |
| LibraryFile.getDateUploaded | ( | ) |
| LibraryFile.getDocumentType | ( | ) |
Get the file's document type (enumerated types)
Definition at line 227 of file LibraryFile.inc.php.
References getFileType().
| LibraryFile.getFileName | ( | ) |
Get file name of the file.
| return | string |
Definition at line 79 of file LibraryFile.inc.php.
Referenced by getFilePath().
| LibraryFile.getFilePath | ( | ) |
Return absolute path to the file on the host filesystem.
Definition at line 34 of file LibraryFile.inc.php.
References getFileName(), and getPressId().
| LibraryFile.getFileSize | ( | ) |
| LibraryFile.getFileType | ( | ) |
Get file type of the file. @ return string
Definition at line 137 of file LibraryFile.inc.php.
Referenced by getDocumentType().
| LibraryFile.getLocalizedName | ( | ) |
Get the localized name of the file
Definition at line 129 of file LibraryFile.inc.php.
| LibraryFile.getMonographId | ( | ) |
| LibraryFile.getName | ( | $ | locale | ) |
Get the name of the file
| $locale | string |
Definition at line 121 of file LibraryFile.inc.php.
| LibraryFile.getNiceFileSize | ( | ) |
| LibraryFile.getOriginalFileName | ( | ) |
Get original file name of the file.
| return | string |
Definition at line 95 of file LibraryFile.inc.php.
| LibraryFile.getPressId | ( | ) |
Get ID of press.
Definition at line 47 of file LibraryFile.inc.php.
Referenced by getFilePath().
| LibraryFile.getType | ( | ) |
Get type of the file. @ return string
Definition at line 153 of file LibraryFile.inc.php.
| LibraryFile.LibraryFile | ( | ) |
Constructor.
Definition at line 26 of file LibraryFile.inc.php.
| LibraryFile.setDateModified | ( | $ | dateModified | ) |
Set modified date of file.
| $dateModified | date |
Definition at line 193 of file LibraryFile.inc.php.
| LibraryFile.setDateUploaded | ( | $ | dateUploaded | ) |
Set uploaded date of file.
| $dateUploaded | date |
Definition at line 177 of file LibraryFile.inc.php.
| LibraryFile.setFileName | ( | $ | fileName | ) |
Set file name of the file.
| $fileName | string |
Definition at line 87 of file LibraryFile.inc.php.
| LibraryFile.setFileSize | ( | $ | fileSize | ) |
Set file size of file.
| $fileSize | int |
Definition at line 210 of file LibraryFile.inc.php.
| LibraryFile.setFileType | ( | $ | fileType | ) |
Set file type of the file.
| $fileType | string |
Definition at line 145 of file LibraryFile.inc.php.
| LibraryFile.setMonographId | ( | $ | monographId | ) |
| LibraryFile.setName | ( | $ | name, | |
| $ | locale | |||
| ) |
Set the name of the file
| $name | string | |
| $locale | string |
Definition at line 112 of file LibraryFile.inc.php.
| LibraryFile.setOriginalFileName | ( | $ | originalFileName | ) |
Set original file name of the file.
| $originalFileName | string |
Definition at line 103 of file LibraryFile.inc.php.
| LibraryFile.setPressId | ( | $ | pressId | ) |
| LibraryFile.setType | ( | $ | type | ) |
1.7.1