PHP Classes

File: index.html

Recommend this page to a friend!
  Classes of Ilya   APEx - Template Abstraction Layer   index.html   Download  
File: index.html
Role: Auxiliary data
Content type: text/plain
Description: Example template
Class: APEx - Template Abstraction Layer
Flexible compiling template system
Author: By
Last change:
Date: 20 years ago
Size: 760 bytes
 

Contents

Class file image Download
<showsource > <block name="block1" var1="asdf" var2="ewr"> <datasource name="contacts" function="getContacts" /> <eval result="rows" function="sizeof" var1=contacts /> <datasource name="users" function="getUsers" /> <table width="400" border="1"> <foreach name="user" source="users" > <tr> <td rowspan="{rows}+1"><= {user.name}|strtolower /></td> </tr> <foreach name="contact" source="contacts"> <datasource name="usercontact" folder="" function="getUserContacts" var1=user.id var2=contact.id /> <tr> <td><= {contact.type|strtolower} /></td> <td><foreach name="uc" source="usercontact"><= {uc.c|strrev} /><br></foreach></td> </tr> </foreach> </foreach> </table> </block> <printblock name="block1" /> </showsource>