From 39446f979b52dd0acd75d5d243f352397a0410f6 Mon Sep 17 00:00:00 2001 From: wei <> Date: Sat, 7 Apr 2007 10:35:16 +0000 Subject: add TClientScriptLoader quickstart docs. --- demos/quickstart/protected/controls/RequiresVersion.php | 16 ++++++++++++++++ demos/quickstart/protected/controls/RequiresVersion.tpl | 1 + demos/quickstart/protected/controls/SinceVersion.php | 16 ++++++++++++++++ demos/quickstart/protected/controls/SinceVersion.tpl | 1 + 4 files changed, 34 insertions(+) create mode 100644 demos/quickstart/protected/controls/RequiresVersion.php create mode 100644 demos/quickstart/protected/controls/RequiresVersion.tpl create mode 100644 demos/quickstart/protected/controls/SinceVersion.php create mode 100644 demos/quickstart/protected/controls/SinceVersion.tpl (limited to 'demos/quickstart/protected/controls') 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 @@ +setViewState('Version',$value); + } + + public function getVersion() + { + return $this->getViewState('Version'); + } +} + +?> \ No newline at end of file diff --git a/demos/quickstart/protected/controls/RequiresVersion.tpl b/demos/quickstart/protected/controls/RequiresVersion.tpl new file mode 100644 index 00000000..be58f8a8 --- /dev/null +++ b/demos/quickstart/protected/controls/RequiresVersion.tpl @@ -0,0 +1 @@ +
Requires Prado versions <%= $this->Version %> or later.
\ No newline at end of file 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 @@ +setViewState('Version',$value); + } + + public function getVersion() + { + return $this->getViewState('Version'); + } +} + +?> \ No newline at end of file diff --git a/demos/quickstart/protected/controls/SinceVersion.tpl b/demos/quickstart/protected/controls/SinceVersion.tpl new file mode 100644 index 00000000..6f2aed76 --- /dev/null +++ b/demos/quickstart/protected/controls/SinceVersion.tpl @@ -0,0 +1 @@ +Available from Prado versions <%= $this->Version %> onwards.
\ No newline at end of file -- cgit v1.2.3