protected function syntaxHighlighterDefaults(SyntaxHighlighterDefaults $defaults) {

        $template = [];

        $template[] = "SyntaxHighlighter.defaults['auto-links'] = " . StringHelper::parseBoolean($defaults->getAutoLinks()) . ";";
        $template[] = "SyntaxHighlighter.defaults['class-name'] = \"" . $defaults->getClassName() . "\";";
        $template[] = "SyntaxHighlighter.defaults['collapse'] = " . StringHelper::parseBoolean($defaults->getCollapse()) . ";";
        $template[] = "SyntaxHighlighter.defaults['first-line'] = " . $defaults->getFirstLine() . ";";
        $template[] = "SyntaxHighlighter.defaults['gutter'] = " . StringHelper::parseBoolean($defaults->getGutter()) . ";";
        $template[] = "SyntaxHighlighter.defaults['highlight'] = [" . implode(",", $defaults->getHighlight()) . "];";
        $template[] = "SyntaxHighlighter.defaults['html-script'] = " . StringHelper::parseBoolean($defaults->getHtmlScript()) . ";";
        $template[] = "SyntaxHighlighter.defaults['smart-tabs'] = " . StringHelper::parseBoolean($defaults->getSmartTabs()) . ";";
        $template[] = "SyntaxHighlighter.defaults['tab-size'] = " . $defaults->getTabSize() . ";";
        $template[] = "SyntaxHighlighter.defaults['toolbar'] = " . StringHelper::parseBoolean($defaults->getToolbar()) . ";";

        return implode("\n", $template);
    }
protected function syntaxHighlighterDefaults(SyntaxHighlighterDefaults $defaults) {

        $template = [];

        $template[] = "SyntaxHighlighter.defaults['auto-links'] = " . StringHelper::parseBoolean($defaults->getAutoLinks()) . ";";
        $template[] = "SyntaxHighlighter.defaults['class-name'] = \"" . $defaults->getClassName() . "\";";
        $template[] = "SyntaxHighlighter.defaults['collapse'] = " . StringHelper::parseBoolean($defaults->getCollapse()) . ";";
        $template[] = "SyntaxHighlighter.defaults['first-line'] = " . $defaults->getFirstLine() . ";";
        $template[] = "SyntaxHighlighter.defaults['gutter'] = " . StringHelper::parseBoolean($defaults->getGutter()) . ";";
        $template[] = "SyntaxHighlighter.defaults['highlight'] = [" . implode(",", $defaults->getHighlight()) . "];";
        $template[] = "SyntaxHighlighter.defaults['html-script'] = " . StringHelper::parseBoolean($defaults->getHtmlScript()) . ";";
        $template[] = "SyntaxHighlighter.defaults['smart-tabs'] = " . StringHelper::parseBoolean($defaults->getSmartTabs()) . ";";
        $template[] = "SyntaxHighlighter.defaults['tab-size'] = " . $defaults->getTabSize() . ";";
        $template[] = "SyntaxHighlighter.defaults['toolbar'] = " . StringHelper::parseBoolean($defaults->getToolbar()) . ";";

        return implode("\n", $template);
    }
protected function syntaxHighlighterDefaults ( SyntaxHighlighterDefaults $ defaults ) { $ template = [ ] ; $ template [ ] = "SyntaxHighlighter.defaults['auto-links'] = " . StringHelper :: parseBoolean ( $ defaults -> getAutoLinks ( ) ) . ";" ; $ template [ ] = "SyntaxHighlighter.defaults['class-name'] = \"" . $ defaults -> getClassName ( ) . "\";" ; $ template [ ] = "SyntaxHighlighter.defaults['collapse'] = " . StringHelper :: parseBoolean ( $ defaults -> getCollapse ( ) ) . ";" ; $ template [ ] = "SyntaxHighlighter.defaults['first-line'] = " . $ defaults -> getFirstLine ( ) . ";" ; $ template [ ] = "SyntaxHighlighter.defaults['gutter'] = " . StringHelper :: parseBoolean ( $ defaults -> getGutter ( ) ) . ";" ; $ template [ ] = "SyntaxHighlighter.defaults['highlight'] = [" . implode ( "," , $ defaults -> getHighlight ( ) ) . "];" ; $ template [ ] = "SyntaxHighlighter.defaults['html-script'] = " . StringHelper :: parseBoolean ( $ defaults -> getHtmlScript ( ) ) . ";" ; $ template [ ] = "SyntaxHighlighter.defaults['smart-tabs'] = " . StringHelper :: parseBoolean ( $ defaults -> getSmartTabs ( ) ) . ";" ; $ template [ ] = "SyntaxHighlighter.defaults['tab-size'] = " . $ defaults -> getTabSize ( ) . ";" ; $ template [ ] = "SyntaxHighlighter.defaults['toolbar'] = " . StringHelper :: parseBoolean ( $ defaults -> getToolbar ( ) ) . ";" ; return implode ( "\n" , $ template ) ; }
Displays a SyntaxHighlighter defaults.

@param SyntaxHighlighterDefaults $defaults The defaults.
@return string Returns the SyntaxHighlighter defaults.
Displays a SyntaxHighlighter defaults .