public
|
#
__construct( CApiGlobalManager & $oManager )
|
public
boolean
|
#
put( CAccount |CHelpdeskUser $oAccount, string $sKey, string $sValue, string $sFileSuffix = '', string $sFolder = '' )
Parameters
- $oAccount
- $sKey
- $sValue
- $sFileSuffix
- Default value is empty string.
- $sFolder
- Default value is empty string.
Returns
boolean
|
public
boolean
|
#
putFile( CAccount |CHelpdeskUser $oAccount, string $sKey, resource $rSource, string $sFileSuffix = '', string $sFolder = '' )
Parameters
- $oAccount
- $sKey
- $rSource
- $sFileSuffix
- Default value is empty string.
- $sFolder
- Default value is empty string.
Returns
boolean
|
public
boolean
|
#
moveUploadedFile( CAccount |CHelpdeskUser $oAccount, string $sKey, string $sSource, string $sFileSuffix = '', string $sFolder = '' )
Parameters
- $oAccount
- $sKey
- $sSource
- $sFileSuffix
- Default value is empty string.
- $sFolder
- Default value is empty string.
Returns
boolean
|
public
string|boolean
|
#
get( CAccount |CHelpdeskUser $oAccount, string $sKey, string $sFileSuffix = '', string $sFolder = '' )
Parameters
- $oAccount
- $sKey
- $sFileSuffix
- Default value is empty string.
- $sFolder
- Default value is empty string.
Returns
string|boolean
|
public
resource|boolean
|
#
getFile( CAccount |CHelpdeskUser $oAccount, string $sKey, string $sFileSuffix = '', string $sFolder = '' )
Parameters
- $oAccount
- $sKey
- $sFileSuffix
- Default value is empty string.
- $sFolder
- Default value is empty string.
Returns
resource|boolean
|
public
resource|boolean
|
#
getTempFile( CAccount |CHelpdeskUser $oAccount, string $sTempName, string $sMode = '' )
Parameters
- $oAccount
- $sTempName
- $sMode
- Default value is empty string.
Returns
resource|boolean
|
public
boolean
|
#
clear( CAccount |CHelpdeskUser $oAccount, string $sKey, string $sFileSuffix = '', string $sFolder = '' )
Parameters
- $oAccount
- $sKey
- $sFileSuffix
- Default value is empty string.
- $sFolder
- Default value is empty string.
Returns
boolean
|
public
integer|boolean
|
#
fileSize( CAccount |CHelpdeskUser $oAccount, string $sKey, string $sFileSuffix = '', string $sFolder = '' )
Parameters
- $oAccount
- $sKey
- $sFileSuffix
- Default value is empty string.
- $sFolder
- Default value is empty string.
Returns
integer|boolean
|
public
boolean
|
#
isFileExists( CAccount |CHelpdeskUser $oAccount, string $sKey, string $sFileSuffix = '', string $sFolder = '' )
Parameters
- $oAccount
- $sKey
- $sFileSuffix
- Default value is empty string.
- $sFolder
- Default value is empty string.
Returns
boolean
|
protected
string
|
#
generateFileName( CAccount |CHelpdeskUser $oAccount, string $sKey, boolean $bMkDir = false, string $sFileSuffix = '', string $sFolder = '' )
Parameters
- $oAccount
- $sKey
- $bMkDir
- Default value is false.
- $sFileSuffix
- Default value is empty string.
- $sFolder
- Default value is empty string.
Returns
string
Throws
ProjectCore\Exceptions\Exception
|
public
string
|
#
generateFullFilePath( CAccount |CHelpdeskUser $oAccount, string $sKey, string $sFileSuffix = '', string $sFolder = '' )
Parameters
- $oAccount
- $sKey
- $sFileSuffix
- Default value is empty string.
- $sFolder
- Default value is empty string.
Returns
string
|
public
boolean
|
|