ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ldif.php
Go to the documentation of this file.
1<?php
2/*************************************************************************************
3 * ldif.php
4 * --------
5 * Author: Bruno Harbulot (Bruno.Harbulot@manchester.ac.uk)
6 * Copyright: (c) 2005 deguix, (c) 2010 Bruno Harbulot
7 * Release Version: 1.0.9.0
8 * Date Started: 2010/03/01
9 *
10 * LDIF language file for GeSHi.
11 *
12 * CHANGES
13 * -------
14 * 2010/03/01 (1.0.8.11)
15 * - First Release
16 * - Derived from ini.php (INI language), (c) 2005 deguix
17 *
18 * -------------------------
19 *
20 *************************************************************************************
21 *
22 * This file is part of GeSHi.
23 *
24 * GeSHi is free software; you can redistribute it and/or modify
25 * it under the terms of the GNU General Public License as published by
26 * the Free Software Foundation; either version 2 of the License, or
27 * (at your option) any later version.
28 *
29 * GeSHi is distributed in the hope that it will be useful,
30 * but WITHOUT ANY WARRANTY; without even the implied warranty of
31 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32 * GNU General Public License for more details.
33 *
34 * You should have received a copy of the GNU General Public License
35 * along with GeSHi; if not, write to the Free Software
36 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
37 *
38 ************************************************************************************/
39
41 'LANG_NAME' => 'LDIF',
42 'COMMENT_SINGLE' => array(1 => '#'),
43 'COMMENT_MULTI' => array(),
44 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
45 'QUOTEMARKS' => array(),
46 'ESCAPE_CHAR' => '',
47 'KEYWORDS' => array(
48 ),
49 'SYMBOLS' => array(
50 ),
51 'CASE_SENSITIVE' => array(
52 GESHI_COMMENTS => false
53 ),
54 'STYLES' => array(
55 'KEYWORDS' => array(
56 ),
57 'COMMENTS' => array(
58 1 => 'color: #666666; font-style: italic;'
59 ),
60 'ESCAPE_CHAR' => array(
61 0 => ''
62 ),
63 'BRACKETS' => array(
64 0 => ''
65 ),
66 'STRINGS' => array(
67 0 => 'color: #933;'
68 ),
69 'NUMBERS' => array(
70 0 => ''
71 ),
72 'METHODS' => array(
73 0 => ''
74 ),
75 'SYMBOLS' => array(
76 ),
77 'REGEXPS' => array(
78 0 => 'color: #000066; font-weight: bold;',
79 1 => 'color: #FF0000;'
80 ),
81 'SCRIPT' => array(
82 0 => ''
83 )
84 ),
85 'URLS' => array(
86 ),
87 'OOLANG' => false,
88 'OBJECT_SPLITTERS' => array(
89 ),
90 'REGEXPS' => array(
91 0 => array(
92 GESHI_SEARCH => '([a-zA-Z0-9_]+):(.+)',
93 GESHI_REPLACE => '\\1',
94 GESHI_MODIFIERS => '',
95 GESHI_BEFORE => '',
96 GESHI_AFTER => ':\\2'
97 ),
98 1 => array(
99 // Evil hackery to get around GeSHi bug: <>" and ; are added so <span>s can be matched
100 // Explicit match on variable names because if a comment is before the first < of the span
101 // gets chewed up...
102 GESHI_SEARCH => '([<>";a-zA-Z0-9_]+):(.+)',
103 GESHI_REPLACE => '\\2',
104 GESHI_MODIFIERS => '',
105 GESHI_BEFORE => '\\1:',
106 GESHI_AFTER => ''
107 )
108 ),
109 'STRICT_MODE_APPLIES' => GESHI_NEVER,
110 'SCRIPT_DELIMITERS' => array(
111 ),
112 'HIGHLIGHT_STRICT_BLOCK' => array(
113 )
114);
An exception for terminatinating execution or to throw for unit testing.
const GESHI_CAPS_NO_CHANGE
Lowercase keywords found.
Definition: geshi.php:94
const GESHI_BEFORE
The key of the regex array defining what bracket group in a matched search to put before the replacem...
Definition: geshi.php:140
const GESHI_SEARCH
The key of the regex array defining what to search for.
Definition: geshi.php:132
const GESHI_AFTER
The key of the regex array defining what bracket group in a matched search to put after the replaceme...
Definition: geshi.php:143
const GESHI_REPLACE
The key of the regex array defining what bracket group in a matched search to use as a replacement.
Definition: geshi.php:135
const GESHI_COMMENTS
Used in language files to mark comments.
Definition: geshi.php:149
const GESHI_NEVER
#+ @access private
Definition: geshi.php:123
const GESHI_MODIFIERS
The key of the regex array defining any modifiers to the regular expression.
Definition: geshi.php:137
$language_data
Definition: ldif.php:40