ToString: Bitrix method

      
<?php 
//  ToString()
//  /dist/bitrix/modules/bizproc/classes/general/activity.php:940

    
public function ToString()
    {
        return 
$this->name.
            
" [".get_class($this)."] (status=".
            
CBPActivityExecutionStatus::Out($this->executionStatus).
            
", result=".
            
CBPActivityExecutionResult::Out($this->executionResult).
            
", count(ClosedEvent)=".
            
count($this->arStatusChangeHandlers[self::ClosedEvent]).
            
")";
    }