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