AfterLogic API Documentation
  • Package
  • Class

Packages

  • Calendar
    • Classes
    • Storages
  • Capability
  • Channels
    • Classes
    • Storages
  • Collaboration
  • Contacts
    • Helpers
    • Storages
  • Dav
  • Db
    • Classes
    • Enum
    • Storages
  • Domains
    • Classes
    • Storages
  • Fetchers
    • Classes
    • Storages
  • Filecache
    • Storages
  • Filestorage
    • Classes
    • Storages
  • GContacts
    • Storages
  • Helpdesk
    • Classes
    • Enum
    • Storages
  • Integrator
  • IOS
  • Logger
  • Mail
    • Classes
    • Enum
    • Storages
  • Mailsuite
    • Classes
    • Storages
  • Min
    • Storages
  • Sieve
    • Classes
    • Enum
  • Social
    • Classes
    • Storages
  • Subscription
    • Classes
  • Subscriptions
    • Storages
  • Tenants
    • Classes
    • Storages
  • Twofactorauth
    • Classes
    • Storages
  • Users
    • Classes
    • Enum
    • Storages
  • Voice
  • WebMail
    • Storages

Classes

  • CApiFilestorageSabredavStorage
  • CApiFilestorageStorage

Class CApiFilestorageSabredavStorage

AApiManagerStorage
Extended by CApiFilestorageStorage
Extended by CApiFilestorageSabredavStorage
Package: Filestorage\Storages
Internal
Located at filestorage/storages/sabredav/storage.php

Methods summary

public
# __construct( CApiGlobalManager & $oManager )

Parameters

$oManager
$oManager

Overrides

CApiFilestorageStorage::__construct
public string
# generateShareHash( CAccount|CHelpdeskUser $oAccount, string $sType, string $sPath, string $sFileName )

Parameters

$oAccount
$sType
$sPath
$sFileName

Returns

string
public
# getApiMinManager( )
public boolean
# init( CAccount $oAccount )

Parameters

$oAccount

Returns

boolean

Overrides

CApiFilestorageStorage::init
protected string|null
# getRootPath( CAccount $oAccount, string $sType, boolean $bUser = false )

Parameters

$oAccount
$sType
$bUser

Returns

string|null
protected afterlogic\DAV\FS\Directory|null
# getDirectory( CAccount $oAccount, string $sType, string $sPath = '' )

Parameters

$oAccount
$sType
$sPath

Returns

afterlogic\DAV\FS\Directory|null
public boolean
# isFileExists( CAccount $oAccount, string $sType, string $sPath, string $sName )

Parameters

$oAccount
$sType
$sPath
$sName

Returns

boolean

Overrides

CApiFilestorageStorage::isFileExists
public string|null
# getSharedFile( CAccount $oAccount, string $sType, string $sPath, string $sName )

Parameters

$oAccount
$sType
$sPath
$sName

Returns

string|null
public CFileStorageItem|null
# getFileInfo( CAccount $oAccount, string $sType, string $sPath, string $sName )

Parameters

$oAccount
$sType
$sPath
$sName

Returns

CFileStorageItem|null

Overrides

CApiFilestorageStorage::getFileInfo
public afterlogic\DAV\FS\Directory|null
# getDirectoryInfo( CAccount $oAccount, string $sType, string $sPath )

Parameters

$oAccount
$sType
$sPath

Returns

afterlogic\DAV\FS\Directory|null

Overrides

CApiFilestorageStorage::getDirectoryInfo
public afterlogic\DAV\FS\File|null
# getFile( CAccount $oAccount, string $sType, string $sPath, string $sName )

Parameters

$oAccount
$sType
$sPath
$sName

Returns

afterlogic\DAV\FS\File|null

Overrides

CApiFilestorageStorage::getFile
public string|false
# createPublicLink( CAccount $oAccount, string $sType, string $sPath, string $sName, $sSize, $bIsFolder )

Parameters

$oAccount
$sType
$sPath
$sName
$sSize
$bIsFolder

Returns

string|false
public boolean
# deletePublicLink( CAccount $oAccount, string $sType, string $sPath, string $sName )

Parameters

$oAccount
$sType
$sPath
$sName

Returns

boolean
public array
# getFiles( CAccount $oAccount, string $sType = \EFileStorageTypeStr::Personal, string $sPath = '', string $sPattern = '' )

Parameters

$oAccount
$sType
$sPath
$sPattern

Returns

array

Overrides

CApiFilestorageStorage::getFiles
public boolean
# createFolder( CAccount $oAccount, string $sType, string $sPath, string $sFolderName )

Parameters

$oAccount
$sType
$sPath
$sFolderName

Returns

boolean

Overrides

CApiFilestorageStorage::createFolder
public boolean
# createLink( CAccount $oAccount, string $sType, string $sPath, string $sLink, string $sName )

Parameters

$oAccount
$sType
$sPath
$sLink
$sName

Returns

boolean

Overrides

CApiFilestorageStorage::createLink
public boolean
# createFile( CAccount $oAccount, string $sType, string $sPath, string $sFileName, string $sData )

Parameters

$oAccount
$sType
$sPath
$sFileName
$sData

Returns

boolean

Overrides

CApiFilestorageStorage::createFile
public boolean
# delete( CAccount $oAccount, string $sType, string $sPath, string $sName )

Parameters

$oAccount
$sType
$sPath
$sName

Returns

boolean

Overrides

CApiFilestorageStorage::delete
public boolean
# updateMin( CAccount $oAccount, string $sType, string $sPath, string $sName, string $sNewName, afterlogic\DAV\FS\File|afterlogic\DAV\FS\Directory $oItem, boolean $bDelete = false )

Parameters

$oAccount
$sType
$sPath
$sName
$sNewName
$oItem
$bDelete
Default value is false.

Returns

boolean
public boolean
# rename( CAccount $oAccount, string $sType, string $sPath, string $sName, string $sNewName )

Parameters

$oAccount
$sType
$sPath
$sName
$sNewName

Returns

boolean

Overrides

CApiFilestorageStorage::rename
public boolean
# renameLink( CAccount $oAccount, string $sType, string $sPath, string $sName, string $sNewName )

Parameters

$oAccount
$sType
$sPath
$sName
$sNewName

Returns

boolean
public boolean
# copy( CAccount $oAccount, string $sFromType, string $sToType, string $sFromPath, string $sToPath, string $sName, string $sNewName, boolean $bMove = false )

Parameters

$oAccount
$sFromType
$sToType
$sFromPath
$sToPath
$sName
$sNewName
$bMove
Default value is false.

Returns

boolean

Overrides

CApiFilestorageStorage::copy
public array
# getRealQuota( CAccount $oAccount, string $sType )

Parameters

$oAccount
$sType

Returns

array
public string
# getNonExistingFileName( CAccount $oAccount, integer $iType, string $sPath, string $sFileName )

Parameters

$oAccount
$iType
$sPath
$sFileName

Returns

string

Overrides

CApiFilestorageStorage::getNonExistingFileName
public
# clearPrivateFiles( CAccount $oAccount )

Parameters

$oAccount

Overrides

CApiFilestorageStorage::clearPrivateFiles
public
# clearCorporateFiles( CAccount $oAccount )

Parameters

$oAccount

Overrides

CApiFilestorageStorage::clearCorporateFiles

Methods inherited from CApiFilestorageStorage

getQuota()

Properties summary

protected boolean $initialized
#
protected $oApiMinManager

\CApiMinManager

\CApiMinManager

# null
AfterLogic API Documentation API documentation generated by ApiGen