Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

MathRenderer Class Reference

List of all members.

Public Member Functions

 MathRenderer ($tex)
 setOutputMode ($mode)
 render ()
 _error ($msg, $append="")
 _recall ()
 _doRender ()
 _linkToMathImage ()

Public Attributes

 $mode = MW_MATH_MODERN
 $tex = ""
 $inputhash = ""
 $hash = ""
 $html = ""
 $mathml = ""
 $conservativeness = 0

Constructor & Destructor Documentation

MathRenderer::MathRenderer tex  ) 
 

Definition at line 19 of file Math.php.

References $tex.


Member Function Documentation

MathRenderer::_doRender  ) 
 

Definition at line 176 of file Math.php.

References _linkToMathImage(), MW_MATH_MATHML, MW_MATH_MODERN, MW_MATH_PNG, and MW_MATH_SIMPLE.

Referenced by render().

MathRenderer::_error msg,
append = ""
 

Definition at line 140 of file Math.php.

References _error(), and wfMsg().

Referenced by _error(), and render().

MathRenderer::_linkToMathImage  ) 
 

Definition at line 189 of file Math.php.

References $url, and $wgMathPath.

Referenced by _doRender().

MathRenderer::_recall  ) 
 

Definition at line 148 of file Math.php.

References $res, $sql, $wgMathDirectory, DB_READ, wfFetchObject(), wfQuery(), and wfStrencode().

Referenced by render().

MathRenderer::render  ) 
 

Definition at line 27 of file Math.php.

References $i, $res, $sql, $wgInputEncoding, $wgMathDirectory, $wgTexvc, $wgTmpDirectory, _doRender(), _error(), _recall(), DB_WRITE, MW_MATH_SOURCE, wfDebug(), wfQuery(), and wfStrencode().

MathRenderer::setOutputMode mode  ) 
 

Definition at line 23 of file Math.php.

References $mode, and setOutputMode().

Referenced by setOutputMode().


Member Data Documentation

MathRenderer::$conservativeness = 0
 

Definition at line 17 of file Math.php.

MathRenderer::$hash = ""
 

Definition at line 14 of file Math.php.

MathRenderer::$html = ""
 

Definition at line 15 of file Math.php.

MathRenderer::$inputhash = ""
 

Definition at line 13 of file Math.php.

MathRenderer::$mathml = ""
 

Definition at line 16 of file Math.php.

MathRenderer::$mode = MW_MATH_MODERN
 

Definition at line 11 of file Math.php.

Referenced by setOutputMode().

MathRenderer::$tex = ""
 

Definition at line 12 of file Math.php.

Referenced by MathRenderer().


The documentation for this class was generated from the following file:
Generated on Tue Jun 29 23:40:49 2004 for Mediawiki by doxygen 1.3.7