/geshi/geshi.php
GeSHi - Generic Syntax Highlighter
The GeSHi class for Generic Syntax Highlighting. Please refer to the documentation at http://qbnz.com/highlighter/documentation.php for more information about how to use this class.
For changes, release notes, TODOs etc, see the relevant files in the docs/ directory
This file is part of GeSHi.
GeSHi is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
GeSHi is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with GeSHi; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Class | Description |
---|---|
![]() |
The GeSHi Class. |
![](../media/images/Constant.png)
Links in the source in the :active state
![](../media/images/Constant.png)
Leave keywords found as the case that they are
![](../media/images/Constant.png)
Lowercase keywords found
![](../media/images/Constant.png)
Uppercase keywords found
![](../media/images/Constant.png)
Set the correct directory separator
![](../media/images/Constant.png)
The ender for important parts of the source
![](../media/images/Constant.png)
Use fancy line numbers when building the result
![](../media/images/Constant.png)
Use a "div" to surround the source
![](../media/images/Constant.png)
Use nothing to surround the source
![](../media/images/Constant.png)
Use a "pre" to surround the source
![](../media/images/Constant.png)
Links in the source in the :hover state
![](../media/images/Constant.png)
The language file directory for GeSHi
![](../media/images/Constant.png)
Links in the source in the :link state
![](../media/images/Constant.png)
Use normal line numbers when building the result
![](../media/images/Constant.png)
Use no line numbers when building the result
![](../media/images/Constant.png)
The root directory for GeSHi
![](../media/images/Constant.png)
The starter for important parts of the source
![](../media/images/Constant.png)
The version of this GeSHi file
![](../media/images/Constant.png)
Links in the source in the :visited state
Easy way to highlight stuff. Behaves just like highlight_string
- string $string: The code to highlight
- string $language: The language to highlight the code in
- string $path: The path to the language files. You can leave this blank if you need as from version 1.0.7 the path should be automatically detected
- boolean $return: Whether to return the result or to echo
Documentation generated on Mon, 05 Mar 2007 21:04:10 +0000 by phpDocumentor 1.3.1