method
public
BaseTarget::getDocumentType()
Сигнатура
public getDocumentType() : mixed
Возвращаемое значение
mixed
Как применяется в BaseTarget
BaseTarget::getDocumentType() — метод класса \Bitrix\Crm\Automation\Target\BaseTarget модуля «CRM».
Метод объекта: сначала нужен экземпляр BaseTarget.
use Bitrix\Main\Loader;
use Bitrix\Crm\Automation\Target\BaseTarget;
Loader::includeModule('crm');
/** @var BaseTarget $object */
$result = $object->getDocumentType();
// $result: mixedДругие методы BaseTarget
getAvailableTriggers()getDocumentStatus()getDocumentStatusList()getEntityId()getEntityStatus()getEntityStatuses()getEntityTypeId()getResponsibleId()getStatusInfos()getTemplatesScheme()getTriggerObjects()getTriggers()
getDocumentType() есть и у других классов модуля «CRM»: TriggerObject.
Исходный файл: source/crm/lib/automation/target/basetarget.php:189

