Property | Type | Description | |
---|---|---|---|
$instance | |||
$supportedImageExtensions |
Method | Description | |
---|---|---|
getAvailableFiles ( integer $seek, integer $limit, string $filter, $filterExtensions, boolean $secure = false, $subdir = null ) : array | Get list of files for file browser | |
getFile ( string $fileName, string $secure = false, $path = null ) : array | ||
getPath ( $secure, $subdir, $absolute = true ) | ||
instance ( ) : |
Get singleton instance | |
pathMustBeInRepository ( $path, $secure ) | Throw an exception if path goes out of repository dir |
Method | Description | |
---|---|---|
__clone ( ) | ||
__construct ( ) |
Method | Description | |
---|---|---|
createPreview ( string $file ) : string | Get preview file for file browser | |
getFileData ( $fileName, $secure, $subdir = null ) |
public static instance ( ) : |
||
return |
public pathMustBeInRepository ( $path, $secure ) | ||
$path | ||
$secure |