summaryrefslogtreecommitdiff
path: root/framework/Util/IBaseBehavior.php
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2015-01-22 09:14:12 +0100
committerFabio Bas <ctrlaltca@gmail.com>2015-01-22 09:14:12 +0100
commit5230f8f8a86fc1ae5d90f8c74ae65c93e197502b (patch)
treee870d29e21c14d5b1683d638dff978afe0a104fa /framework/Util/IBaseBehavior.php
parent53e4cd65205ac33d7dbc61a767f467c1b896dfc6 (diff)
Apply namespaces to class inheritances (pt1)
Diffstat (limited to 'framework/Util/IBaseBehavior.php')
-rw-r--r--framework/Util/IBaseBehavior.php37
1 files changed, 37 insertions, 0 deletions
diff --git a/framework/Util/IBaseBehavior.php b/framework/Util/IBaseBehavior.php
new file mode 100644
index 00000000..2f2ca858
--- /dev/null
+++ b/framework/Util/IBaseBehavior.php
@@ -0,0 +1,37 @@
+<?php
+/**
+ * TComponent, TPropertyValue classes
+ *
+ * @author Qiang Xue <qiang.xue@gmail.com>
+ *
+ * Global Events, intra-object events, Class behaviors, expanded behaviors
+ * @author Brad Anderson <javalizard@mac.com>
+ *
+ * @link http://www.pradosoft.com/
+ * @copyright Copyright &copy; 2005-2014 PradoSoft
+ * @license http://www.pradosoft.com/license/
+ * @package Prado\Util
+ */
+
+namespace Prado\Util;
+
+/**
+ * IBaseBehavior interface is the base behavior class from which all other
+ * behaviors types are derived
+ *
+ * @author Brad Anderson <javalizard@mac.com>
+ * @package Prado\Util
+ * @since 3.2.3
+ */
+interface IBaseBehavior {
+ /**
+ * Attaches the behavior object to the component.
+ * @param CComponent the component that this behavior is to be attached to.
+ */
+ public function attach($component);
+ /**
+ * Detaches the behavior object from the component.
+ * @param CComponent the component that this behavior is to be detached from.
+ */
+ public function detach($component);
+} \ No newline at end of file