| Dumpers |
|
Writing a new Dump If you are using patTemplate in a CLI environment or do not like the style of the Dump we provide, you may implement your own Dumper object. Just follow the following steps: 1. Create a new file in patTemplate/Dump The methods displayHeader() and displayFooter() do not accept any parameters. The dumpGlobals() method will receive an array with all global template variables. The method dumpTemplates() will recieve two arrays, one with the template structures and content and one with the variables, that have been assigned. Make use of print_r() |
|
| Last Updated ( Friday, 31 December 2004 ) |