summaryrefslogtreecommitdiff
path: root/framework/Web/UI/ActiveControls/TActiveControl.php
diff options
context:
space:
mode:
authorwei <>2006-04-30 00:15:23 +0000
committerwei <>2006-04-30 00:15:23 +0000
commit10b65d6d03ee0afc1ec1a50f320af42a79f5492b (patch)
treed6b8167e0d224f21db6a16da251ba4d069468543 /framework/Web/UI/ActiveControls/TActiveControl.php
parent2cc93773feb5e76d2dd002b1dcd463a01d606794 (diff)
Adding Callback foundations.
Diffstat (limited to 'framework/Web/UI/ActiveControls/TActiveControl.php')
-rw-r--r--framework/Web/UI/ActiveControls/TActiveControl.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/framework/Web/UI/ActiveControls/TActiveControl.php b/framework/Web/UI/ActiveControls/TActiveControl.php
new file mode 100644
index 00000000..d289bab9
--- /dev/null
+++ b/framework/Web/UI/ActiveControls/TActiveControl.php
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ * Created on 25/04/2006
+ */
+
+class TActiveControl extends TControl implements ICallbackEventHandler, IActiveControl
+{
+ public function __construct()
+ {
+ parent::__construct();
+ $this->setAdapter(new TActiveControlAdapter($this));
+ }
+
+ public function raiseCallbackEvent($param)
+ {
+ var_dump($param);
+ $client = $this->getPage()->getCallbackClient();
+ $client->hide($this);
+ }
+}
+
+?>