Methods |
public
|
__construct()
|
#
|
public
|
put(string $sUserPublicId, string $sKey, string $sValue, string $sFileSuffix = '', string $sFolder = 'System'): 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 = 'System',
): 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 = 'System',
): bool
Parameters
$sFileSuffix |
Default value is empty string.
|
$sFolder |
Default value is empty string.
|
|
#
|
public
|
get(string $sUserPublicId, string $sKey, string $sFileSuffix = '', string $sFolder = 'System'): 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 = 'System'): resource|bool
Parameters
$sFileSuffix |
Default value is empty string.
|
$sFolder |
Default value is empty string.
|
|
#
|
public
|
getTempFile(string $sUserPublicId, string $sTempName, string $sMode = 'System'): resource|bool
Parameters
$sMode |
Default value is empty string.
|
|
#
|
public
|
clear(string $sUserPublicId, string $sKey, string $sFileSuffix = '', string $sFolder = 'System'): bool
Parameters
$sFileSuffix |
Default value is empty string.
|
$sFolder |
Default value is empty string.
|
|
#
|
public
|
fileSize(string $sUserPublicId, string $sKey, string $sFileSuffix = '', string $sFolder = 'System'): 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 = 'System'): bool
Parameters
$sFileSuffix |
Default value is empty string.
|
$sFolder |
Default value is empty string.
|
|
#
|
public
|
generateFullFilePath(
string $sUserPublicId,
string $sKey,
string $sFileSuffix = '',
string $sFolder = 'System',
): bool|string
Parameters
$sFileSuffix |
Default value is empty string.
|
$sFolder |
Default value is empty string.
|
|
#
|
public
|
gc(): bool
|
#
|