CBPActivityCondition :: CallStaticMethod: Bitrix method

      
<?php 
//  CBPActivityCondition :: CallStaticMethod()
//  /dist/bitrix/modules/bizproc/classes/general/activitycondition.php:25

    
public static function CallStaticMethod($code$method$arParameters = array())
    {
        
$runtime CBPRuntime::GetRuntime();
        
$runtime->IncludeActivityFile($code);

        if (
preg_match("#[^a-zA-Z0-9_]#"$code))
            throw new 
Exception("Activity '".$code."' is not valid");

        
$classname 'CBP'.$code;

        return 
call_user_func_array(array($classname$method), $arParameters);
    }