CBPCompositeActivity :: FixUpParentChildRelationship: Bitrix method

      
<?php 
//  CBPCompositeActivity :: FixUpParentChildRelationship()
//  /dist/bitrix/modules/bizproc/classes/general/compositeactivity.php:33

    
public function FixUpParentChildRelationship(CBPActivity $nestedActivity)
    {
        
parent::FixUpParentChildRelationship($nestedActivity);

        if (!
is_array($this->arActivities))
            
$this->arActivities = array();

        
$this->arActivities[] = $nestedActivity;
    }