1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Contact
Граф наследования:Contact:
Base

Открытые члены

 loadData ($id)
 remove ()
 subscribe ($campaignId=null)
 unsubscribe ($campaignId=null)
 addToBlacklist ()
 removeFromBlacklist ()
 addToList ($listId)
 removeFromList ($listId)
Открытые члены унаследованные от Base
 setModuleId ($moduleId)
 getModuleId ()
 getDataTypeId ()
 setDataTypeId ($dataTypeId)
 setFieldFormName ($fieldFormName)
 getFieldFormName ()
 setFieldPrefix ($fieldPrefix)
 getFieldPrefix ()
 setFieldPrefixExtended ($fieldPrefixExtended)
 getFieldPrefixExtended ()
 setFieldValues (array $fieldValues=null)
 getFieldValues ()
 hasFieldValues ()
 getFieldId ($id)
 getFieldName ($name)
 getFieldValue ($name, $defaultValue=null)
 getId ()
 getDataCount ()
 getDataCounter ()
 getResult ()
 isResultViewable ()
 getResultView ()
 setResultView ($resultView)
 requireConfigure ()
 getName ()
 getCode ()
 getData ()
 buildData ()
 getForm ()
 getStatFields ()
 isCheckAccessRights ()
 setCheckAccessRights (bool $checkAccessRights)

Открытые статические члены

static getList (array $parameters=array())
static removeById ($id)
static removeFromBlacklistById ($id)
Открытые статические члены унаследованные от Base
static getPersonalizeList ()

Защищенные члены

 getDefaultData ()
 saveData ($id, array $data)
 saveDataLists ($id, $setList, $subList, $unsubList)
Защищенные члены унаследованные от Base
 getDataCountByType ()
 onInitResultView ()

Дополнительные унаследованные члены

Защищенные данные унаследованные от Base
 $fieldPrefix
 $fieldPrefixExtended
 $fieldValues
 $fieldFormName
 $moduleId
 $resultView
 $dataTypeId = Recipient\Type::EMAIL
bool $checkAccessRights = true

Подробное описание

См. определение в файле contact.php строка 25

Методы

◆ addToBlacklist()

addToBlacklist ( )

Add to blacklist.

Возвращает
bool

См. определение в файле contact.php строка 242

◆ addToList()

addToList ( $listId)

Add to list.

Аргументы
int$listIdList ID.
Возвращает
bool

См. определение в файле contact.php строка 273

◆ getDefaultData()

getDefaultData ( )
protected

Get default data.

Возвращает
array

См. определение в файле contact.php строка 54

◆ getList()

getList ( array $parameters = array())
static

Get list.

Аргументы
array$parametersParameters.
Возвращает
\Bitrix\Main\DB\Result

См. определение в файле contact.php строка 33

◆ loadData()

loadData ( $id)

Load data.

Аргументы
integer$idID.
Возвращает
array|null

См. определение в файле contact.php строка 138

◆ remove()

remove ( )

Remove.

Возвращает
bool

См. определение в файле contact.php строка 170

◆ removeById()

removeById ( $id)
static

Remove by contact ID.

Аргументы
integer$idContact ID.
Возвращает
bool

См. определение в файле contact.php строка 181

◆ removeFromBlacklist()

removeFromBlacklist ( )

Remove from blacklist.

Возвращает
bool

См. определение в файле contact.php строка 257

◆ removeFromBlacklistById()

removeFromBlacklistById ( $id)
static

Remove from blacklist by contact ID.

Аргументы
integer$idContact ID.
Возвращает
bool

См. определение в файле contact.php строка 192

◆ removeFromList()

removeFromList ( $listId)

Remove from list.

Аргументы
int$listIdList ID.
Возвращает
bool

См. определение в файле contact.php строка 289

◆ saveData()

saveData ( $id,
array $data )
protected

Save data.

Аргументы
integer | null$idID.
array$dataData.
Возвращает
integer|null
Исключения

См. определение в файле contact.php строка 75

◆ saveDataLists()

saveDataLists ( $id,
$setList,
$subList,
$unsubList )
protected

См. определение в файле contact.php строка 108

◆ subscribe()

subscribe ( $campaignId = null)

Subscribe.

Аргументы
integer | null$campaignIdCampaign ID.
Возвращает
bool

См. определение в файле contact.php строка 203

◆ unsubscribe()

unsubscribe ( $campaignId = null)

Unsubscribe.

Аргументы
integer | null$campaignIdCampaign ID.
Возвращает
bool

См. определение в файле contact.php строка 223


Объявления и описания членов класса находятся в файле: