CBPAllTrackingService :: parseStringParameter: Bitrix method

      
<?php 
//  CBPAllTrackingService :: parseStringParameter()
//  /dist/bitrix/modules/bizproc/classes/general/trackingservice.php:127

    
public static function parseStringParameter($string$documentType null)
    {
        if (!
$documentType)
            
$documentType = array('','','');
        return 
preg_replace_callback(
            
CBPActivity::ValueInlinePattern,
            
create_function(
                
'$matches',
                
'return CBPAllTrackingService::parseStringParameterMatches($matches, array("'.$documentType[0].'", "'.$documentType[1].'", "'.$documentType[2].'"));'
            
),
            
$string
        
);
    }