diff options
author | xue <> | 2007-02-04 03:30:32 +0000 |
---|---|---|
committer | xue <> | 2007-02-04 03:30:32 +0000 |
commit | 633ae42f1c6f7069ba155ffa1bbc3b42fe189bb4 (patch) | |
tree | 0df0a4d8a372714f72b57483bd2efcbb84158107 /framework/interfaces.php | |
parent | ebe35517b35dc87eaec1333263cb78e9bd4ef2e1 (diff) |
Added renderer feature to TRepeater.
Diffstat (limited to 'framework/interfaces.php')
-rw-r--r-- | framework/interfaces.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/framework/interfaces.php b/framework/interfaces.php index f37325c8..48164dc0 100644 --- a/framework/interfaces.php +++ b/framework/interfaces.php @@ -322,4 +322,27 @@ interface ICallbackEventHandler public function raiseCallbackEvent($eventArgument);
}
+/**
+ * IDataRenderer interface.
+ *
+ * If a control wants to be used a renderer for another data-bound control,
+ * this interface must be implemented.
+ *
+ * @author Qiang Xue <qiang.xue@gmail.com>
+ * @version $Id$
+ * @package System
+ * @since 3.1
+ */
+interface IDataRenderer
+{
+ /**
+ * @return mixed the data bound to this object
+ */
+ public function getData();
+
+ /**
+ * @param mixed the data to be bound to this object
+ */
+ public function setData($value);
+}
?>
\ No newline at end of file |