blob: 3a8e4b13b9443d7c5254e7fcfe3b7f03e6b5bf8f (
plain)
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
|
<com:TContent ID="body">
<h1>TTextHighlighter Samples</h1>
<table class="sampletable">
<tr><td class="samplenote">
Highlighting PHP statements:
</td><td class="sampleaction">
<com:TTextHighlighter ShowLineNumbers="true" EnableCopyCode="true">
<?php
$str = 'one|two|three|four';
// will output an array
print_r(explode('|', $str, 2));
?>
</com:TTextHighlighter>
</td></tr>
<tr><td class="samplenote">
Highlighting control rendering results:
</td><td class="sampleaction">
<com:TTextHighlighter EnableCopyCode="false">
<com:TLabel Text="this is a label" />
</com:TTextHighlighter>
</td></tr>
</table>
<div class="last-modified">$Id$</div></com:TContent>
|