API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
enum GESHI_ACTIVE |
Links in the source in the :active state
enum GESHI_AFTER |
The key of the regex array defining what bracket group in a matched search to put after the replacement
enum GESHI_ALWAYS |
Strict mode always applies
enum GESHI_BEFORE |
The key of the regex array defining what bracket group in a matched search to put before the replacement
enum GESHI_CAPS_LOWER |
Leave keywords found as the case that they are
enum GESHI_CAPS_NO_CHANGE |
Lowercase keywords found
enum GESHI_CAPS_UPPER |
Uppercase keywords found
enum GESHI_CLASS |
The key of the regex array defining a custom keyword to use for this regexp's html tag class
enum GESHI_COMMENTS |
Used in language files to mark comments
enum GESHI_END_IMPORTANT |
The ender for important parts of the source
GeSHi could not open a file for reading (generally a language file)
The header type passed to GeSHi->set_header_type() was invalid
The line number type passed to GeSHi->enable_line_numbers() was invalid
enum GESHI_ERROR_NO_INPUT |
No sourcecode to highlight was specified
The language specified does not exist
Use fancy line numbers when building the result
enum GESHI_HEADER_DIV |
Use a "div" to surround the source
enum GESHI_HEADER_NONE |
Use nothing to surround the source
enum GESHI_HEADER_PRE |
Use a "pre" to surround the source
Use a "table" to surround the source:
$header</thead> <tbody>
$linenumbers
$code>
</tbody> <tfooter>
$footer</tfoot>
this is essentially only a workaround for Firefox, see sf#1651996 or take a look at https://bugzilla.mozilla.org/show_bug.cgi?id=365805
Use a pre to wrap lines when line numbers are enabled or to wrap the whole code.
enum GESHI_HOVER |
Links in the source in the :hover state
enum GESHI_LANG_ROOT |
The language file directory for GeSHi private
enum GESHI_LINK |
Links in the source in the :link state
it's also important not to generate too long regular expressions be generous here... but keep in mind, that when reaching this limit we still have to close open patterns. 12k should do just fine on a 16k limit.
make sure we can call stripos some old PHP / PCRE subpatterns only support up to xxx subpatterns in regular expressions. Set this to false if your PCRE lib is up to date
enum GESHI_MAYBE |
Strict mode *might* apply, and can be enabled or disabled by GeSHi->enable_strict_mode()
enum GESHI_MODIFIERS |
The key of the regex array defining any modifiers to the regular expression
enum GESHI_NEVER |
#@+ private Strict mode never applies (this is the most common)
Use no line numbers when building the result
Use normal line numbers when building the result
Number format to highlight binary numbers with a prefix 0b (C)
Number format to highlight binary numbers with a prefix %
Number format to highlight binary numbers with a suffix "b"
Number format to highlight floating-point numbers without support for scientific notation
Number format to highlight floating-point numbers without support for scientific notation
Number format to highlight floating-point numbers with support for scientific notation (E) and optional leading zero
Number format to highlight floating-point numbers with support for scientific notation (E) and required leading digit
Number format to highlight hex numbers with a prefix 0x
Number format to highlight hex numbers with a prefix $
Number format to highlight hex numbers with a suffix of h
Basic number format for integers
Enhanced number format for integers like seen in C
Number format to highlight octal numbers with a leading zero
Number format to highlight octal numbers with a prefix 0o (logtalk)
Number format to highlight octal numbers with a leading @ (Used in HiSofts Devpac series).
Number format to highlight octal numbers with a suffix of o
enum GESHI_PHP_PRE_433 |
Used to work around missing PHP features
enum GESHI_REPLACE |
The key of the regex array defining what bracket group in a matched search to use as a replacement
enum GESHI_SEARCH |
The key of the regex array defining what to search for
The starter for important parts of the source
enum GESHI_VERSION |
The version of this GeSHi file
enum GESHI_VISITED |
Links in the source in the :visited state