source: branches/0.3/web/addons/job_monarch/useSerialized.php @ 687

Last change on this file since 687 was 687, checked in by ramonb, 10 years ago
  • templatepower no longer supplied by new ganglia-web
  • Property svn:executable set to *
File size: 560 bytes
RevLine 
[687]1<?php
2//This is an example script for serialized templates
3
4include ('./class.TemplatePower.inc.php');
5
6$tpl = new TemplatePower("./tpmain.stpl");
7$tpl->serializedBase()
8
9//You don't need to use the assignInclude function anymore.
10//If you need to add an include template, add it in the script
11//which creates the serialized templates and run it (open makeSerialed.php
12//to see an example of this script). After running you can
13//access it in this script.
14
15$tpl->prepare()
16
17/* do the things you normally do here */
18
19$tpl->printToScreen()
20?>
Note: See TracBrowser for help on using the repository browser.