| 1 |
lars |
1 |
preservedocbooktags = false
|
|
|
2 |
|
|
|
3 |
;; used to highlight the {@source} inline tag
|
|
|
4 |
[highlightSourceTokens]
|
|
|
5 |
;; format:
|
|
|
6 |
;; T_CONSTANTNAME = open
|
|
|
7 |
;; /T_CONSTANTNAME = close
|
|
|
8 |
T_FUNCTION = <b><c:textcolor:#0000FF>
|
|
|
9 |
/T_FUNCTION = </c:textcolor></b>
|
|
|
10 |
T_CLONE = <b><c:textcolor:#0000FF>
|
|
|
11 |
/T_CLONE = </c:textcolor></b>
|
|
|
12 |
T_HALT_COMPILER = <b><c:textcolor:#0000FF>
|
|
|
13 |
/T_HALT_COMPILER = </c:textcolor></b>
|
|
|
14 |
T_VARIABLE = <b><i><c:textcolor:#000080>
|
|
|
15 |
/T_VARIABLE = </c:textcolor></i></b>
|
|
|
16 |
T_CONSTANT_ENCAPSED_STRING = <i>
|
|
|
17 |
/T_CONSTANT_ENCAPSED_STRING = </i>
|
|
|
18 |
T_COMMENT = <i><c:textcolor:#339999>
|
|
|
19 |
/T_COMMENT = </c:textcolor></i>
|
|
|
20 |
T_OBJECT_OPERATOR = <b>
|
|
|
21 |
/T_OBJECT_OPERATOR = </b>
|
|
|
22 |
T_RETURN = <b><c:textcolor:#0000FF>
|
|
|
23 |
/T_RETURN = </c:textcolor></b>
|
|
|
24 |
T_SWITCH = <b><c:textcolor:#0000FF>
|
|
|
25 |
/T_SWITCH = </c:textcolor></b>
|
|
|
26 |
T_STATIC = <b><c:textcolor:#0000FF>
|
|
|
27 |
/T_STATIC = </c:textcolor></b>
|
|
|
28 |
T_IF = <b><c:textcolor:#0000FF>
|
|
|
29 |
/T_IF = </c:textcolor></b>
|
|
|
30 |
T_FOREACH = <b><c:textcolor:#0000FF>
|
|
|
31 |
/T_FOREACH = </c:textcolor></b>
|
|
|
32 |
T_FOR = <b><c:textcolor:#0000FF>
|
|
|
33 |
/T_FOR = </c:textcolor></b>
|
|
|
34 |
T_WHILE = <b><c:textcolor:#0000FF>
|
|
|
35 |
/T_WHILE = </c:textcolor></b>
|
|
|
36 |
T_DO = <b><c:textcolor:#0000FF>
|
|
|
37 |
/T_DO = </c:textcolor></b>
|
|
|
38 |
T_CLASS = <b><c:textcolor:#0000FF>
|
|
|
39 |
/T_CLASS = </c:textcolor></b>
|
|
|
40 |
T_EXTENDS = <b><c:textcolor:#0000FF>
|
|
|
41 |
/T_EXTENDS = </c:textcolor></b>
|
|
|
42 |
T_VAR = <b><c:textcolor:#0000FF>
|
|
|
43 |
/T_VAR = </c:textcolor></b>
|
|
|
44 |
T_GLOBAL = <b><c:textcolor:#0000FF>
|
|
|
45 |
/T_GLOBAL = </c:textcolor></b>
|
|
|
46 |
T_ELSE = <b><c:textcolor:#0000FF>
|
|
|
47 |
/T_ELSE = </c:textcolor></b>
|
|
|
48 |
T_ELSEIF = <b><c:textcolor:#0000FF>
|
|
|
49 |
/T_ELSEIF = </c:textcolor></b>
|
|
|
50 |
T_NEW = <b><c:textcolor:#0000FF>
|
|
|
51 |
/T_NEW = </c:textcolor></b>
|
|
|
52 |
T_CONSTANT_ENCAPSED_STRING = <c:textcolor:#339999>
|
|
|
53 |
/T_CONSTANT_ENCAPSED_STRING = </c:textcolor>
|
|
|
54 |
T_STRING_VARNAME = <c:textcolor:#339999>
|
|
|
55 |
/T_STRING_VARNAME = </c:textcolor>
|
|
|
56 |
T_INCLUDE = <b><c:textcolor:#0000FF>
|
|
|
57 |
/T_INCLUDE = </c:textcolor></b>
|
|
|
58 |
T_INCLUDE_ONCE = <b><c:textcolor:#0000FF>
|
|
|
59 |
/T_INCLUDE_ONCE = </c:textcolor></b>
|
|
|
60 |
T_REQUIRE = <b><c:textcolor:#0000FF>
|
|
|
61 |
/T_REQUIRE = </c:textcolor></b>
|
|
|
62 |
T_REQUIRE_ONCE = <b><c:textcolor:#0000FF>
|
|
|
63 |
/T_REQUIRE_ONCE = </c:textcolor></b>
|
|
|
64 |
T_DNUMBER = <c:textcolor:#53AC46>
|
|
|
65 |
/T_DNUMBER = </c:textcolor>
|
|
|
66 |
T_LNUMBER = <c:textcolor:#53AC46>
|
|
|
67 |
/T_LNUMBER = </c:textcolor>
|
|
|
68 |
T_AS = <b><c:textcolor:#0000FF>
|
|
|
69 |
/T_AS = </c:textcolor></b>
|
|
|
70 |
T_BREAK = <b><c:textcolor:#0000FF>
|
|
|
71 |
/T_BREAK = </c:textcolor></b>
|
|
|
72 |
T_CASE = <b><c:textcolor:#0000FF>
|
|
|
73 |
/T_CASE = </c:textcolor></b>
|
|
|
74 |
T_CONTINUE = <b><c:textcolor:#0000FF>
|
|
|
75 |
/T_CONTINUE = </c:textcolor></b>
|
|
|
76 |
T_DECLARE = <b><c:textcolor:#0000FF>
|
|
|
77 |
/T_DECLARE = </c:textcolor></b>
|
|
|
78 |
T_DEFAULT = <b><c:textcolor:#0000FF>
|
|
|
79 |
/T_DEFAULT = </c:textcolor></b>
|
|
|
80 |
T_ENDDECLARE = <b><c:textcolor:#0000FF>
|
|
|
81 |
/T_ENDDECLARE = </c:textcolor></b>
|
|
|
82 |
T_ENDFOR = <b><c:textcolor:#0000FF>
|
|
|
83 |
/T_ENDFOR = </c:textcolor></b>
|
|
|
84 |
T_ENDFOREACH = <b><c:textcolor:#0000FF>
|
|
|
85 |
/T_ENDFOREACH = </c:textcolor></b>
|
|
|
86 |
T_ENDSWITCH = <b><c:textcolor:#0000FF>
|
|
|
87 |
/T_ENDSWITCH = </c:textcolor></b>
|
|
|
88 |
T_ENDWHILE = <b><c:textcolor:#0000FF>
|
|
|
89 |
/T_ENDWHILE = </c:textcolor></b>
|
|
|
90 |
T_EXIT = <b><c:textcolor:#0000FF>
|
|
|
91 |
/T_EXIT = </c:textcolor></b>
|
|
|
92 |
T_STRING = <c:textcolor:#FF8000>
|
|
|
93 |
/T_STRING = </c:textcolor>
|
|
|
94 |
|
|
|
95 |
[highlightDocBlockSourceTokens]
|
|
|
96 |
;; this is for docblock tokens, using by phpDocumentor_HighlightParser
|
|
|
97 |
;; tagphptype is for "string" in @param string description, for example
|
|
|
98 |
docblock = <i><c:textcolor:#8080FF>
|
|
|
99 |
/docblock = </c:textcolor></i>
|
|
|
100 |
tagphptype = <i><c:textcolor:#A428CC>
|
|
|
101 |
/tagphptype = </c:textcolor></i>
|
|
|
102 |
tagvarname = <b><c:textcolor:#A428CC>
|
|
|
103 |
/tagvarname = </c:textcolor></b>
|
|
|
104 |
coretag = <c:textcolor:#A428CC>
|
|
|
105 |
/coretag = </c:textcolor>
|
|
|
106 |
tag = <c:textcolor:#A428CC>
|
|
|
107 |
/tag = </c:textcolor>
|
|
|
108 |
inlinetag = <i><c:textcolor:#A428CC>
|
|
|
109 |
/inlinetag = </c:textcolor></i>
|
|
|
110 |
internal = <i><c:textcolor:#808080>
|
|
|
111 |
/internal = </c:textcolor></i>
|
|
|
112 |
closetemplate = <c:textcolor:#5BACEE>
|
|
|
113 |
/closetemplate = </c:textcolor>
|
|
|
114 |
docblocktemplate = <c:textcolor:#5BACEE>
|
|
|
115 |
/docblocktemplate = </c:textcolor>
|
|
|
116 |
|
|
|
117 |
[highlightSource]
|
|
|
118 |
;; this is for highlighting things that aren't tokens like "&"
|
|
|
119 |
;; format:
|
|
|
120 |
;; word = open
|
|
|
121 |
;; /word = close
|
|
|
122 |
& = <b>
|
|
|
123 |
/& = </b>
|
|
|
124 |
[ = <b>
|
|
|
125 |
/[ = </b>
|
|
|
126 |
] = <b>
|
|
|
127 |
/] = </b>
|
|
|
128 |
! = <b>
|
|
|
129 |
/! = </b>
|
|
|
130 |
";" = <b>
|
|
|
131 |
/; = </b>
|
|
|
132 |
( = <b>
|
|
|
133 |
/( = </b>
|
|
|
134 |
) = <b>
|
|
|
135 |
/) = </b>
|
|
|
136 |
, = <b>
|
|
|
137 |
/, = </b>
|
|
|
138 |
{ = <b>
|
|
|
139 |
/{ = </b>
|
|
|
140 |
} = <b>
|
|
|
141 |
/} = </b>
|
|
|
142 |
""" = <c:textcolor:#339999>
|
|
|
143 |
/" = </c:textcolor>
|
|
|
144 |
|
|
|
145 |
[highlightTutorialSourceTokens]
|
|
|
146 |
;; this is for XML DocBook-based tutorials, highlighted by phpDocumentor_TutorialHighlightParser
|
|
|
147 |
;; <tag>
|
|
|
148 |
opentag = <c:textcolor:#8080FF>
|
|
|
149 |
/opentag = </c:textcolor>
|
|
|
150 |
;; </tag>
|
|
|
151 |
closetag = <c:textcolor:#8080FF>
|
|
|
152 |
/closetag = </c:textcolor>
|
|
|
153 |
;; <tag attribute="value">
|
|
|
154 |
attribute = <c:textcolor:#A428CC>
|
|
|
155 |
/attribute = </c:textcolor>
|
|
|
156 |
;; <tag attribute="value">
|
|
|
157 |
attributevalue = <c:textcolor:#5BACEE>
|
|
|
158 |
/attributevalue = </c:textcolor>
|
|
|
159 |
;; &entity;
|
|
|
160 |
entity = <b>
|
|
|
161 |
/entity = </b>
|
|
|
162 |
;; <!-- comment -->
|
|
|
163 |
comment = <i>
|
|
|
164 |
/comment = </i>
|
|
|
165 |
;; {@inline tag}
|
|
|
166 |
itag = <b><i>
|
|
|
167 |
/itag = </b></i>
|
|
|
168 |
|
|
|
169 |
[desctranslate]
|
|
|
170 |
ul = <ul>
|
|
|
171 |
/ul = </ul>
|
|
|
172 |
ol = <ol>
|
|
|
173 |
/ol = </ol>
|
|
|
174 |
li = <li>
|
|
|
175 |
/li = </li>
|
|
|
176 |
code = </text><text size="8"><font face="Courier" />
|
|
|
177 |
/code = </text><text size="10"><font face="Helvetica" />
|
|
|
178 |
var = <i>
|
|
|
179 |
/var = </i>
|
|
|
180 |
samp = <font face="Courier" /><i>
|
|
|
181 |
/samp = </i><font face="Helvetica" />
|
|
|
182 |
kbd = <font face="Courier" /><b>
|
|
|
183 |
/kbd = </b><font face="Helvetica" />
|
|
|
184 |
pre =
|
|
|
185 |
/pre =
|
|
|
186 |
p =
|
|
|
187 |
/p = "\n\n"
|
|
|
188 |
b = <b>
|
|
|
189 |
/b = </b>
|
|
|
190 |
i = <i>
|
|
|
191 |
/i = </i>
|
|
|
192 |
br = "\n"
|
|
|
193 |
|
|
|
194 |
[ppage]
|
|
|
195 |
;; this is the DocBook package page translation section. All DocBook tags
|
|
|
196 |
;; that have a corresponding html tag must be listed here
|
|
|
197 |
;;
|
|
|
198 |
;; examples:
|
|
|
199 |
;; 1)
|
|
|
200 |
;; tagname = newtagname
|
|
|
201 |
;;
|
|
|
202 |
;; This is the simplest case, where all attributes will be added into the
|
|
|
203 |
;; starting tag and the ending tag will be html/xml style </tranlatedtagname>
|
|
|
204 |
;; <tagname></tagname> becomes <newtagname></newtagname> and
|
|
|
205 |
;; <tagname attr="value"></tagname> becomes
|
|
|
206 |
;; <newtagname attr="value"></newtagname>
|
|
|
207 |
;;
|
|
|
208 |
;; 2)
|
|
|
209 |
;; tagname = newtagname
|
|
|
210 |
;; tagname->attr = newattrname
|
|
|
211 |
;;
|
|
|
212 |
;; in this case, everything will be like the first case, except tags like:
|
|
|
213 |
;; <tagname attr="value"></tagname> will become
|
|
|
214 |
;; <newtagname newattrname="value"></newtagname>
|
|
|
215 |
;;
|
|
|
216 |
;; 3)
|
|
|
217 |
;; tagname = newtagname
|
|
|
218 |
;; tagname->attr = newattrname
|
|
|
219 |
;; tagname->attr+value = newvalue
|
|
|
220 |
;;
|
|
|
221 |
;; in this case, the value is also translated to another. This can be useful
|
|
|
222 |
;; for instances such as focus="middle" changing to align="center" or something
|
|
|
223 |
;; of that nature.
|
|
|
224 |
;; <tagname attr="value"></tagname> will become
|
|
|
225 |
;; <newtagname newattrname="newvalue"></newtagname>
|
|
|
226 |
;;
|
|
|
227 |
;; 4)
|
|
|
228 |
;; tagname = newtagname
|
|
|
229 |
;; tagname!attr = dummy
|
|
|
230 |
;;
|
|
|
231 |
;; here, the attribute will be ignored. dummy is not used and may be any value
|
|
|
232 |
;; <tagname attr="value"></tagname> will become
|
|
|
233 |
;; <newtagname></newtagname>
|
|
|
234 |
;;
|
|
|
235 |
;; 5)
|
|
|
236 |
;; tagname = newtagname
|
|
|
237 |
;; tagname! = dummy
|
|
|
238 |
;;
|
|
|
239 |
;; here, all attributes will be ignored. dummy is not used and may be any value
|
|
|
240 |
;; <tagname attr1="value" attr2="foo"></tagname> will become
|
|
|
241 |
;; <newtagname></newtagname>
|
|
|
242 |
;;
|
|
|
243 |
;; 6)
|
|
|
244 |
;; $attr$my_attribute = newattrname
|
|
|
245 |
;;
|
|
|
246 |
;; tagname = newtagname
|
|
|
247 |
;;
|
|
|
248 |
;; in this case, all occurences of my_attribute in any tag will be changed to
|
|
|
249 |
;; newattrname. This is useful for changing things like role="php" to
|
|
|
250 |
;; class="php," for example. Note that the text "$attr$" MUST be on the line
|
|
|
251 |
;; start for phpDocumentor to recognize it.
|
|
|
252 |
;;
|
|
|
253 |
;; 7)
|
|
|
254 |
;; &entity; = translation text
|
|
|
255 |
;; " = "
|
|
|
256 |
;; " = """
|
|
|
257 |
;; < = <
|
|
|
258 |
;;
|
|
|
259 |
;; Use this to control translation of entities to their appropriate values
|
|
|
260 |
|
|
|
261 |
= " "
|
|
|
262 |
" = """
|
|
|
263 |
” = """
|
|
|
264 |
“ = """
|
|
|
265 |
& = &
|
|
|
266 |
< = <
|
|
|
267 |
> = >
|
|
|
268 |
© = ©
|
|
|
269 |
|
|
|
270 |
author = <i>
|
|
|
271 |
author!
|
|
|
272 |
/author = "</i>\n"
|
|
|
273 |
|
|
|
274 |
authorgroup = <text size="10"><b>Authors:</b>
|
|
|
275 |
/authorgroup = </text>
|
|
|
276 |
authorgroup!
|
|
|
277 |
|
|
|
278 |
blockquote = blockquote
|
|
|
279 |
blockquote!
|
|
|
280 |
|
|
|
281 |
authorblurb = blockquote
|
|
|
282 |
authorblurb!
|
|
|
283 |
|
|
|
284 |
caution = "\n<b>Caution</b>\n<blockquote>"
|
|
|
285 |
/caution = "</blockquote>\n"
|
|
|
286 |
caution!
|
|
|
287 |
|
|
|
288 |
command = b
|
|
|
289 |
command!
|
|
|
290 |
|
|
|
291 |
copyright = i
|
|
|
292 |
copyright!
|
|
|
293 |
|
|
|
294 |
emphasis = b
|
|
|
295 |
emphasis!
|
|
|
296 |
|
|
|
297 |
example = "<b>Example:</b>\n<C:indent:20>\n"
|
|
|
298 |
/example = "\n<C:indent:-20>\n"
|
|
|
299 |
example!
|
|
|
300 |
|
|
|
301 |
formalpara = " "
|
|
|
302 |
/formalpara = "\n\n"
|
|
|
303 |
formalpara!
|
|
|
304 |
|
|
|
305 |
graphic = pdffunction:ezImage
|
|
|
306 |
graphic/ = 1
|
|
|
307 |
|
|
|
308 |
important = u
|
|
|
309 |
important!
|
|
|
310 |
|
|
|
311 |
informalequation = blockquote
|
|
|
312 |
informalequation!
|
|
|
313 |
|
|
|
314 |
inlineequation = i
|
|
|
315 |
inlineequation!
|
|
|
316 |
|
|
|
317 |
itemizedlist = ul
|
|
|
318 |
itemizedlist!
|
|
|
319 |
|
|
|
320 |
literal = <font face="Courier" />
|
|
|
321 |
/literal = <font face="Helvetica" />
|
|
|
322 |
literal!
|
|
|
323 |
|
|
|
324 |
option = " "
|
|
|
325 |
/option =
|
|
|
326 |
option!
|
|
|
327 |
|
|
|
328 |
listitem = li
|
|
|
329 |
listitem!
|
|
|
330 |
|
|
|
331 |
orderedlist = ol
|
|
|
332 |
orderedlist!
|
|
|
333 |
|
|
|
334 |
para =
|
|
|
335 |
/para = "\n\n"
|
|
|
336 |
para!
|
|
|
337 |
|
|
|
338 |
programlisting = "\n</text><text size="8"><font face="Courier" />"
|
|
|
339 |
/programlisting = "</text><text size="10">\n<font face="Helvetica" />"
|
|
|
340 |
programlisting!
|
|
|
341 |
|
|
|
342 |
refsect1 = "<text size="10" justification="left">"
|
|
|
343 |
/refsect1 = "\n</text>"
|
|
|
344 |
refsect1!
|
|
|
345 |
|
|
|
346 |
refsect2 = "<text size="10" justification="left">"
|
|
|
347 |
/refsect2 = "\n</text>"
|
|
|
348 |
refsect2!
|
|
|
349 |
|
|
|
350 |
refsect3 = "<text size="10" justification="left">"
|
|
|
351 |
/refsect3 = "\n</text>"
|
|
|
352 |
refsect3!
|
|
|
353 |
|
|
|
354 |
refpurpose = <text size="13" justification="center"><i>
|
|
|
355 |
/refpurpose = "</i>\n</text>"
|
|
|
356 |
refpurpose!
|
|
|
357 |
|
|
|
358 |
simpara = "<text size="10" justification="left"> "
|
|
|
359 |
/simpara = "</text>"
|
|
|
360 |
simpara!
|
|
|
361 |
|
|
|
362 |
warning = "<b>Warning:</b>\n<blockquote>"
|
|
|
363 |
/warning = "</blockquote>\n"
|
|
|
364 |
warning!
|
|
|
365 |
|
|
|
366 |
;; now begins the attributes that should be tags in cdata
|
|
|
367 |
[$attr$id]
|
|
|
368 |
open = <pdffunction:addDestination arg="
|
|
|
369 |
close = " arg="FitH" arg=$this->y />
|
|
|
370 |
cdata! = true
|
|
|
371 |
quotevalues = true
|
|
|
372 |
separator = "="
|
|
|
373 |
;separateall = true
|
|
|
374 |
$id = id
|
|
|
375 |
|
|
|
376 |
;; now begins the sections that deal with <title>
|
|
|
377 |
[refentry_title]
|
|
|
378 |
;tag_attr = true
|
|
|
379 |
;attr_name = title
|
|
|
380 |
cdata_start = true
|
|
|
381 |
;cdata_end = true
|
|
|
382 |
open = </text><text size="20" justification="centre"><b>
|
|
|
383 |
close = "\n</b></text><text size="10" justification="left">"
|
|
|
384 |
|
|
|
385 |
[refsect1_title]
|
|
|
386 |
;tag_attr = true
|
|
|
387 |
;attr_name = title
|
|
|
388 |
cdata_start = true
|
|
|
389 |
;cdata_end = true
|
|
|
390 |
open = </text><text size="15" justification="centre"><b>
|
|
|
391 |
close = "\n</b></text><text size="10" justification="left">"
|
|
|
392 |
|
|
|
393 |
[refsect2_title]
|
|
|
394 |
;tag_attr = true
|
|
|
395 |
;attr_name = title
|
|
|
396 |
cdata_start = true
|
|
|
397 |
;cdata_end = true
|
|
|
398 |
open = </text><text size="13" justification="centre"><b>
|
|
|
399 |
close = "\n</b></text><text size="10" justification="left">"
|
|
|
400 |
|
|
|
401 |
[refsect3_title]
|
|
|
402 |
;tag_attr = true
|
|
|
403 |
;attr_name = title
|
|
|
404 |
cdata_start = true
|
|
|
405 |
;cdata_end = true
|
|
|
406 |
open = </text><text size="11" justification="centre"><i>
|
|
|
407 |
close = "\n</i></text><text size="10" justification="left">"
|
|
|
408 |
|
|
|
409 |
[para_title]
|
|
|
410 |
;tag_attr = true
|
|
|
411 |
;attr_name = title
|
|
|
412 |
cdata_start = true
|
|
|
413 |
;cdata_end = true
|
|
|
414 |
open = </text><text size="11" justification="left"><b>
|
|
|
415 |
close = "\n</b></text><text size="10" justification="left">"
|
|
|
416 |
|
|
|
417 |
[formalpara_title]
|
|
|
418 |
;tag_attr = true
|
|
|
419 |
;attr_name = title
|
|
|
420 |
cdata_start = true
|
|
|
421 |
;cdata_end = true
|
|
|
422 |
open = </text><text size="11" justification="centre"><b>
|
|
|
423 |
close = "\n</b></text><text size="10" justification="left">"
|
|
|
424 |
|
|
|
425 |
[example_title]
|
|
|
426 |
;tag_attr = true
|
|
|
427 |
;attr_name = title
|
|
|
428 |
cdata_start = true
|
|
|
429 |
;cdata_end = true
|
|
|
430 |
open = </text><text size="11" justification="centre">
|
|
|
431 |
close = "\n</text><text size="10" justification="left">"
|