-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.tmpl.html
639 lines (563 loc) · 32.3 KB
/
main.tmpl.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
#encoding UTF-8
#if $index
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>$projectname API Documentation</title>
<!-- for dev styles-->
<link rel="stylesheet" type="text/css" href="../darktalker/darktalker.css" />
<link rel="stylesheet" id="themeStyles" href="../../../dojo/svn_all/dojo/resources/dojo.css">
<link rel="stylesheet" id="themeStyles" href="../../../dojo/svn_all/dijit/themes/claro/claro.css">
<link rel="stylesheet" href="../../../dojo/svn_all/dojox/layout/resources/ExpandoPane.css" />
<script>
dojoConfig = {
locale:"en-us",
extraLocale:["fr-fr","zh-cn"]
}
</script>
<script type="text/javascript" src="../../../dojo/svn_all/dojo/dojo.js"></script>
<script type="text/javascript" src="../darktalker/darktalker.js"></script>
<script>
DKConfig = {
projectUrl:'$projecturl',
projectName:'$projectname',
version:'$version'
}
</script>
</head>
<body class="claro darktalker">
<div class="header"><a href="./"><span class="title">$projectname API Documentation</span></a></div>
<div class="container" id="container">
</div>
<div class="footer">
<hr />
Copyright © $year $copyrighttag All rights reserved.
</div>
<link href="assets/syntaxhighlighter_3.0.83/styles/shCore.css" rel="stylesheet" type="text/css" />
<link href="assets/syntaxhighlighter_3.0.83/styles/shThemeDefault.css" rel="stylesheet" type="text/css" />
<script src="assets/syntaxhighlighter_3.0.83/scripts/shCore.js" type="text/javascript"></script>
<script src="assets/syntaxhighlighter_3.0.83/scripts/shAutoloader.js" type="text/javascript"></script>
<script type="text/javascript">
function path()
{
var args = arguments,
result = []
;
for(var i = 0; i < args.length; i++)
result.push(args[i].replace('@', 'assets/syntaxhighlighter_3.0.83/scripts/'));
return result
};
SyntaxHighlighter.autoloader.apply(null, path(
//'applescript @shBrushAppleScript.js',
'actionscript3 as3 @shBrushAS3.js',
'bash shell @shBrushBash.js',
'coldfusion cf @shBrushColdFusion.js',
//'cpp c @shBrushCpp.js',
'c# c-sharp csharp @shBrushCSharp.js',
'css @shBrushCss.js',
//'delphi pascal @shBrushDelphi.js',
'diff patch pas @shBrushDiff.js',
'erl erlang @shBrushErlang.js',
//'groovy @shBrushGroovy.js',
'java @shBrushJava.js',
'jfx javafx @shBrushJavaFX.js',
'js jscript javascript @shBrushJScript.js',
'perl pl @shBrushPerl.js',
'php @shBrushPhp.js',
'text plain @shBrushPlain.js',
'py python @shBrushPython.js',
//'ruby rails ror rb @shBrushRuby.js',
//'sass scss @shBrushSass.js',
//'scala @shBrushScala.js',
'sql @shBrushSql.js',
'vb vbnet @shBrushVb.js',
'xml xhtml xslt html @shBrushXml.js'
));
//SyntaxHighlighter.config.tagName = "code";
SyntaxHighlighter.all();
</script>
#if $ydn
<!-- Yahoo! Web Analytics - All rights reserved -->
<script type="text/javascript" src="http://d.yimg.com/mi/ywa.js"></script>
<noscript>
<div><img src="http://a.analytics.yahoo.com/p.pl?a=10001393677061&js=no" width="1" height="1" alt="" /></div>
</noscript>
</body>
</html>
#end if
#else
<div id="doc3" class="yui-t2">
<div id="hd">
</div>
<div id="bd">
<div id="yui-main">
<div class="yui-b">
<form action="#" name="yui-classopts-form" method="get" id="yui-classopts-form">
<span class="classopts"><input type="checkbox" name="show_private" id="show_private" /> <label for="show_private">Show Private</label></span>
<span class="classopts"><input type="checkbox" name="show_protected" id="show_protected" /> <label for="show_protected">Show Protected</label></span>
<span class="classopts"><input type="checkbox" name="show_deprecated" id="show_deprecated" /> <label for="show_deprecated">Show Deprecated</label></span>
</form>
#if $filename
<div id="srcout">
<style>
#doc3 .classopts { display:none; }
</style>
$highlightcontent
</div>
#else if $classname
<h2>
#if $access#<code>$access</code>#end if#
#if $static#<code>$static</code>#end if#
#if $final#<code>$final</code>#end if#
Class <b property="yui:name">$classname</b>
<span class="extends">
#if $extends
- extends <a href="${extends}.html" title="$extends">$extends</a>
#end if
</span>
#if $uses
<span class="extends" rel="yui:extends">
- uses
#set $i=0
#for $provider in $uses##if $i > 0#, #end if#
<span rel="extend" resource="${provider}.html">
<a href="${provider}.html" property="yui:name" title="$provider">$provider</a>#set $i=$i+1#
</span>
#end for#
</span>
#end if
</h2>
<!-- class tree goes here -->
#if $subclasses
<dl class="subclasses" rel="yui:subclasses">
<dt>Known Subclasses:</dt>
<dd>
#for $subclass in $subclasses
<span rel="yui:subclass" resource="${subclass}.html">
<a href="${subclass}.html" property="yui:name" title="$subclass">$subclass</a>
</span>
#end for
</dd>
</dl>
#end if
#if $deprecated
<div class="deprecated"><strong>Deprecated:</strong> $deprecated</div>
#end if
#if $see
<div class="deprecated"><strong>See also:</strong> $see</div>
#end if
<div class="summary description" property="yui:description">
$description
</div>
#if $constructor
<div class="section constructor details" rel="yui:constructor" resource="#constructor">
<h3 id="constructor">Constructor</h3>
<div class="content">
<div class="detail">
<strong property="yui:name">$classname</strong>
<code>
(
#if $constructor.params
#set $i=0
#set $current=""
#for $param in $constructor.params#
#if $current != $param.name
#if $i > 0#, #end if#
#set $i = $i + 1
#set $current = $param.name
$param.name
#end if
#end for
#end if
)
</code>
<div class="description">
#if $constructor.params
<dl rel="yui:parameters">
<dt>Parameters:</dt>
#for $param in $constructor.params
<dd rel="yui:parameter">
<code><span property="yui:name">$param.name</span>
<<span property="yui:type">$param.type</span>>
</code>
<span property="yui:description">$param.description</span>
</dd>
#end for
</dl>
#end if
#if $constructor.return
<dl>
<dt>Returns:</dt>
<dd property="yui:return">
$constructor.return
</dd>
</dl>
#end if
</div>
</div>
</div>
</div>
#end if
<div rel="yui:properties" resource="#properties">
#if $properties
<div class="section field details">
<h3 id="properties">Properties</h3>
<div class="content">
#for $property in $properties
<div class="$property.access#if $property.deprecated# deprecated#end if#" rel="yui:property" resource="#property_$property.name">
<h4><a name="property_$property.name" property="yui:name">$property.name</a>
- <code>#if $property.access#$property.access #end if##if $property.static#$property.static #end if##if $property.final#$property.final #end if#<span property="yui:type">$property.type</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
$property.description
</div>
</div>
#if $property.default
<div class="default" property="yui:defaultValue">
Default Value: $property.default
</div>
#end if
#if $property.deprecated
<div class="deprecated" property="yui:deprecated">
<strong>Deprecated:</strong> $property.deprecated
</div>
#end if
<hr />
</div>
#end for
</div>
</div>
#end if
#if $inherited.properties
<div rel="yui:inheritance">
#for $superclassname in $inherited.properties
<div class="section field inheritance" rel="yui:superclass" resource="${superclassname}.html">
<h4>Properties inherited from <a href="${superclassname}.html" property="yui:name" title="$superclassname">$superclassname</a>:</h4>
<div class="content" rel="yui:properties">
<code>
#set i=0
#set l=len($inherited.properties[$superclassname])-1
#for $prop in $inherited.properties[$superclassname]#
<span rel="yui:property" resource="${superclassname}.html#property_$prop.name">
<a class="$prop.access#if $prop.deprecated# deprecated#end if#" href="${superclassname}.html#property_$prop.name" property="yui:name" title="$prop.name">$prop.name</a>#if $i<$l#<span class="$prop.access#if $prop.deprecated# deprecated#end if#">,</span>#end if#
</span>
#set i=i+1
#end for#
</code>
</div>
</div>
#end for
</div>
#end if
</div>
<div rel="yui:methods" resource="#methods">
#if $methods
<div class="section method details">
<h3 id="methods">Methods</h3>
<div class="content">
#for $method in $methods
<div class="$method.access#if $method.deprecated# deprecated#end if#" rel="yui:method" resource="#method_$method.name">
<h4>
<a name="method_$method.name">$method.name</a></h4>
<div class="detail" >
<code>
#if $method.access# $method.access #end if#
#if $method.static# $method.static #end if#
#if $method.final# $method.final #end if#
$method.return.type
<strong property="yui:name">$method.name</strong>
(
#if $method.params
#set $i=0
#set $current = ""
#for $param in $method.params#
#if $current != $param.name
#if $i > 0#, #end if#
#set $i = $i + 1
#set $current = $param.name
$param.name
#end if#
#end for#
#end if
)
</code>
<div class="description" property="yui:description">
$method.description
</div>
<div class="description">
#if $method.params
<dl rel="yui:parameters">
<dt>Parameters:</dt>
#for $param in $method.params
<dd rel="yui:parameter">
<code><span property="yui:name">$param.name</span>
<<span property="yui:type">$param.type</span>>
</code>
<span property="yui:description">$param.description</span>
</dd>
#end for
</dl>
#end if
#if $method.return.description
<dl>
<dt>Returns:
<code property="yui:return">
#if $method.return.type
$method.return.type
#end if
</code></dt>
<dd property="yui:returnInfo">$method.return.description</dd>
</dl>
#end if
#if $method.chainable
<div class="chainable">
<strong>Chainable:</strong> This method is chainable.
</div>
#end if
#if $method.deprecated
<div class="deprecated">
<strong>Deprecated</strong> $method.deprecated
</div>
#end if
</div>
</div>
<hr />
</div>
#end for
</div>
</div>
#end if
#if $inherited.methods
<div rel="yui:inheritance">
#for $superclassname in $inherited.methods
<div class="section field inheritance" rel="yui:superclass" resource="${superclassname}.html">
<h4>Methods inherited from <a href="${superclassname}.html" property="yui:name" title="$superclassname">$superclassname</a>:</h4>
<div class="content" rel="yui:methods">
<code>
#set i=0
#set l=len($inherited.methods[$superclassname])-1
#for $method in $inherited.methods[$superclassname]
<span rel="yui:method" resource="${superclassname}.html#method_$method.name">
<a class="$method.access#if $method.deprecated# deprecated#end if#" href="${superclassname}.html#method_$method.name" property="yui:name" title="$method.name">$method.name</a>#if $i<$l#<span class="$method.access#if $method.deprecated# deprecated#end if#">,</span>#end if#
</span>
#set i=i+1
#end for
</code>
</div>
</div>
#end for
</div>
#end if
</div>
<div rel="yui:events" resource="#events">
#if $events
<div class="section method details">
<h3 id="events">Events</h3>
<div class="content">
#for $event in $events
<div class="$event.access#if $event.deprecated# deprecated#end if#" rel="yui:event" resource="#event_$event.name">
<h4>
<a name="event_$event.name">$event.name</a></h4>
<div class="detail">
<code>
#if $event.access# $event.access #end if#
#if $event.static# $event.static #end if#
#if $event.final# $event.final #end if#
<strong property="yui:name">$event.name</strong>
(
#if $event.params
#set $i=0
#set $current = ""
#for $param in $event.params#
#if $current != $param.name
#if $i > 0#, #end if#
#set $i = $i + 1
#set $current = $param.name
$param.name
#end if#
#end for#
#end if
)
</code>
<div class="description" property="yui:description">
$event.description
</div>
<div class="description">
#if $event.params
<dl rel="yui:parameters">
<dt>Parameters:</dt>
#for $param in $event.params
<dd rel="yui:parameter">
<code><span property="yui:name">$param.name</span>
<<span property="yui:type">$param.type</span>>
</code>
<span property="yui:description">$param.description</span>
</dd>
#end for
</dl>
#end if
#if $event.bubbles
<div class="bubbles">
<strong>Bubbles:</strong> This event bubbles to <a href="${event.bubbles}.html" title="$event.bubbles">$event.bubbles</a>.
</div>
#end if
#if $event.preventable
<div class="preventable">
<strong>Preventable:</strong> This event is preventable by method e.preventDefault(). The default function executed by this event is $event.preventable.
</div>
#end if
#if $event.deprecated
<div class="deprecated">
<strong>Deprecated</strong> $event.deprecated
</div>
#end if
</div>
</div>
<hr />
</div>
#end for
</div>
</div>
#end if
#if $inherited.events
<div rel="yui:inheritance">
#for $superclassname in $inherited.events
<div class="section field inheritance" rel="yui:superclass" resource="${superclassname}.html">
<h4>Events inherited from <a href="${superclassname}.html" property="yui:name" title="$superclassname">$superclassname</a>:</h4>
<div class="content" rel="yui:events">
<code>
#set i=0
#set l=len($inherited.methods[$superclassname])-1
#for $event in $inherited.events[$superclassname]
#set i=i+1
<span rel="yui:event" resource="${superclassname}.html#event_$event.name">
<a class="$event.access#if $event.deprecated# deprecated#end if#" href="${superclassname}.html#event_$event.name" property="yui:name" title="$event.name">$event.name</a>#if $i<$l#<span class="$event.access#if $event.deprecated# deprecated#end if#">,</span>#end if##set i=i+1#
</span>
#end for#
</code>
</div>
</div>
#end for
</div>
#end if
</div>
<div rel="yui:attributes" resource="#configattributes">
#if $configs
<div class="section field details">
<h3 id="configattributes">Configuration Attributes</h3>
<div class="content">
#for $config in $configs
<div class="$config.access#if $config.deprecated# deprecated#end if#" rel="yui:attribute" resource="#config_$config.name">
<h4><a name="config_$config.name">$config.name</a>
<code>- #if $config.access#$config.access #end if##if $config.static#$config.static #end if##if $config.writeonce#$config.writeonce #end if##if $config.final#$config.final #end if#<span property="yui:type">$config.type</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
$config.description
</div>
</div>
#if $config.deprecated
<div class="deprecated">
<strong>Deprecated</strong> $config.deprecated
</div>
#end if
#if $config.default
<div class="default">
Default Value: $config.default
</div>
#end if
<hr />
</div>
#end for
</div>
</div>
#end if
#if $inherited.configs
<div rel="yui:inheritance">
#for $superclassname in $inherited.configs
<div class="section field inheritance" rel="yui:superclass" resource="${superclassname}.html">
<h4>Configuration attributes inherited from <a href="${superclassname}.html" property="yui:name" title="$superclassname">$superclassname</a>:</h4>
<div class="content" rel="yui:attributes">
<code>
#set i=0
#set l=len($inherited.configs[$superclassname])-1
#for $config in $inherited.configs[$superclassname]
#set i=i+1
<span rel="yui:attribute" resource="${superclassname}.html#config_$config.name">
<a class="$config.access#if $config.deprecated# deprecated#end if#" href="${superclassname}.html#config_$config.name" property="yui:name" title="$config.name">$config.name</a>#if $i<$l#<span class="$config.access#if $config.deprecated# deprecated#end if#">,</span>#end if#
</span>
#set i=i+1
#end for#
</code>
</div>
</div>
#end for
</div>
#end if
</div>
#else if $modulename
<h3>Module: $modulename
#if $beta
<span class="description"><em>Beta</em></span>
#end if
#if $experimental
<span class="description"><em>Experimental</em></span>
#end if
</h3>
<div class="description summary">
$moduledesc
</div>
#if $requires
<div class="content">
Requires: $requires
</div>
#end if
#if $optional
<div class="content">
Optional: $optional
</div>
#end if
<div class="yui-gc">
<div class="yui-u first">
#if $classnames
<p>This module contains the following classes:</p>
<script>
//var YUI_CLASS_LIST = $classList;
</script>
<div id="splash_classList">
<ul>
#set $counter = 0
#for $classNames in $classList_raw
<li><a href="${classNames.name}.html" title="$classNames.name" id="class_${counter}">$classNames.guessedname</a></li>
#set $counter = $counter + 1
#end for
</ul>
</div>
#end if
</div>
<div class="yui-u">
#set count = 0;
#for $info in $submodules
#set count = count + 1
#end for
#if count != 0
<div class="submodules">
<h4>Submodules:</h4>
<dl>
#for $info in $submodules
<dt><code>$info</code></dt>
<dd>$subdata[$info].description</dd>
#end for
</dl>
</div>
#end if
</div>
</div>
#end if
</div>
</div>
</div>
</div>
#end if