Methods |
public
|
__construct(AbstractManager &$oManager)
|
#
|
public
|
setPath(string $sPath)
|
#
|
public
|
put(string $sUserPublicId, string $sKey, string $sValue, string $sFileSuffix = '', string $sFolder = ''): bool
Parameters
$sFileSuffix |
Default value is empty string.
|
$sFolder |
Default value is empty string.
|
|
#
|
public
|
putFile(string $sUserPublicId, 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 $sUserPublicId,
string $sKey,
string $sSource,
string $sFileSuffix = '',
string $sFolder = '',
): bool
Parameters
$sFileSuffix |
Default value is empty string.
|
$sFolder |
Default value is empty string.
|
|
#
|
public
|
get(string $sUserPublicId, string $sKey, string $sFileSuffix = '', string $sFolder = ''): string|bool
Parameters
$sFileSuffix |
Default value is empty string.
|
$sFolder |
Default value is empty string.
|
|
#
|
public
|
getFile(string $sUserPublicId, string $sKey, string $sFileSuffix = '', string $sFolder = ''): resource|bool
Parameters
$sFileSuffix |
Default value is empty string.
|
$sFolder |
Default value is empty string.
|
|
#
|
public
|
getTempFile(string $sUserPublicId, string $sTempName, string $sMode = ''): resource|bool
Parameters
$sMode |
Default value is empty string.
|
|
#
|
public
|
clear(string $sUserPublicId, string $sKey, string $sFileSuffix = '', string $sFolder = ''): bool
Parameters
$sFileSuffix |
Default value is empty string.
|
$sFolder |
Default value is empty string.
|
|
#
|
public
|
fileSize(string $sUserPublicId, string $sKey, string $sFileSuffix = '', string $sFolder = ''): int|bool
Parameters
$sFileSuffix |
Default value is empty string.
|
$sFolder |
Default value is empty string.
|
|
#
|
public
|
isFileExists(string $sUserPublicId, string $sKey, string $sFileSuffix = '', string $sFolder = ''): bool
Parameters
$sFileSuffix |
Default value is empty string.
|
$sFolder |
Default value is empty string.
|
|
#
|
public
|
generateFullFilePath(string $sUserPublicId, string $sKey, string $sFileSuffix = '', string $sFolder = ''): string
Parameters
$sFileSuffix |
Default value is empty string.
|
$sFolder |
Default value is empty string.
|
|
#
|
public
|
gc(): bool
|
#
|