summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/controls/SinceVersion.php
diff options
context:
space:
mode:
Diffstat (limited to 'demos/quickstart/protected/controls/SinceVersion.php')
-rw-r--r--demos/quickstart/protected/controls/SinceVersion.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/demos/quickstart/protected/controls/SinceVersion.php b/demos/quickstart/protected/controls/SinceVersion.php
new file mode 100644
index 00000000..cfeeffbb
--- /dev/null
+++ b/demos/quickstart/protected/controls/SinceVersion.php
@@ -0,0 +1,16 @@
+<?php
+
+class SinceVersion extends TTemplateControl
+{
+ public function setVersion($value)
+ {
+ $this->setViewState('Version',$value);
+ }
+
+ public function getVersion()
+ {
+ return $this->getViewState('Version');
+ }
+}
+
+?> \ No newline at end of file