- Модуль: bizproc
- Путь к файлу: ~/bitrix/modules/bizproc/classes/general/documentservice.php
- Класс: CBPDocumentService
- Вызов: CBPDocumentService::getFieldValuePrintable
public function getFieldValuePrintable($parameterDocumentId, $fieldName, $fieldType, $fieldValue, $arFieldType = null)
{
[$moduleId, $entity, $documentId] = CBPHelper::ParseDocumentId($parameterDocumentId);
if ($moduleId)
{
CModule::IncludeModule($moduleId);
}
if (class_exists($entity) && method_exists($entity, "GetFieldValuePrintable"))
return call_user_func_array(array($entity, "GetFieldValuePrintable"), array($documentId, $fieldName, $fieldType, $fieldValue, $arFieldType));
return CBPHelper::GetFieldValuePrintable($fieldName, $fieldType, $fieldValue, $arFieldType);
}