CBPRuntime :: ExecuteResourceFile: Bitrix method

      
<?php 
//  CBPRuntime :: ExecuteResourceFile()
//  /dist/bitrix/modules/bizproc/classes/general/runtime.php:535

    
public function ExecuteResourceFile($activityPath$filePath$arParameters = array())
    {
        
$result null;
        
$path $this->GetResourceFilePath($activityPath$filePath);
        if (
$path != null)
        {
            
ob_start();

            foreach (
$arParameters as $key => $value)
                ${
$key} = $value;

            
$this->LoadActivityLocalization($path[1], $filePath);
            include(
$path[0]);
            
$result ob_get_contents();
            
ob_end_clean();
        }
        return 
$result;
    }