MediaWiki REL1_34
GeSHi.php
Go to the documentation of this file.
1<?php
23class GeSHi {
24
25 private $html;
26
27 public function __construct( $html ) {
28 $this->html = $html;
29 }
30
31 public function error() {
32 }
33
34 public function set_language( $language ) {
35 }
36
37 public function parse_code() {
38 global $wgOut;
39 $wgOut->addModuleStyles( 'ext.pygments' );
40 return $this->html;
41 }
42}
$wgOut
Definition Setup.php:885
This program is free software; you can redistribute it and/or modify it under the terms of the GNU Ge...
Definition GeSHi.php:23
$html
Definition GeSHi.php:25
__construct( $html)
Definition GeSHi.php:27
set_language( $language)
Definition GeSHi.php:34
parse_code()
Definition GeSHi.php:37
error()
Definition GeSHi.php:31