diff options
Diffstat (limited to 'demos/controls/protected/pages/HomePage.php')
-rw-r--r-- | demos/controls/protected/pages/HomePage.php | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/demos/controls/protected/pages/HomePage.php b/demos/controls/protected/pages/HomePage.php deleted file mode 100644 index 1b513aba..00000000 --- a/demos/controls/protected/pages/HomePage.php +++ /dev/null @@ -1,41 +0,0 @@ -<?php
-
-class HomePage extends TPage
-{
- public function onPreInit($param)
- {
- parent::onPreInit($param);
- if(!$this->User->IsGuest)
- $this->Theme='';
- }
-
- public function onLoad($param)
- {
- parent::onLoad($param);
- if(!$this->IsPostBack)
- {
- //$this->dataBind();
- }
- }
-
- public function testClick($sender,$param)
- {
- if($sender->BackColor==='')
- $sender->BackColor='blue';
- else
- $sender->BackColor='';
- $this->TextBox->focus();
- }
-
- public function clickImage($sender,$param)
- {
- $this->TextBox->Text="You Clicked (".$param->X.", ".$param->Y.")";
- }
-
- public function linkClicked($sender,$param)
- {
- $sender->Text="Hello World";
- }
-}
-
-?>
\ No newline at end of file |