Class CApiMailCommandCreator
CApiMailCommandCreator class for generating query strings.
-
api_CommandCreator
-
CApiMailCommandCreator
Package: Mail\
Storages
Internal
Located at mail/storages/db/command_creator.php
Methods summary
public
string
|
#
getSelectFoldersOrderQuery( CAccount $oAccount )
Returns query for selection folders order.
Returns query for selection folders order.
Parameters
- $oAccount
- Account object.
Returns
string
|
public
string
|
#
getClearFoldersOrderQuery( CAccount $oAccount )
Returns query for clearing folders order.
Returns query for clearing folders order.
Parameters
- $oAccount
- Account object.
Returns
string
|
public
string
|
#
getUpdateFoldersOrderQuery( CAccount $oAccount, string $sOrder )
Returns query for updating folders order.
Returns query for updating folders order.
Parameters
- $oAccount
- Account object.
- $sOrder
- New folders order.
Returns
string
|
public
string
|
#
getSelectSystemFoldersQuery( CAccount $oAccount )
Returns query for selection information about system folders.
Returns query for selection information about system folders.
Parameters
- $oAccount
- Account object.
Returns
string
|
public
string
|
#
getClearSystemFoldersQuery( CAccount $oAccount )
Returns query for clearing system folders information in database.
Returns query for clearing system folders information in database.
Parameters
- $oAccount
- Account object.
Returns
string
|
public
string
|
#
getUpdateSystemFoldersQuery( CAccount $oAccount, array $aSystemNames )
Returns query for updating information about system folder in database.
Returns query for updating information about system folder in database.
Parameters
- $oAccount
- Account object.
- $aSystemNames
- List of information about system folders: [FolderFullName => FolderType, ...].
Returns
string
|