CBPActivityExecutionStatus :: Out: Bitrix method

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

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

        switch (
$v)
        {
            case 
self::Initialized:
                
$result "Initialized";
                break;
            case 
self::Executing:
                
$result "Executing";
                break;
            case 
self::Canceling:
                
$result "Canceling";
                break;
            case 
self::Closed:
                
$result "Closed";
                break;
            case 
self::Faulting:
                
$result "Faulting";
                break;
            default:
                throw new 
Exception("UnknownActivityExecutionStatus");
        }

        return 
$result;
    }