From 633ae42f1c6f7069ba155ffa1bbc3b42fe189bb4 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sun, 4 Feb 2007 03:30:32 +0000 Subject: Added renderer feature to TRepeater. --- framework/interfaces.php | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'framework/interfaces.php') 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 + * @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 -- cgit v1.2.3