Methods |
public
|
__construct(AbstractManager &$oManager)
|
#
|
public
|
InitByUser($oUser = null)
|
#
|
public
|
init(int $iUserId)
|
#
|
public
|
getContactById(
int $iUserId,
mixed $mContactId,
string $sAddressBookName = Constants::ADDRESSBOOK_DEFAULT_NAME,
): Contact|false
|
#
|
public
|
getVCardObjectById(
int $iUserId,
mixed $mContactId,
string $sAddressBookName = Constants::ADDRESSBOOK_DEFAULT_NAME,
): Contact|false
|
#
|
public
|
getContactByEmail(int $iUserId, string $sEmail): Contact|bool
|
#
|
public
|
getContactByStrId(int $iUserId, string $sContactStrId, int $iSharedTenantId = null): Contact|bool
|
#
|
public
|
GetSuggestContactByEmail(int $iUserId, string $sContactStrId): Contact
|
#
|
public
|
getContactGroupIds(Contact $oContact): array|bool
|
#
|
public
|
getGroupById(int $iUserId, mixed $mGroupId): Group
|
#
|
public
|
getGroupByStrId(int $iUserId, string $sGroupStrId): Group
|
#
|
public
|
getAddressBook(mixed $iUserId, string $sName): bool|array
|
#
|
public
|
createAddressBook($iUserId, $sUri, $sName)
|
#
|
public
|
updateAddressBook($iUserId, $sName, $sNewName)
|
#
|
public
|
deleteAddressBook($iUserId, $sName)
|
#
|
public
|
___qSortCallback($a, $b)
|
#
|
public
|
getContactItemsWithoutOrder(int $iUserId, int $iOffset, int $iRequestLimit): bool|array
|
#
|
public
|
getContactItems(
int $iSortField,
int $iSortOrder,
int $iOffset,
int $iRequestLimit,
array $aFilters,
int $iIdGroup,
): array
|
#
|
public
|
GetContactItemObjects(int $iUserId): bool|array
|
#
|
public
|
getContactItemsCount(
int $iUserId,
string $sSearch,
string $sFirstCharacter,
int $iGroupId,
int $iTenantId = null,
$bAll = false,
): int
|
#
|
public
|
getGroupItems(
int $iUserId,
int $iSortField,
int $iSortOrder,
int $iOffset,
int $iRequestLimit,
string $sSearch,
string $sFirstCharacter,
string $sContactId,
): bool|array
|
#
|
public
|
getGroupItemsCount(int $iUserId, string $sSearch, string $sFirstCharacter): int
|
#
|
public
|
GetSuggestContactItems(int $iUserId, string $sSearch, int $iRequestLimit, bool $bPhoneOnly = false): bool|array
|
#
|
public
|
updateContactUserId(Contact $oContact, int $iUserId): string
|
#
|
public
|
updateContact(Contact $oContact): bool
|
#
|
public
|
copyContact(int $iUserId, string $sUID, string $sFromAddressBook, string $sToAddressBook): bool
|
#
|
public
|
updateGroup(Group $oGroup): bool
|
#
|
public
|
createContact(Contact $oContact): bool
|
#
|
public
|
createGroup(Group $oGroup): bool
|
#
|
public
|
deleteContacts(int $iUserId, array $aContactIds, $sAddressBook = Constants::ADDRESSBOOK_DEFAULT_NAME): bool
|
#
|
public
|
deleteSuggestContacts(int $iUserId, array $aContactIds): bool
|
#
|
public
|
deleteGroup(int $iUserId, $iGroupId): bool
|
#
|
public
|
updateSuggestTable(int $iUserId, array $aEmails): bool
|
#
|
public
|
flushContacts(): bool
|
#
|
public
|
clearAllContactsAndGroups(int $iUserId): bool
|
#
|
public
|
addContactsToGroup(Group $oGroup, array $aContactIds): bool
|
#
|
public
|
removeContactsFromGroup(Group $oGroup, array $aContactIds): bool
|
#
|