CBPActivityExecutionResult :: Out: Bitrix method

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

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

        switch (
$v)
        {
            case 
self::None:
                
$result "None";
                break;
            case 
self::Succeeded:
                
$result "Succeeded";
                break;
            case 
self::Canceled:
                
$result "Canceled";
                break;
            case 
self::Faulted:
                
$result "Faulted";
                break;
            case 
self::Uninitialized:
                
$result "Uninitialized";
                break;
            default:
                throw new 
Exception("UnknownActivityExecutionResult");
        }

        return 
$result;
    }