summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/controls/SinceVersion.php
diff options
context:
space:
mode:
authorwei <>2007-04-07 10:35:16 +0000
committerwei <>2007-04-07 10:35:16 +0000
commit39446f979b52dd0acd75d5d243f352397a0410f6 (patch)
treecc82380956f208a24b5de790411bf61185fb3eaa /demos/quickstart/protected/controls/SinceVersion.php
parentd0bdd3144dfc972450d79ddaf6197a30b27eacc0 (diff)
add TClientScriptLoader quickstart docs.
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