renderScriptFile() public static method

Renders a javascript file
public static renderScriptFile ( $file ) : string
return string rendering result
Example #1
0
 protected function renderScriptFiles($writer, array $scripts)
 {
     foreach ($scripts as $script) {
         $writer->write(TJavaScript::renderScriptFile($script));
         $this->markScriptFileAsRendered($script);
     }
 }