GetConstantTypes: Bitrix method

      
<?php 
//  GetConstantTypes()
//  /dist/bitrix/modules/bizproc/classes/general/activity.php:286

    
private function GetConstantTypes()
    {
        
$rootActivity $this->GetRootActivity();
        if (
method_exists($rootActivity'GetWorkflowTemplateId'))
        {
            
$templateId $rootActivity->GetWorkflowTemplateId();
            if (
$templateId 0)
            {
                return 
CBPWorkflowTemplateLoader::getTemplateConstants($templateId);
            }
        }
        return 
null;
    }