MediaWiki REL1_30
SyntaxHighlight.GeSHi.php
Go to the documentation of this file.
1<?php
23class GeSHi {
24 public function __construct( $html ) {
25 $this->html = $html;
26 }
27
28 public function error() {
29 }
30
31 public function set_language( $language ) {
32 }
33
34 public function parse_code() {
35 global $wgOut;
36 $wgOut->addModuleStyles( 'ext.pygments' );
37 return $this->html;
38 }
39}
$wgOut
Definition Setup.php:827
This program is free software; you can redistribute it and/or modify it under the terms of the GNU Ge...
__construct( $html)
set_language( $language)
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped noclasses just before the function returns a value If you return an< a > element with HTML attributes $attribs and contents $html will be returned If you return $ret will be returned and may include noclasses & $html
Definition hooks.txt:1983