root/tags/RELEASE_0_1_1/examples/DynamicSetterClass.php

Revision 43, 211 bytes (checked in by schst, 2 years ago)

New feature: It is now possible to use dynamic setter methods based on the value of an attribute of a tag.

Line 
1 <?php
2 class DynamicSetterClass {
3     private $foo;
4     private $bar;
5
6     public function setFoo($foo) {
7         $this->foo = $foo;
8     }
9
10     public function setBar($bar) {
11         $this->bar = $bar;
12     }
13 }
14 ?>
Note: See TracBrowser for help on using the browser.