diff options
author | xue <> | 2006-03-27 04:33:13 +0000 |
---|---|---|
committer | xue <> | 2006-03-27 04:33:13 +0000 |
commit | 84cd815b93ddbb19c3f1314b7135b1c373ce421c (patch) | |
tree | 65b7931691e84e9a7e22f3fe0c0362d4f43cb31a /demos/quickstart/protected/pages/Controls/Samples/TPlaceHolder/Home.php | |
parent | 3192eb5cafef46ed5203a8cb2f7ae885e5693a47 (diff) |
Added TLiteral, TPlaceHolder demos.
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/Samples/TPlaceHolder/Home.php')
-rw-r--r-- | demos/quickstart/protected/pages/Controls/Samples/TPlaceHolder/Home.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TPlaceHolder/Home.php b/demos/quickstart/protected/pages/Controls/Samples/TPlaceHolder/Home.php new file mode 100644 index 00000000..ecae7876 --- /dev/null +++ b/demos/quickstart/protected/pages/Controls/Samples/TPlaceHolder/Home.php @@ -0,0 +1,16 @@ +<?php
+
+class Home extends TPage
+{
+ public function onInit($param)
+ {
+ parent::onInit($param);
+ $label=new TLabel;
+ $label->Text='dynamic';
+ $label->BackColor='silver';
+ $this->PlaceHolder1->Controls[]=$label;
+ $this->PlaceHolder1->Controls[]=' content';
+ }
+}
+
+?>
\ No newline at end of file |