PropertiesDialog::__toString: Bitrix method

      
<?php 
//  Bitrix\Bizproc\Activity\PropertiesDialog :: __toString()
//  /dist/bitrix/modules/bizproc/lib/activity/propertiesdialog.php:402

    
public function __toString()
    {
        if (
$this->renderer !== null)
        {
            return 
call_user_func($this->renderer$this);
        }

        
$runtime = \CBPRuntime::getRuntime();
        
$runtime->startRuntime();

        return (string)
$runtime->executeResourceFile(
            
$this->activityFile,
            
$this->dialogFileName,
            
array_merge(array(
                
'dialog' => $this,
                
//compatible parameters
                
'arCurrentValues' => $this->getCurrentValues($this->dialogFileName === 'properties_dialog.php'),
                
'formName' => $this->getFormName()
                ), 
$this->getRuntimeData()
            )
        );
    }