diff options
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/Samples/TPlaceHolder/Home.php')
-rw-r--r-- | demos/quickstart/protected/pages/Controls/Samples/TPlaceHolder/Home.php | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TPlaceHolder/Home.php b/demos/quickstart/protected/pages/Controls/Samples/TPlaceHolder/Home.php index ecae7876..8987c230 100644 --- a/demos/quickstart/protected/pages/Controls/Samples/TPlaceHolder/Home.php +++ b/demos/quickstart/protected/pages/Controls/Samples/TPlaceHolder/Home.php @@ -1,16 +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';
- }
-}
-
+<?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 |