diff options
Diffstat (limited to 'lib/prado/framework/Util/TClassBehavior.php')
-rw-r--r-- | lib/prado/framework/Util/TClassBehavior.php | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/lib/prado/framework/Util/TClassBehavior.php b/lib/prado/framework/Util/TClassBehavior.php new file mode 100644 index 0000000..05f009d --- /dev/null +++ b/lib/prado/framework/Util/TClassBehavior.php @@ -0,0 +1,35 @@ +<?php +/** + * TClassBehavior class file. + * + * @author Brad Anderson <javalizard@gmail.com> + * @link https://github.com/pradosoft/prado + * @copyright Copyright © 2008-2011 Pradosoft + * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT + */ + +/** + * TClassBehavior is a convenient base class for whole class behaviors. + * @author Brad Anderson <javalizard@gmail.com> + * @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 |