CBPWorkflow :: FillNameActivityMapInternal: Bitrix method

      
<?php 
//  CBPWorkflow :: FillNameActivityMapInternal()
//  /dist/bitrix/modules/bizproc/classes/general/workflow.php:278

    
private function FillNameActivityMapInternal(CBPActivity $activity)
    {
        
$this->activitiesNamesMap[$activity->GetName()] = $activity;

        if (
is_a($activity"CBPCompositeActivity"))
        {
            
$arSubActivities $activity->CollectNestedActivities();
            foreach (
$arSubActivities as $subActivity)
                
$this->FillNameActivityMapInternal($subActivity);
        }
    }