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