MediaWiki
REL1_34
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
}
$wgOut
$wgOut
Definition
Setup.php:885
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
GeSHi\$html
$html
Definition
GeSHi.php:25
GeSHi\__construct
__construct( $html)
Definition
GeSHi.php:27
GeSHi\set_language
set_language( $language)
Definition
GeSHi.php:34
GeSHi\parse_code
parse_code()
Definition
GeSHi.php:37
GeSHi\error
error()
Definition
GeSHi.php:31
extensions
SyntaxHighlight_GeSHi
includes
GeSHi.php
Generated on Mon Nov 25 2024 16:04:44 for MediaWiki by
1.10.0