Class CApiUsersCommandCreator
- api_CommandCreator
- CApiUsersCommandCreator
Direct known subclasses
Indirect known subclasses
Methods summary
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
#
enableAccountsQuery( array $aAccountsIds, boolean $bIsEnabled )
Returns query-string for enabling/disabling one or several WebMail Pro accounts. |
public
string
|
|
public
boolean
|
|
public
string
|
|
public
string
|
#
updateAccountLastLoginAndCountQuery( integer $iUserId )
Returns query-string for updating login-related information including time of last login. |
public
string
|
|
public
string
|
|
protected
string
|
#
_deleteIdentitiesByWhereQuery( string $sWhere )
Returns query-string for removing identities by specified condition. |
public
string
|
|
public
string
|
#
deleteIdentitiesByUserIdQuery( integer $iUserId )
Returns query-string for deleting identities by specified user identifier. |
public
string
|
#
deleteIdentitiesByAccountIdQuery( integer $iAccountId )
Returns query-string for deleting identities by specified account identifier. |
public
string
|
#
deleteAccountQuery( integer $iAccountId )
Returns query-string for deleting account from WebMail Pro database. |
public
string
|
#
deleteAccountMessagesQuery( integer $iAccountId )
Returns query-string for deleting account messages from WebMail Pro database. |
public
string
|
#
deleteAccountMessageBodiesQuery( integer $iAccountId )
Returns query-string for deleting account messages bodies from WebMail Pro database. |
public
string
|
#
deleteAccountFiltersQuery( integer $iAccountId )
Returns query-string for deleting account filters from WebMail Pro database. |
public
string
|
#
deleteAccountReadsQuery( integer $iAccountId )
Returns query-string for deleting account reads from WebMail Pro database. |
public
string
|
#
deleteAccountFoldersTreeQuery( integer $iAccountId )
Returns query-string for deleting account folders tree from WebMail Pro database. |
public
string
|
#
deleteAccountFoldersQuery( integer $iAccountId )
Returns query-string for deleting account folders from WebMail Pro database. |
public
string
|
#
deleteCalUserQuery( integer $iUserId )
Returns query-string for deleting calendar user settings from the storage. User identifier is used for look up. |
public
string
|
#
deleteUserQuery( integer $iUserId )
Returns query-string for deleting user settings and data from database. User identifier is used for look up. |
public
string
|
#
deleteAUserQuery( integer $iUserId )
Returns query-string for deleting user from database. User identifier is used for look up. |
public
string
|
#
deleteSendersQuery( integer $iUserId )
Returns query-string for deleting user senders from database. User identifier is used for look up. |
public
string
|
#
deleteCalendarEventsQuery( integer $iUserId )
Returns query-string for deleting user calendar events from database. User identifier is used for look up. |
public
string
|
#
deleteCalendarsQuery( integer $iUserId )
Returns query-string for deleting user calendars from database. User identifier is used for look up. |
public
string
|
#
deleteCalendarsDataQuery( integer $iUserId )
Returns query-string for deleting user calendars' data from database. User identifier is used for look up. |
public
string
|
#
deleteCalendarsPublicationsQuery( integer $iUserId )
Returns query-string for deleting user calendars' publications from database. User identifier is used for look up. |
public
string
|
#
deleteCalendarsSharingsQuery( integer $iUserId )
Returns query-string for deleting user calendars' sharings from database. User identifier is used for look up. |
public
string
|
#
getTwilioNumbersQuery( $iTenantId )
Returns query-string for obtaining twilio numbers for default accounts with allowed twilio. Tenant identifier is used for look up. |
public
string
|
#
getUsersCountForDomainQuery( integer $iDomainId, string $sSearchDesc = '' )
Returns query-string for determining how many users are in particular domain, with optional filtering. Domain identifier is used for look up. |
public
string
|
#
getUsersCountForTenantQuery( integer $iTenantId )
Returns query-string for determining how many users are in particular tenant. Tenant identifier is used for look up. |
public
string
|
#
getAccountByEmailQuery( string $sEmail )
Returns query-string for retrieving information about account wich is specified as default. Email address is used for look up. The method is especially useful in case if your product configuration allows for adding multiple accounts per user. |
public
string
|
#
getAccountByIdQuery( integer $mAccountId, boolean $bIdIsMd5 = false )
Returns query-string for retrieving information on WebMail Pro account. Account ID is used for look up. |
public
string
|
#
getCalUserQuery( integer $iUserId )
Returns query-string for obtaining CCalUser object that contains calendar settings for specified user. User identifier is used for look up. |
public
string
|
|
public
string
|
#
getAccountIdentitiesQuery( integer $IdAccount )
Returns query-string for obtaining list of identities belonging to account. |
public
string
|
#
getUserIdentitiesQuery( integer $IdUser )
Returns query-string for obtaining list of identities belonging to user. |
public
string
|
#
getUserByIdQuery( integer $iUserId )
Returns query-string for retrieving information on particular WebMail Pro user. |
public
string
|
#
getAccountInfoQuery( integer $iAccountId )
Returns query-string for obtaining account information. |
public
string
|
#
getDefaultAccountDomainIdQuery( integer $iUserId )
Returns query-string for obtaining domain identifier for primary user account. |
public
string
|
#
getDefaultAccountIdQuery( integer $iUserId )
Returns query-string for obtaining identifier of primary user account. |
public
string
|
#
accountExistsQuery( string $sEmail, string $sLogin, integer $niExceptAccountId = null )
Returns query-string for checking if particular account exists. |
public
string
|
#
clearMailingListMembersQuery( integer $iMailingListId )
Returns query-string for clearing mailing list members. |
protected
string
|
#
_getAccountByWhereQuery( string $sWhere )
Returns query-string for obtaining account by specified condition. |
protected
string
|
#
_getCalUserByWhereQuery( string $sWhere )
Returns query-string for obtaining calendar user by specified condition. |
protected
string
|
#
_getUserByWhereQuery( string $sWhere )
Returns query-string for obtaining user by specified condition. |
public
string
|
#
getAccountIdListQuery( integer $iUserId )
Returns query-string for retrieving list of accounts' identifier for given WebMail Pro user. |
public
string
|
#
getTotalUsersCountQuery( )
Returns query-string for calculating total number of users registered in WebMail Pro. |
public
string
|
#
getUserAccountsQuery( integer $iUserId )
Returns query-string for retrieving list of information about email accounts for specific user. |
public
integer
|
#
getUserAccountIdQuery( integer $iUserId, string $sEmail )
Returns query-string for obtaining account identifier for specific user and account email. |
public
string
|
#
getSafetySenderQuery( string $iUserId, string $sEmail )
Returns query-string for checkinf whether specific address is in safelist for particular user. |
public
string
|
#
insertSafetySenderQuery( integer $iUserId, string $sEmail )
Returns query-string for inserting safety sender. |
public
string
|
#
clearSafetySendersQuery( string $iUserId )
Returns query-string for purging all entries in safelist of particular user. |
public
string
|
#
getAccountUsedSpaceQuery( string $sEmail )
Returns query-string for obtaining account used space in Kb. |