Class CApiMailDbStorage
CApiMailDbStorage class for work with database.
-
AApiManagerStorage
-
CApiMailStorage
-
CApiMailDbStorage
Package: Mail\
Storages
Internal
Located at mail/storages/db/storage.php
Methods summary
public
|
#
__construct( CApiGlobalManager & $oManager )
|
public
array|boolean
|
#
getSystemFolderNames( CAccount $oAccount )
Gets information about system folders of the account.
Gets information about system folders of the account.
Parameters
- $oAccount
- Account object.
Returns
array|boolean
|
public
boolean
|
#
setSystemFolderNames( CAccount $oAccount, array $aSystemNames )
Updates information on system folders use.
Updates information on system folders use.
Parameters
- $oAccount
- Account object.
- $aSystemNames
- Array containing mapping of folder types and their actual IMAP names: [FolderFullName => FolderType, ...].
Returns
boolean
|
public
array
|
#
getFoldersOrder( CAccount $oAccount )
Obtains folders order.
Parameters
- $oAccount
- Account object.
Returns
array
|
public
boolean
|
#
clearFoldersOrder( CAccount $oAccount )
Clears information about folders order.
Clears information about folders order.
Parameters
- $oAccount
- Account object.
Returns
boolean
|
public
boolean
|
#
updateFoldersOrder( CAccount $oAccount, array $aOrder )
Updates information about folders order.
Updates information about folders order.
Parameters
- $oAccount
- Account object.
- $aOrder
- New folders order.
Returns
boolean
|
Properties summary
protected
CDbStorage
|
$oConnection
Object for work with database connection.
Object for work with database connection.
|
|
protected
CApiMailCommandCreator
|
$oCommandCreator
Object for generating query strings.
Object for generating query strings.
|
|