src/View/SSTemplateParser.php
function CallArguments_Argument(&$res, $sub)
    {
        if (!empty($res['php'])) {
            $res['php'] .= ', ';
        }

        $res['php'] .= ($sub['ArgumentMode'] == 'default') ? $sub['string_php'] :
            str_replace('$$FINAL', 'XML_val', $sub['php']);
    }
function CallArguments_Argument(&$res, $sub)
    {
        if (!empty($res['php'])) {
            $res['php'] .= ', ';
        }

        $res['php'] .= ($sub['ArgumentMode'] == 'default') ? $sub['string_php'] :
            str_replace('$$FINAL', 'XML_val', $sub['php']);
    }
function CallArguments_Argument ( & $ res , $ sub ) { if ( ! empty ( $ res [ 'php' ] ) ) { $ res [ 'php' ] .= ', ' ; } $ res [ 'php' ] .= ( $ sub [ 'ArgumentMode' ] == 'default' ) ? $ sub [ 'string_php' ] : str_replace ( '$$FINAL' , 'XML_val' , $ sub [ 'php' ] ) ; }
Values are bare words in templates, but strings in PHP. We rely on PHP's type conversion to back-convert
strings to numbers when needed.
Values are bare words in templates but strings in PHP . We rely on PHP s type conversion to back - convert strings to numbers when needed .