Property | Type | Description | |
---|---|---|---|
$create | |||
$dateFolderStructure | |||
$directory | |||
$publicUrl | |||
$recentKey |
Method | Description | |
---|---|---|
__construct ( array | |
Constructor | |
createDateFolderStructure ( ) | ||
deleteKey ( $key ) | ||
getAbsolutePath ( $key ) | ||
getContents ( $key ) | ||
getKeys ( string $key = '', boolean | integer $recursive = false ) : array | Returns an array of all keys (files and directories) | |
getRecentKey ( ) | ||
getSize ( $key ) | ||
getTimeModified ( $key ) | ||
getURL ( $key ) | ||
isDirectory ( $key ) | ||
keyExists ( $key ) | ||
renameKey ( $sourceKey, $targetKey ) | ||
setContents ( $key, $contents, $append = false ) | ||
touchKey ( $key ) |
Method | Description | |
---|---|---|
buildPath ( $key ) |
public __construct ( array | |
||
$config | array | |
public getKeys ( string $key = '', boolean | integer $recursive = false ) : array | ||
$key | string | (Optional) Key of a directory to get keys from. If not set - keys will be read from the storage root. |
$recursive | boolean | integer | (Optional) Read all items recursively. Pass integer value to specify recursion depth. |
return | array |