SetVariables: Bitrix method

      
<?php 
//  SetVariables()
//  /dist/bitrix/modules/bizproc/classes/general/activity.php:244

    
public function SetVariables($arVariables = array())
    {
        if (
count($arVariables) > 0)
        {
            
$rootActivity $this->GetRootActivity();
            foreach (
$arVariables as $key => $value)
                
$rootActivity->arVariables[$key] = $value;
        }
    }