Methods |
public
|
__construct(AbstractManager &$oManager)
|
#
|
public
|
setPath(string $sPath)
|
#
|
public
|
put(int $iUserId, string $sKey, string $sValue, string $sFileSuffix = '', string $sFolder = ''): bool
Parameters
$sFileSuffix |
Default value is empty string.
|
$sFolder |
Default value is empty string.
|
|
#
|
public
|
putFile(int $iUserId, string $sKey, resource $rSource, string $sFileSuffix = '', string $sFolder = ''): bool
Parameters
$sFileSuffix |
Default value is empty string.
|
$sFolder |
Default value is empty string.
|
|
#
|
public
|
moveUploadedFile(string $sUUID, string $sKey, string $sSource, string $sFileSuffix = '', string $sFolder = ''): bool
Parameters
$sFileSuffix |
Default value is empty string.
|
$sFolder |
Default value is empty string.
|
|
#
|
public
|
get(int $iUserId, string $sKey, string $sFileSuffix = '', string $sFolder = ''): string|bool
Parameters
$sFileSuffix |
Default value is empty string.
|
$sFolder |
Default value is empty string.
|
|
#
|
public
|
getFile(int $iUserId, string $sKey, string $sFileSuffix = '', string $sFolder = ''): resource|bool
Parameters
$sFileSuffix |
Default value is empty string.
|
$sFolder |
Default value is empty string.
|
|
#
|
public
|
getTempFile(int $iUserId, string $sTempName, string $sMode = ''): resource|bool
Parameters
$sMode |
Default value is empty string.
|
|
#
|
public
|
clear(string $sUUID, string $sKey, string $sFileSuffix = '', string $sFolder = ''): bool
Parameters
$sFileSuffix |
Default value is empty string.
|
$sFolder |
Default value is empty string.
|
|
#
|
public
|
fileSize(int $iUserId, string $sKey, string $sFileSuffix = '', string $sFolder = ''): int|bool
Parameters
$sFileSuffix |
Default value is empty string.
|
$sFolder |
Default value is empty string.
|
|
#
|
public
|
isFileExists(int $iUserId, string $sKey, string $sFileSuffix = '', string $sFolder = ''): bool
Parameters
$sFileSuffix |
Default value is empty string.
|
$sFolder |
Default value is empty string.
|
|
#
|
public
|
generateFullFilePath(string $sUUID, string $sKey, string $sFileSuffix = '', string $sFolder = ''): string
Parameters
$sFileSuffix |
Default value is empty string.
|
$sFolder |
Default value is empty string.
|
|
#
|
public
|
gc(): bool
|
#
|