public function highlightText($text, $language, $withStylesheet = false)
    {
        $this->_getGeshi();
        $this->_geshi->set_source($text);
        $this->_geshi->set_language($language);
        return !$withStylesheet ?
            $this->_geshi->parse_code() :
            $this->_includeStylesheet() . $this->_geshi->parse_code();
    }
public function highlightText($text, $language, $withStylesheet = false)
    {
        $this->_getGeshi();
        $this->_geshi->set_source($text);
        $this->_geshi->set_language($language);
        return !$withStylesheet ?
            $this->_geshi->parse_code() :
            $this->_includeStylesheet() . $this->_geshi->parse_code();
    }
public function highlightText ( $ text , $ language , $ withStylesheet = false ) { $ this -> _getGeshi ( ) ; $ this -> _geshi -> set_source ( $ text ) ; $ this -> _geshi -> set_language ( $ language ) ; return ! $ withStylesheet ? $ this -> _geshi -> parse_code ( ) : $ this -> _includeStylesheet ( ) . $ this -> _geshi -> parse_code ( ) ; }
Highlight all the provided text as a given language.

@param string $text The text to highight.
@param string $language The language to highlight as.
@param bool $withStylesheet If true will include GeSHi's generated stylesheet.
@return string Highlighted HTML.
Highlight all the provided text as a given language .