ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
HFile_cfm45.php
Go to the documentation of this file.
1 <?php
2 $BEAUT_PATH = realpath(".") . "/Services/COPage/syntax_highlight/php";
3 if (!isset($BEAUT_PATH)) {
4  return;
5 }
6 require_once("$BEAUT_PATH/Beautifier/HFile.php");
7  class HFile_cfm45 extends HFile
8  {
9  public function HFile_cfm45()
10  {
11  $this->HFile();
12  /*************************************/
13  // Beautifier Highlighting Configuration File
14 //
15  /*************************************/
16  // Flags
17 
18  $this->nocase = "0";
19  $this->notrim = "0";
20  $this->perl = "0";
21 
22  // Colours
23 
24  $this->colours = array("");
25  $this->quotecolour = "blue";
26  $this->blockcommentcolour = "green";
27  $this->linecommentcolour = "green";
28 
29  // Indent Strings
30 
31  $this->indent = array();
32  $this->unindent = array();
33 
34  // String characters and delimiters
35 
36  $this->stringchars = array();
37  $this->delimiters = array();
38  $this->escchar = "";
39 
40  // Comment settings
41 
42  $this->linecommenton = array("");
43  $this->blockcommenton = array("");
44  $this->blockcommentoff = array("");
45 
46  // Keywords (keyword mapping to colour number)
47 
48  $this->keywords = array(
49  "[Tag" => "",
50  "Group" => "",
51  "-" => "",
52  "COLD" => "",
53  "FUSION" => "",
54  "Tags]" => "",
55  "0=\"Abort" => "",
56  "page" => "",
57  "processing" => "",
58  ":UEDS:<CFABORT>\"" => "",
59  "1=\"Embed" => "",
60  "Java" => "",
61  "applet" => "",
62  ":UEDS:<CFAPPLET>\"" => "",
63  "2=\"Application" => "",
64  "name" => "",
65  ":UEDS:<CFAPPLICATION>\"" => "",
66  "3=\"Associates" => "",
67  "sub" => "",
68  "tag" => "",
69  "to" => "",
70  "base" => "",
71  ":UEDS:<CFASSOCIATE>\"" => "",
72  "4=\"Authenticates" => "",
73  "a" => "",
74  "user" => "",
75  "for" => "",
76  "security" => "",
77  ":UEDS:<CFAUTHENTICATE>\"" => "",
78  "5=\"Break" => "",
79  "CFML" => "",
80  "loop" => "",
81  ":UEDS:<CFBREAK>\"" => "",
82  "6=\"Caches" => "",
83  "ColdFusion" => "",
84  "pages" => "",
85  ":UEDS:<CFCACHE>\"" => "",
86  "7=\"Utilized" => "",
87  "by" => "",
88  "CFSWITCH" => "",
89  ":UEDS:<CFCASE>\"" => "",
90  "8=\"Utilized" => "",
91  "CFTRY" => "",
92  ":UEDS:<CFCATCH>\"" => "",
93  "9=\"Table" => "",
94  "Column" => "",
95  "Header" => "",
96  ":UEDS:<CFCOL>\"" => "",
97  "10=\"Create" => "",
98  "and" => "",
99  "administer" => "",
100  "Verity" => "",
101  "collections" => "",
102  ":UEDS:<CFCOLLECTION>\"" => "",
103  "11=\"File" => "",
104  "content" => "",
105  "type" => "",
106  ":UEDS:<CFCONTENT>\"" => "",
107  "12=\"Define/set" => "",
108  "cookie" => "",
109  "variables" => "",
110  ":UEDS:<CFCOOKIE>\"" => "",
111  "13=\"Directory" => "",
112  "handling" => "",
113  "task" => "",
114  ":UEDS:<CFDIRECTORY>\"" => "",
115  "14=\"Else" => "",
116  "statement" => "",
117  ":UEDS:<CFELSE>\"" => "",
118  "15=\"Elseif" => "",
119  ":UEDS:<CFELSEIF>\"" => "",
120  "16=\"Display" => "",
121  "custom" => "",
122  "HTML" => "",
123  "error" => "",
124  ":UEDS:<CFERROR>\"" => "",
125  "17=\"Execute" => "",
126  "developer-specified" => "",
127  "process" => "",
128  "on" => "",
129  "server" => "",
130  ":UEDS:<CFEXECUTE>" => "",
131  "18=\"Abort" => "",
132  "current" => "",
133  ":UEDS:<CFEXIT>\"" => "",
134  "19=\"File" => "",
135  ":UEDS:<CFFILE>\"" => "",
136  "20=\"Build/validate" => "",
137  "form" => "",
138  "input" => "",
139  ":UEDS:<CFFORM>" => "",
140  "..." => "",
141  "</CFFORM>\"" => "",
142  "21=\"FTP" => "",
143  "file" => "",
144  "operations" => "",
145  ":UEDS:<CFFTP>\"" => "",
146  "22=\"Create" => "",
147  "tabular" => "",
148  "data" => "",
149  "grid" => "",
150  "control" => "",
151  ":UEDS:<CFGRID>\"" => "",
152  "23=\"Define" => "",
153  "CFGRID" => "",
154  "columns" => "",
155  ":UEDS:<CFGRIDCOLUMN>\"" => "",
156  "24=\"Define" => "",
157  "rows" => "",
158  ":UEDS:<CFRGRIDROW>\"" => "",
159  "25=\"Update" => "",
160  "ODBC" => "",
161  "source" => "",
162  "from" => "",
163  ":UEDS:<CFGRIDUPDATE>\"" => "",
164  "26=\"Generate" => "",
165  "HTTP" => "",
166  "Headers" => "",
167  ":UEDS:<CFHEADER>\"" => "",
168  "27=\"Writes" => "",
169  "text" => "",
170  "Head" => "",
171  ":UEDS:<CFHTMLHEAD>\"" => "",
172  "28=\"Get/post" => "",
173  "tasks" => "",
174  ":UEDS:<CFHTTP>\"" => "",
175  "29=\"Specfiy" => "",
176  "CFHTTP" => "",
177  "Post" => "",
178  "parameters" => "",
179  ":UEDS:<CFHTTPPARAM>\"" => "",
180  "30=\"If" => "",
181  ":UEDS:<CFIF>" => "",
182  "</CFIF>\"" => "",
183  "31=\"Impersonate" => "",
184  "defined" => "",
185  "in" => "",
186  "Advanced" => "",
187  "Security" => "",
188  ":UEDS:<CFIMPERSONATE>\"" => "",
189  "32=\"Embedded" => "",
190  "reference" => "",
191  ":UEDS:<CFINCLUDE>\"" => "",
192  "33=\"Create" => "",
193  "search" => "",
194  "index" => "",
195  ":UEDS:<CFINDEX>\"" => "",
196  "34=\"Create" => "",
197  "elements" => "",
198  ":UEDS:<CFINPUT>\"" => "",
199  "35=\"Insert" => "",
200  "record" => "",
201  ":UEDS:<CFINSERT>\"" => "",
202  "36=\"LDAP" => "",
203  "directory" => "",
204  "access" => "",
205  ":UEDS:<CFLDAP>\"" => "",
206  "37=\"Open" => "",
207  "CF" => "",
208  "Page" => "",
209  "or" => "",
210  ":UEDS:<CFLOCATION>\"" => "",
211  "38=\"Restrict" => "",
212  "blocks" => "",
213  "of" => "",
214  "code" => "",
215  "single" => "",
216  "threaded" => "",
217  ":UEDS:<CFLOCK>" => "",
218  "</CFLOCK>\"" => "",
219  "39=\"Repeat" => "",
220  "instructions" => "",
221  ":UEDS:<CFLOOP>" => "",
222  "</CFLOOP>\"" => "",
223  "40=\"Assemble/post" => "",
224  "email" => "",
225  ":UEDS:<CFMAIL>\"" => "",
226  "41=\"Attach" => "",
227  "add" => "",
228  "header" => "",
229  "an" => "",
230  "message" => "",
231  ":UEDS:<CFMAILPARAM>\"" => "",
232  "42=\"Invoke" => "",
233  ":UEDS:<CFMODULE>\"" => "",
234  "43=\"Create/use" => "",
235  "COM" => "",
236  "object" => "",
237  ":UEDS:<CFOBJECT>\"" => "",
238  "44=\"Display" => "",
239  "DB" => "",
240  "query" => "",
241  "output" => "",
242  ":UEDS:<CFOUTPUT>\"" => "",
243  "45=\"Define" => "",
244  "parameter/default" => "",
245  "value" => "",
246  ":UEDS:<CFPARAM>\"" => "",
247  "46=\"Retrieve" => "",
248  "msg" => "",
249  "POP" => "",
250  ":UEDS:<CFPOP>\"" => "",
251  "47=\"Suppresses" => "",
252  "extraneous" => "",
253  "white" => "",
254  "space" => "",
255  "other" => "",
256  ":UEDS:<CFPROCESSINGDIRECTIVE>\"" => "",
257  "48=\"Parameters" => "",
258  "stored" => "",
259  "procedure" => "",
260  ":UEDS:<CFPROCPARAM>\"" => "",
261  "49=\"Display" => "",
262  "results" => "",
263  ":UEDS:<CFPROCRESULT>\"" => "",
264  "50=\"Pass" => "",
265  "SQL" => "",
266  "database" => "",
267  ":UEDS:<CFQUERY>\"" => "",
268  "51=\"R/W/D" => "",
269  "keys" => "",
270  "values" => "",
271  "system" => "",
272  "registry" => "",
273  ":UEDS:<CFQUERYPARAM>\"" => "",
274  "52=\"Directly" => "",
275  "manipulate" => "",
276  ":UEDS:<CFREGISTRY>\"" => "",
277  "53=\"Embed" => "",
278  "Crystal" => "",
279  "Reports" => "",
280  "report" => "",
281  ":UEDS:<CFREPORT>\"" => "",
282  "54=\"Rethrows" => "",
283  "the" => "",
284  "currently" => "",
285  "active" => "",
286  "exception" => "",
287  ":UEDS:<CFRETHROW>\"" => "",
288  "55=\"Mark" => "",
289  "block" => "",
290  "script" => "",
291  ":UEDS:<CFSCRIPT>" => "",
292  "</SFSCRIPT>\"" => "",
293  "56=\"Execute" => "",
294  "Verify" => "",
295  "indexed" => "",
296  ":UEDS:<CFSEARCH>\"" => "",
297  "57=\"Create" => "",
298  "drop-down" => "",
299  "list" => "",
300  "CFFORM" => "",
301  ":UEDS:<CFSELECT>\"" => "",
302  "58=\"Execute" => "",
303  "servlet" => "",
304  "JRun" => "",
305  "engine" => "",
306  ":UEDS:<CFSERVLET>\"" => "",
307  "59=\"Passes" => "",
308  ":UEDS:<CFSERVLETPARAM>\"" => "",
309  "60=\"Define" => "",
310  "variable" => "",
311  ":UEDS:<CFSET>\"" => "",
312  "61=\"Define/control" => "",
313  "settings" => "",
314  ":UEDS:<CFSETTING>\"" => "",
315  "62=\"Suppress" => "",
316  "produced" => "",
317  "within" => "",
318  "tags" => "",
319  "scope" => "",
320  ":UEDS:<CFSILENT>\"" => "",
321  "63=\"Create" => "",
322  "slider" => "",
323  "element" => "",
324  ":UEDS:<CFSLIDER>\"" => "",
325  "64=\"Call" => "",
326  ":UEDS:<CFSTOREDPROC>\"" => "",
327  "65=\"Evalute" => "",
328  "passed" => "",
329  "expression" => "",
330  ":UEDS:<CFSWITCH>\"" => "",
331  "66=\"Build" => "",
332  "table" => "",
333  ":UEDS:<CFTABLE>\"" => "",
334  "67=\"Create" => "",
335  "single-line" => "",
336  "box" => "",
337  ":UEDS:<CFTEXTINPUT>\"" => "",
338  "68=\"Raise" => "",
339  ":UEDS:<CFTHROW>\"" => "",
340  "69=\"Groups" => "",
341  "CFQUERY" => "",
342  "into" => "",
343  "transaction" => "",
344  ":UEDS:<CFTRANSACTION>\"" => "",
345  "70=\"Create" => "",
346  "tree" => "",
347  ":UEDS:<CFTREE>\"" => "",
348  "71=\"Populate" => "",
349  ":UEDS:<CFTREEITEM>\"" => "",
350  "72=\"Catch" => "",
351  "exceptions" => "",
352  ":UEDS:<CFTRY>\"" => "",
353  "73=\"Update" => "",
354  "records" => "",
355  ":UEDS:<CFUPDATE>\"" => "",
356  "74=\"Serialize/De-serialize" => "",
357  "XML-based" => "",
358  "WDDX" => "",
359  "format" => "",
360  ":UEDS:<CFWDDX>\"" => "",
361  "75=\"" => "",
362  "[Group" => "",
363  "List]" => "",
364  "0=COLD" => "",
365  "Tags" => "",
366  "1=" => "");
367 
368  // Special extensions
369 
370  // Each category can specify a PHP function that returns an altered
371  // version of the keyword.
372 
373 
374 
375  $this->linkscripts = array(
376  "" => "donothing");
377  }
378 
379 
380  public function donothing($keywordin)
381  {
382  return $keywordin;
383  }
384  }
$BEAUT_PATH
Definition: HFile_cfm45.php:2
Create styles array
The data for the language used.
donothing($keywordin)
Definition: HFile.php:21