Added Canvas 1.1.0, originally not under SCM so no historical development records...
[canvas.git] / views / templates / ajax_response.php
blob76e948671906aced65b99d11326b6d0aa9e50dec
1 <?xml version="1.0" encoding="utf-8" ?>
2 <ajax-response>
3 <response type="object" id="<%$response_id%>">
4 <%foreach from=$units item=unit key=unit_name%>
5 <<%$unit_name%>>
6 <%foreach from=$unit item=items key=item_name%>
7 <<%$item_name%>>
8 <%foreach from=$items item=item%>
9 <%foreach from=$item->as_array() item=value key=property%>
10 <<%$property%>><%$value%></<%$property%>>
11 <%/foreach%>
12 <%/foreach%>
13 </<%$item_name%>>
14 <%/foreach%>
15 </<%$unit_name%>>
16 <%/foreach%>
17 </response>
18 </ajax-response>