CBPActivityExecutorOperationType :: Out: Bitrix method

      
<?php 
//  CBPActivityExecutorOperationType :: Out()
//  /dist/bitrix/modules/bizproc/classes/general/constants.php:122

    
public static function Out($v)
    {
        
$result "";

        switch (
$v)
        {
            case 
self::Execute:
                
$result "Execute";
                break;
            case 
self::Cancel:
                
$result "Running";
                break;
            case 
self::HandleFault:
                
$result "HandleFault";
                break;
            default:
                throw new 
Exception("UnknownActivityExecutorOperationType");
        }

        return 
$result;
    }