PAD - PHP Application Driver


home | manual | reference | regression | sequence | develop | apps


Options/sort

HTML RESULT
{content 'myContent'}
<table border=1>
<tr>
<th> volume </th>
<th> edition </th>
<th> file </th>
</tr>
@start@
<tr>
<td> {$volume} </td>
<td> {$edition} </td>
<td> {$file} </td>
</tr>
@end@
</table>
{/content}

{data 'myData'}
[ { "volume": 55, "edition": 3, "file": "file1.xml" },
{ "volume": 33, "edition": 1, "file": "file2.xml" },
{ "volume": 55, "edition": 2, "file": "file11.xml" },
{ "volume": 33, "edition": 3, "file": "file12.xml" },
{ "volume": 55, "edition": 1, "file": "file21.xml" },
{ "volume": 33, "edition": 2, "file": "file8.xml" } ]
{/data}
{myContent data='myData'}
volume edition file
55 3 file1.xml
33 1 file2.xml
55 2 file11.xml
33 3 file12.xml
55 1 file21.xml
33 2 file8.xml
{myContent data='myData', sort='volume;edition'}
volume edition file
33 1 file2.xml
33 2 file8.xml
33 3 file12.xml
55 1 file21.xml
55 2 file11.xml
55 3 file1.xml
{myContent data='myData', sort='volume DESC; edition DESC'}
volume edition file
55 3 file1.xml
55 2 file11.xml
55 1 file21.xml
33 3 file12.xml
33 2 file8.xml
33 1 file2.xml
{myContent data='myData', sort='file'}
volume edition file
55 3 file1.xml
55 2 file11.xml
33 3 file12.xml
33 1 file2.xml
55 1 file21.xml
33 2 file8.xml
{myContent data='myData', sort='file NATURAL'}
volume edition file
55 3 file1.xml
33 1 file2.xml
33 2 file8.xml
55 2 file11.xml
33 3 file12.xml
55 1 file21.xml




home | manual | reference | regression | sequence | develop | apps

(c) 2003-2025 Herbert Groot Jebbink