MediaWiki  1.34.4
GeSHi.php
Go to the documentation of this file.
1 <?php
23 class 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 }
GeSHi\__construct
__construct( $html)
Definition: GeSHi.php:27
GeSHi\set_language
set_language( $language)
Definition: GeSHi.php:34
GeSHi\error
error()
Definition: GeSHi.php:31
GeSHi\parse_code
parse_code()
Definition: GeSHi.php:37
GeSHi
This program is free software; you can redistribute it and/or modify it under the terms of the GNU Ge...
Definition: GeSHi.php:23
$wgOut
$wgOut
Definition: Setup.php:885
GeSHi\$html
$html
Definition: GeSHi.php:25