public static function GetDocumentFieldTypes($parameterDocumentType) { list($moduleId, $entity, $documentType) = CBPHelper::ParseDocumentId($parameterDocumentType); if (strlen($moduleId) > 0) { CModule::IncludeModule($moduleId); } if (class_exists($entity) && method_exists($entity, "GetDocumentFieldTypes")) { return call_user_func_array(array($entity, "GetDocumentFieldTypes"), array($documentType)); } return CBPHelper::GetDocumentFieldTypes(); }