Méthode | Description | |
---|---|---|
getEnableCopyCode ( ) : boolean | ||
getLanguage ( ) : string | ||
getLineNumberStyle ( ) : |
||
getShowLineNumbers ( ) : boolean | ||
getTabSize ( ) : integer | ||
onPreRender ( $writer ) | Registers css style for the highlighted result. | |
processText ( $text ) : string | Processes a text string. | |
render ( $writer ) | ||
setEnableCopyCode ( $value ) | ||
setLanguage ( $value ) | ||
setLineNumberStyle ( $value ) | ||
setShowLineNumbers ( $value ) | ||
setTabSize ( $value ) |
Méthode | Description | |
---|---|---|
getHeaderTemplate ( ) : string | ||
getTagName ( ) : string | ||
registerStyleSheet ( ) | Registers the stylesheet for presentation. |
public getEnableCopyCode ( ) : boolean | ||
Résultat | boolean | true will show "Copy Code" link. Defaults to false. |
protected getHeaderTemplate ( ) : string | ||
Résultat | string | header template with "Copy code" link. |
public getLanguage ( ) : string | ||
Résultat | string | language whose syntax is to be used for highlighting. Defaults to 'php'. |
public getLineNumberStyle ( ) : |
||
Résultat | style of row number, Table by default |
public getShowLineNumbers ( ) : boolean | ||
Résultat | boolean | whether to show line numbers in the highlighted result. |
public getTabSize ( ) : integer | ||
Résultat | integer | tab size. Defaults to 4. |
protected getTagName ( ) : string | ||
Résultat | string | tag name of the panel |
public onPreRender ( $writer ) |
public processText ( $text ) : string | ||
Résultat | string | the processed text result |
protected registerStyleSheet ( ) |