Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
preservedocbooktags = false
2
 
3
;; used to highlight the {@source} inline tag, @filesource tag, and @example tag
4
[highlightSourceTokens]
5
;; format:
6
;; T_CONSTANTNAME = open
7
;; /T_CONSTANTNAME = close
8
 
9
T_INCLUDE = <span class="src-inc">
10
/T_INCLUDE = </span>
11
T_INCLUDE_ONCE = <span class="src-inc">
12
/T_INCLUDE_ONCE = </span>
13
T_REQUIRE_ONCE = <span class="src-inc">
14
/T_REQUIRE_ONCE = </span>
15
T_REQUIRE_ONCE = <span class="src-inc">
16
/T_REQUIRE_ONCE = </span>
17
 
18
T_CONSTANT_ENCAPSED_STRING = <span class="src-str">
19
/T_CONSTANT_ENCAPSED_STRING = </span>
20
T_STRING_VARNAME = <span class="src-str">
21
/T_STRING_VARNAME = </span>
22
 
23
T_STRING = <span class="src-id">
24
/T_STRING = </span>
25
 
26
T_DNUMBER = <span class="src-num">
27
/T_DNUMBER = </span>
28
T_LNUMBER = <span class="src-num">
29
/T_LNUMBER = </span>
30
 
31
T_VARIABLE = <span class="src-var">
32
/T_VARIABLE = </span>
33
 
34
T_COMMENT = <span class="src-comm">
35
/T_COMMENT = </span>
36
T_ML_COMMENT = <span class="src-comm">
37
/T_ML_COMMENT = </span>
38
 
39
T_OBJECT_OPERATOR = <span class="src-sym">
40
/T_OBJECT_OPERATOR = </span>
41
 
42
T_ABSTRACT = <span class="src-key">
43
/T_ABSTRACT = </span>
44
T_CLONE = <span class="src-key">
45
/T_CLONE = </span>
46
T_HALT_COMPILER = <span class="src-key">
47
/T_HALT_COMPILER = </span>
48
T_ARRAY = <span class="src-key">
49
/T_ARRAY = </span>
50
T_AS = <span class="src-key">
51
/T_AS = </span>
52
T_BREAK = <span class="src-key">
53
/T_BREAK = </span>
54
T_CLASS = <span class="src-key">
55
/T_CLASS = </span>
56
T_CASE = <span class="src-key">
57
/T_CASE = </span>
58
T_CONST = <span class="src-key">
59
/T_CONST = </span>
60
T_CONTINUE = <span class="src-key">
61
/T_CONTINUE = </span>
62
T_DECLARE = <span class="src-key">
63
/T_DECLARE = </span>
64
T_DEFAULT = <span class="src-key">
65
/T_DEFAULT = </span>
66
T_ELSE = <span class="src-key">
67
/T_ELSE = </span>
68
T_ELSEIF = <span class="src-key">
69
/T_ELSEIF = </span>
70
T_EMPTY = <span class="src-key">
71
/T_EMPTY = </span>
72
T_ENDDECLARE = <span class="src-key">
73
/T_ENDDECLARE = </span>
74
T_ENDFOR = <span class="src-key">
75
/T_ENDFOR = </span>
76
T_ENDSWITCH = <span class="src-key">
77
/T_ENDSWITCH = </span>
78
T_ENDFOREACH = <span class="src-key">
79
/T_ENDFOREACH = </span>
80
T_ENDIF = <span class="src-key">
81
/T_ENDIF = </span>
82
T_ENDWHILE = <span class="src-key">
83
/T_ENDWHILE = </span>
84
T_EXIT = <span class="src-key">
85
/T_EXIT = </span>
86
T_EXTENDS = <span class="src-key">
87
/T_EXTENDS = </span>
88
T_FINAL = <span class="src-key">
89
/T_FINAL = </span>
90
T_FOR = <span class="src-key">
91
/T_FOR = </span>
92
T_FOREACH = <span class="src-key">
93
/T_FOREACH = </span>
94
T_FUNCTION = <span class="src-key">
95
/T_FUNCTION = </span>
96
T_GLOBAL = <span class="src-key">
97
/T_GLOBAL = </span>
98
T_IF = <span class="src-key">
99
/T_IF = </span>
100
T_IMPLEMENTS = <span class="src-key">
101
/T_IMPLEMENTS = </span>
102
T_INTERFACE = <span class="src-key">
103
/T_INTERFACE = </span>
104
T_LOGICAL_AND = <span class="src-key">
105
/T_LOGICAL_AND = </span>
106
T_LOGICAL_OR = <span class="src-key">
107
/T_LOGICAL_OR = </span>
108
T_LOGICAL_XOR = <span class="src-key">
109
/T_LOGICAL_XOR = </span>
110
T_NEW = <span class="src-key">
111
/T_NEW = </span>
112
T_PRIVATE = <span class="src-key">
113
/T_PRIVATE = </span>
114
T_PROTECTED = <span class="src-key">
115
/T_PROTECTED = </span>
116
T_PUBLIC = <span class="src-key">
117
/T_PUBLIC = </span>
118
T_RETURN = <span class="src-key">
119
/T_RETURN = </span>
120
T_STATIC = <span class="src-key">
121
/T_STATIC = </span>
122
T_SWITCH = <span class="src-key">
123
/T_SWITCH = </span>
124
T_VAR = <span class="src-key">
125
/T_VAR = </span>
126
T_WHILE = <span class="src-key">
127
/T_WHILE = </span>
128
 
129
T_DOUBLE_COLON = <span class="src-sym">
130
/T_DOUBLE_COLON = </span>
131
 
132
T_OPEN_TAG = <span class="src-php">
133
/T_OPEN_TAG = </span>
134
T_OPEN_TAG_WITH_ECHO = <span class="src-php">
135
/T_OPEN_TAG_WITH_ECHO = </span>
136
T_CLOSE_TAG = <span class="src-php">
137
/T_CLOSE_TAG = </span>
138
 
139
 
140
[highlightSource]
141
;; this is for highlighting things that aren't tokens like "&"
142
;; format:
143
;; word = open
144
;; /word = close
145
@ = <span class="src-sym">
146
/@ = </span>
147
& = <span class="src-sym">
148
/& = </span>
149
[ = <span class="src-sym">
150
/[ = </span>
151
] = <span class="src-sym">
152
/] = </span>
153
! = <span class="src-sym">
154
/! = </span>
155
";" = <span class="src-sym">
156
/; = </span>
157
( = <span class="src-sym">
158
/( = </span>
159
) = <span class="src-sym">
160
/) = </span>
161
, = <span class="src-sym">
162
/, = </span>
163
{ = <span class="src-sym">
164
/{ = </span>
165
} = <span class="src-sym">
166
/} = </span>
167
""" = <span class="src-str">
168
/" = </span>
169
 
170
[highlightDocBlockSourceTokens]
171
;; this is for docblock tokens, using by phpDocumentor_HighlightParser
172
;; tagphptype is for "string" in @param string description, for example
173
docblock = <span class="src-doc">
174
/docblock = </span>
175
tagphptype = <span class="src-doc-type">
176
/tagphptype = </span>
177
tagvarname = <span class="src-doc-var">
178
/tagvarname = </span>
179
coretag = <span class="src-doc-coretag">
180
/coretag = </span>
181
tag = <span class="src-doc-tag">
182
/tag = </span>
183
inlinetag = <span class="src-doc-inlinetag">
184
/inlinetag = </span>
185
internal = <span class="src-doc-internal">
186
/internal = </span>
187
closetemplate = <span class="src-doc-close-template">
188
/closetemplate = </span>
189
docblocktemplate = <span class="src-doc-template">
190
/docblocktemplate = </span>
191
 
192
[highlightTutorialSourceTokens]
193
;; this is for XML DocBook-based tutorials, highlighted by phpDocumentor_TutorialHighlightParser
194
;; <tag>
195
opentag = <span class="tute-tag">
196
/opentag = </span>
197
;; </tag>
198
closetag = <span class="tute-tag">
199
/closetag = </span>
200
;; <tag attribute="value">
201
attribute = <span class="tute-attribute-name">
202
/attribute = </span>
203
;; <tag attribute="value">
204
attributevalue = <span class="tute-attribute-value">
205
/attributevalue = </span>
206
;; &entity;
207
entity = <span class="tute-entity">
208
/entity = </span>
209
;; <!-- comment -->
210
comment = <span class="tute-comment">
211
/comment = </span>
212
;; {@inline tag}
213
itag = <span class="tute-inline-tag">
214
/itag = </span>
215
 
216
;; used for translation of html in DocBlocks
217
[desctranslate]
218
ul = <ul>
219
/ul = </ul>
220
ol = <ol>
221
/ol = </ol>
222
li = <li>
223
/li = </li>
224
code =
225
/code =
226
var = <var>
227
/var = </var>
228
samp = <samp>
229
/samp = </samp>
230
kbd = <kbd>
231
/kbd = </kbd>
232
pre = <pre>
233
/pre = </pre>
234
p = <p>
235
/p = </p>
236
b = <strong>
237
/b = </strong>
238
i = <em>
239
/i = </em>
240
br = <br />
241
 
242
[ppage]
243
;; this is the DocBook package page translation section.  All DocBook tags
244
;; that have a corresponding html tag must be listed here.  Entities should
245
;; also be listed here
246
;;
247
;; examples:
248
;; 1)
249
;; tagname = newtagname
250
;;
251
;; This is the simplest case, where all attributes will be added into the
252
;; starting tag and the ending tag will be html/xml style </tranlatedtagname>
253
;; <tagname></tagname> becomes <newtagname></newtagname> and
254
;; <tagname attr="value"></tagname> becomes
255
;; <newtagname attr="value"></newtagname>
256
;;
257
;; 2)
258
;; tagname = newtagname
259
;; tagname->attr = newattrname
260
;;
261
;; in this case, everything will be like the first case, except tags like:
262
;; <tagname attr="value"></tagname> will become
263
;; <newtagname newattrname="value"></newtagname>
264
;;
265
;; 3)
266
;; tagname = newtagname
267
;; tagname->attr = newattrname
268
;; tagname->attr+value = newvalue
269
;;
270
;; in this case, the value is also translated to another.  This can be useful
271
;; for instances such as focus="middle" changing to align="center" or something
272
;; of that nature.
273
;; <tagname attr="value"></tagname> will become
274
;; <newtagname newattrname="newvalue"></newtagname>
275
;;
276
;; 4)
277
;; tagname = newtagname
278
;; tagname->attr1 = newattrname
279
;; tagname->attr2 = newattrname
280
;; tagname->attr1+value|attr2+value = newvalue
281
;;
282
;; in this case, two attributes combine to make one new attribute, and the combined
283
;; value is translated into a new value
284
;; <tagname attr1="value1" attr2="value2"></tagname> will become
285
;; <newtagname newattrname="newvalue"></newtagname>
286
;;
287
;; 5)
288
;; tagname = newtagname
289
;; tagname!attr = dummy
290
;;
291
;; here, the attribute will be ignored.  dummy is not used and may be any value
292
;; <tagname attr="value"></tagname> will become
293
;; <newtagname></newtagname>
294
;;
295
;; 6)
296
;; tagname = newtagname
297
;; tagname! = dummy
298
;;
299
;; here, all attributes will be ignored.  dummy is not used and may be any value
300
;; <tagname attr1="value" attr2="foo"></tagname> will become
301
;; <newtagname></newtagname>
302
;;
303
;; 7)
304
;; tagname = newtagname
305
;; tagname/ = 1
306
;;
307
;; here, the tag will be translated as a single tag with no closing tag, and all
308
;; attributes
309
;; <tagname attr="val">{text text}</tagname> will become
310
;; <newtagname attr="val" />
311
;;
312
;; 8)
313
;; tagname = <starttaginfo />
314
;; /tagname = closetagtext
315
;;
316
;; in this case, the text <starttaginfo> will be inserted exactly as entered for
317
;; <tagname> and closetagtext for </tagname>
318
;; <tagname attr="val"></tagname> will become
319
;; <starttaginfo />closetagtext
320
;;
321
;; 9)
322
;; $attr$my_attribute = newattrname
323
;;
324
;; tagname = newtagname
325
;;
326
;; in this case, all occurences of my_attribute in any tag will be changed to
327
;; newattrname.  This is useful for changing things like role="php" to
328
;; class="php," for example.  Note that the text "$attr$" MUST be on the line
329
;; start for phpDocumentor to recognize it.
330
;;
331
;; 10)
332
;; &entity; = translation text
333
;; &quot; = &quot;
334
;; &quot; = """
335
;; &lt; = <
336
;;
337
;; Use this to control translation of entities to their appropriate values
338
 
339
&nbsp; = &nbsp;
340
&quot; = &quot;
341
&rdquo; = &rdquo;
342
&ldquo; = &ldquo;
343
&amp; = &amp;
344
&lt; = &lt;
345
&gt; = &gt;
346
&copy; = &copy;
347
 
348
$attr$role = class
349
 
350
abbrev = abbr
351
 
352
blockquote = blockquote
353
 
354
arg = span
355
arg->choice = class
356
 
357
author = <span class="author">
358
/author = </span>
359
author! = 0
360
 
361
authorblurb = <div class="author-blurb">
362
/authorblurb = </div>
363
 
364
authorgroup = <div class="authors"><h2 class="title">Authors</h2>
365
/authorgroup = </div>
366
authorgroup! = 0
367
 
368
caution = <span class="warning">
369
/caution = </span>
370
caution! = 0
371
 
372
cmdsynopsis = <div class="cmd-synopsis">
373
/cmdsynopsis = </div>
374
 
375
command = <span class="cmd-title">
376
/command = </span>
377
 
378
copyright = <div class="notes">
379
/copyright = </div>
380
 
381
emphasis = em
382
 
383
example = <div class="src-code">
384
/example = </div>
385
example! = 0
386
 
387
formalpara = p
388
 
389
graphic = img
390
graphic->fileref = src
391
graphic/ =
392
 
393
function =
394
/function = ()
395
 
396
important = strong
397
 
398
informalequation = blockquote
399
 
400
informalexample = div
401
 
402
inlineequation = em
403
 
404
itemizedlist = ul
405
 
406
listitem = li
407
 
408
literal = code
409
 
410
literallayout = span
411
 
412
option = " "
413
/option =
414
 
415
orderedlist = ol
416
 
417
para = p
418
 
419
programlisting = <div class="src-code">
420
/programlisting = </div>
421
programlisting! = 0
422
 
423
refentry = div
424
 
425
refnamediv = <div class="ref-title-box">
426
/refnamediv = </div>
427
refnamediv! = 0
428
 
429
refname = <h1 class="ref-title">
430
/refname = </h1>
431
 
432
refpurpose = <h2 class="ref-purpose">
433
/refpurpose = </h2>
434
 
435
refsynopsisdiv = <div class="ref-synopsis">
436
/refsynopsisdiv = </div>
437
refsynopsisdiv! = 0
438
 
439
refsect1 = span
440
 
441
refsect2 = span
442
 
443
refsect3 =
444
/refsect3 = <br />
445
 
446
releaseinfo = <div class="release-info">(
447
/releaseinfo = )</div>
448
 
449
simpara =
450
/simpara = <br />
451
simpara! = 0
452
 
453
subscript = sub
454
 
455
superscript = super
456
 
457
table = table
458
 
459
table->colsep = rules
460
table->rowsep = rules
461
table->colsep+1|rowsep+1 =all
462
table->colsep+1|rowsep+0 =cols
463
table->colsep+0|rowsep+1 =rows
464
 
465
table->frame =frame
466
table->frame+all =border
467
table->frame+none =void
468
table->frame+sides =vsides
469
table->frame+top =above
470
table->frame+topbot =hsides
471
 
472
thead = thead
473
 
474
tfoot = tfoot
475
 
476
tbody = tbody
477
 
478
colspec = col
479
 
480
tgroup = colgroup
481
tgroup/ = 1
482
tgroup->cols = span
483
 
484
row = tr
485
 
486
entry = td
487
entry->morerows = colspan
488
entry->morerows+1 =2
489
entry->morerows+2 =3
490
entry->morerows+3 =4
491
entry->morerows+4 =5
492
entry->morerows+5 =6
493
entry->morerows+6 =7
494
entry->morerows+7 =8
495
entry->morerows+8 =9
496
entry->morerows+9 =10
497
entry->morerows+10 =11
498
;; add more if you need more colspans
499
 
500
warning = <span class="warning">
501
/warning = </span>
502
warning! = 0
503
 
504
;; now begins the attributes that should be tags in cdata
505
[$attr$id]
506
open = a
507
;close = /a
508
cdata! = true
509
quotevalues = true
510
separator = "="
511
;separateall = true
512
$id = name
513
 
514
;; now begins the sections that deal with <title>
515
[refsynopsisdiv_title]
516
;tag_attr = true
517
;attr_name = title
518
cdata_start = true
519
;cdata_end = true
520
open = <h1 class="title">
521
close = </h1>
522
 
523
[refsect1_title]
524
;tag_attr = true
525
;attr_name = title
526
cdata_start = true
527
;cdata_end = true
528
open = <h2 class="title">
529
close = </h2>
530
 
531
[refsect2_title]
532
;tag_attr = true
533
;attr_name = title
534
cdata_start = true
535
;cdata_end = true
536
open = <h3 class="title">
537
close = </h3>
538
 
539
[refsect3_title]
540
;tag_attr = true
541
;attr_name = title
542
cdata_start = true
543
;cdata_end = true
544
open = <h4 class="title">
545
close = </h4>
546
 
547
[para_title]
548
;tag_attr = true
549
;attr_name = title
550
cdata_start = true
551
;cdata_end = true
552
open = <div class="title">
553
close = </div>
554
 
555
[formalpara_title]
556
;tag_attr = true
557
;attr_name = title
558
cdata_start = true
559
;cdata_end = true
560
open = <div class="title">
561
close = </div>
562
 
563
[example_title]
564
;tag_attr = true
565
;attr_name = title
566
;cdata_start = true
567
cdata_end = true
568
open = </td></tr><tr><td><strong>
569
close = </strong>
570
 
571
[table_title]
572
;tag_attr = true
573
;attr_name = true
574
cdata_start = true
575
open = <caption>
576
close = </caption>