summaryrefslogtreecommitdiff
path: root/framework/Util/TClassBehavior.php
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2013-09-19 23:07:57 +0200
committerFabio Bas <ctrlaltca@gmail.com>2013-09-19 23:07:57 +0200
commit3fdbb2cbfe778fcf48c61bb9fe40d4ac85f8004f (patch)
treeaec11f524e7104fbe20ab62481c00855ccfb4daa /framework/Util/TClassBehavior.php
parent00f34a0260927de7ab05ff7a777a3a9b7cc5004f (diff)
Committed TComponent patch by javalizard
TComponent Update: Behaviors, Class Behaviors, fx global events, and dy one to one events. This patchset was currently available only on svn trunk/
Diffstat (limited to 'framework/Util/TClassBehavior.php')
-rw-r--r--framework/Util/TClassBehavior.php36
1 files changed, 36 insertions, 0 deletions
diff --git a/framework/Util/TClassBehavior.php b/framework/Util/TClassBehavior.php
new file mode 100644
index 00000000..9d29dbf4
--- /dev/null
+++ b/framework/Util/TClassBehavior.php
@@ -0,0 +1,36 @@
+<?php
+/**
+ * TClassBehavior class file.
+ *
+ * @author Brad Anderson <javalizard@gmail.com>
+ * @link http://www.pradosoft.com/
+ * @copyright Copyright &copy; 2008-2011 Pradosoft
+ * @license http://www.pradosoft.com/license/
+ */
+
+/**
+ * TClassBehavior is a convenient base class for whole class behaviors.
+ * @author Brad Anderson <javalizard@gmail.com>
+ * @version $Id: TClassBehavior.php 564 2009-01-21 22:07:10Z javalizard $
+ * @package System.Util
+ * @since 3.2.3
+ */
+class TClassBehavior extends TComponent implements IClassBehavior
+{
+
+ /**
+ * Attaches the behavior object to the component.
+ * @param TComponent the component that this behavior is to be attached to.
+ */
+ public function attach($component)
+ {
+ }
+
+ /**
+ * Detaches the behavior object from the component.
+ * @param TComponent the component that this behavior is to be detached from.
+ */
+ public function detach($component)
+ {
+ }
+} \ No newline at end of file