Documentation

generateSubject

string public static
\Bitrix\Crm\Activity\Provider\Base::generateSubject(
$providerTypeId = null, $direction = \CCrmActivityDirection::Undefined, array $replace = null
);

Method Automatically generates a subject for activity (name). Static method.

Parameters

ParameterDescriptionVersion
$providerTypeIdActivity type ID.
$directionActivity direction (incoming, outgoing).
$replaceArray with activity parameters.
array(
   '#DATE#'=> ,
   '#TITLE#' => <Имя>,
   '#COMMUNICATION#' => 
)

Example



© «Bitrix24», 2001-2024