diff options
Diffstat (limited to 'framework/Util/IBaseBehavior.php')
-rw-r--r-- | framework/Util/IBaseBehavior.php | 37 |
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 © 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 |