CBPActivityCondition::Evaluate: Bitrix method

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

    
public abstract function Evaluate(CBPActivity $ownerActivity);

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

        
$classname 'CBP'.$code;
        return new 
$classname($data);
    }