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

  • CApiTenantsCommandCreator
  • CApiTenantsCommandCreatorMySQL
  • CApiTenantsCommandCreatorPostgreSQL
  • CApiTenantsDbStorage
  • CApiTenantsNodbStorage
  • CApiTenantsStorage

Class CApiTenantsCommandCreator

api_CommandCreator
Extended by CApiTenantsCommandCreator

Direct known subclasses

CApiTenantsCommandCreatorMySQL

Indirect known subclasses

CApiTenantsCommandCreatorPostgreSQL

Package: Tenants\Storages
Located at tenants/storages/db/command_creator.php

Methods summary

public string
# getTenantAllocatedSize( integer $iTenantId )

Parameters

$iTenantId

Returns

string
public string
# getTenantCount( string $sSearchDesc = '' )

Parameters

$sSearchDesc
Default value is empty string.

Returns

string
protected string
# getTenantByWhere( string $sWhere )

Parameters

$sWhere

Returns

string
public string
# getTenantById( integer $mTenantId, boolean $bIdIsHash = false )

Parameters

$mTenantId
$bIdIsHash
Default value is false.

Returns

string
public string
# getTenantIdByLogin( string $sTenantLogin, string $sTenantPassword = null )

Parameters

$sTenantLogin
$sTenantPassword
Default value is null.

Returns

string
public string
# getTenantIdByDomainId( integer $iDomainId )

Parameters

$iDomainId

Returns

string
public string
# getTenantLoginById( integer $iIdTenant )

Parameters

$iIdTenant

Returns

string
public string
# getTenantsIdsByChannelId( integer $iChannelId )

Parameters

$iChannelId

Returns

string
public string
# getSubscriptionUserUsage( integer $iTenantId, integer|null $iExceptUserId = null )

Parameters

$iTenantId
$iExceptUserId
= null

Returns

string
public string
# getTenantDomains( integer $iTenantId )

Parameters

$iTenantId

Returns

string
public string
# createTenant( CTenant $oTenant )

Parameters

$oTenant

Returns

string
public string
# updateTenant( CTenant $oTenant )

Parameters

$oTenant

Returns

string
public string
# updateTenantMainCapa( integer $iTenantId, string $sCapa )

Parameters

$iTenantId
$sCapa

Returns

string
public string
# allocateFileUsage( CTenant $oTenant, integer $iAllocatedSizeInBytes )

Parameters

$oTenant
$iAllocatedSizeInBytes

Returns

string
public string
# isTenantExists( string $sLogin, integer $niExceptTenantId = null )

Parameters

$sLogin
$niExceptTenantId
Default value is null.

Returns

string
public string
# deleteTenants( array $aTenantIds )

Parameters

$aTenantIds

Returns

string
public string
# deleteTenantSubscriptions( integer $iTenantId )

Parameters

$iTenantId

Returns

string
protected string
# getSocialByWhere( string $sWhere )

Parameters

$sWhere

Returns

string
public array|false
# getSocials( integer $iIdTenant )

Parameters

$iIdTenant

Returns

array|false
public array|false
# getSocialById( integer $iIdSocial )

Parameters

$iIdSocial

Returns

array|false
public array|false
# getSocialByName( integer $iIdTenant, string $sSocialName )

Parameters

$iIdTenant
$sSocialName

Returns

array|false
public boolean
# isSocialExists( CTenantSocials $oSocial )

Parameters

$oSocial

Returns

boolean
public boolean
# createSocial( CTenantSocials & $oSocial )

Parameters

$oSocial

Returns

boolean
public boolean
# deleteSocial( integer $iIdSocial )

Parameters

$iIdSocial

Returns

boolean
public boolean
# deleteSocialsByTenantId( integer $iTenanatId )

Parameters

$iTenanatId

Returns

boolean
public boolean
# updateSocial( CTenantSocials $oSocial )

Parameters

$oSocial

Returns

boolean
AfterLogic API Documentation API documentation generated by ApiGen