PEAR2_Templates_Savant-0.2.0 › PEAR2_Templates_Savant-0.2.0/doc/PEAR2_Templates_Savant/pear2.php.net/examples/templates/examples/templates/stdClass.tpl.php
- PEAR2_Templates_Savant-0.2.0/
- doc/
- PEAR2_Templates_Savant/
- pear2.php.net/
- examples/
- baseball/
- examples/
- templates/
- examples/
- examples/
- pear2.php.net/
- PEAR2_Templates_Savant/
- php/
- PEAR2/
- Autoload.php
- Exception.php
- MultiErrors/
- MultiErrors.php
- Templates/
- PEAR2/
- test/
- PEAR2_Templates_Savant/
- doc/
- package.xml
1
2
3
4
5
6
<h2>This is stdClass.tpl.php</h2>
<p>This represents the default mapping of class name to template.</p>
<p>The class of this context is: <?php echo get_class($context); ?></p>
<p>The $context object contains the stdClass object with access to all the member
variables and functions, such as $context->var1</p>
<?php echo $context->var1; ?>EOF
