Свойство | Тип | Описание | |
---|---|---|---|
$_storage |
Метод | Описание | |
---|---|---|
deleteFile ( ) | ||
deleteWithFile ( ) | ||
fileDir ( ) | ||
fileName ( ) | ||
filePath ( ) | ||
fileUrl ( ) | ||
getFileId ( ) | ||
getFileProperties ( ) | Returns a hash with contents of at least 'hash' and 'ext' if there's image or otherwise null. | |
getFileRoot ( ) | Returns root path of where the files are to be stored. | |
getMaxFileSize ( ) | Returns maximum size of the file in bytes. Defaults to 1 MB. | |
setFileProperties ( $props ) | Sets file properties. Either a hash of 'hash' and 'ext' or null. | |
storage ( ) | ||
storeFile ( $filePath, $fileExtension = '' ) |
public getFileProperties ( ) |
abstract public getFileRoot ( ) |
public getMaxFileSize ( ) |
public setFileProperties ( $props ) |