From 2d5b96ba9878ec36df7bb2af3493bb771c85b032 Mon Sep 17 00:00:00 2001 From: xue <> Date: Thu, 5 Jan 2006 05:35:55 +0000 Subject: --- framework/Web/UI/WebControls/TBulletedList.php | 37 +++++++++++++++++++++++ framework/Web/UI/WebControls/TCheckBoxList.php | 8 +++++ framework/Web/UI/WebControls/TDropDownList.php | 13 ++++++++ framework/Web/UI/WebControls/TListBox.php | 5 +++ framework/Web/UI/WebControls/TListControl.php | 5 +++ framework/Web/UI/WebControls/TRadioButton.php | 6 +++- framework/Web/UI/WebControls/TRadioButtonList.php | 17 +++++++++++ 7 files changed, 90 insertions(+), 1 deletion(-) (limited to 'framework/Web/UI/WebControls') diff --git a/framework/Web/UI/WebControls/TBulletedList.php b/framework/Web/UI/WebControls/TBulletedList.php index 67c380bc..8256237d 100644 --- a/framework/Web/UI/WebControls/TBulletedList.php +++ b/framework/Web/UI/WebControls/TBulletedList.php @@ -10,6 +10,11 @@ * @package System.Web.UI.WebControls */ +/** + * Includes TListControl class + */ +Prado::using('System.Web.UI.WebControls.TListControl'); + /** * TBulletedList class * @@ -322,6 +327,38 @@ class TBulletedList extends TListControl implements IPostBackEventHandler else return null; } + + /** + * @throws TNotSupportedException if this method is invoked + */ + public function setAutoPostBack($value) + { + throw new TNotSupportedException('bulletedlist_autopostback_unsupported'); + } + + /** + * @throws TNotSupportedException if this method is invoked + */ + public function setSelectedIndex($index) + { + throw new TNotSupportedException('bulletedlist_selectedindex_unsupported'); + } + + /** + * @throws TNotSupportedException if this method is invoked + */ + public function setSelectedIndices($indices) + { + throw new TNotSupportedException('bulletedlist_selectedindices_unsupported'); + } + + /** + * @throws TNotSupportedException if this method is invoked + */ + public function setSelectedValue($value) + { + throw new TNotSupportedException('bulletedlist_selectedvalue_unsupported'); + } } /** diff --git a/framework/Web/UI/WebControls/TCheckBoxList.php b/framework/Web/UI/WebControls/TCheckBoxList.php index 3f61fba6..28ab11ea 100644 --- a/framework/Web/UI/WebControls/TCheckBoxList.php +++ b/framework/Web/UI/WebControls/TCheckBoxList.php @@ -10,10 +10,18 @@ * @package System.Web.UI.WebControls */ +/** + * Includes TListControl class + */ +Prado::using('System.Web.UI.WebControls.TListControl'); /** * Includes TRepeatInfo class */ Prado::using('System.Web.UI.WebControls.TRepeatInfo'); +/** + * Includes TCheckBox class + */ +Prado::using('System.Web.UI.WebControls.TCheckBox'); /** * TCheckBoxList class diff --git a/framework/Web/UI/WebControls/TDropDownList.php b/framework/Web/UI/WebControls/TDropDownList.php index d56e3e7e..3c459057 100644 --- a/framework/Web/UI/WebControls/TDropDownList.php +++ b/framework/Web/UI/WebControls/TDropDownList.php @@ -10,6 +10,11 @@ * @package System.Web.UI.WebControls */ +/** + * Includes TListControl class + */ +Prado::using('System.Web.UI.WebControls.TListControl'); + /** * TDropDownList class * @@ -93,5 +98,13 @@ class TDropDownList extends TListControl implements IPostBackDataHandler else return $index; } + + /** + * @throws TNotSupportedException if this method is invoked + */ + public function setSelectedIndices($indices) + { + throw new TNotSupportedException('dropdownlist_selectedindices_unsupported'); + } } ?> \ No newline at end of file diff --git a/framework/Web/UI/WebControls/TListBox.php b/framework/Web/UI/WebControls/TListBox.php index db99edc5..47165c99 100644 --- a/framework/Web/UI/WebControls/TListBox.php +++ b/framework/Web/UI/WebControls/TListBox.php @@ -10,6 +10,11 @@ * @package System.Web.UI.WebControls */ +/** + * Includes TListControl class + */ +Prado::using('System.Web.UI.WebControls.TListControl'); + /** * TListBox class * diff --git a/framework/Web/UI/WebControls/TListControl.php b/framework/Web/UI/WebControls/TListControl.php index 582e03bd..265c320b 100644 --- a/framework/Web/UI/WebControls/TListControl.php +++ b/framework/Web/UI/WebControls/TListControl.php @@ -10,6 +10,11 @@ * @package System.Web.UI.WebControls */ +/** + * Includes TDataBoundControl class + */ +Prado::using('System.Web.UI.WebControls.TDataBoundControl'); + /** * TListControl class * diff --git a/framework/Web/UI/WebControls/TRadioButton.php b/framework/Web/UI/WebControls/TRadioButton.php index 83f52f69..a3d4d0c0 100644 --- a/framework/Web/UI/WebControls/TRadioButton.php +++ b/framework/Web/UI/WebControls/TRadioButton.php @@ -14,7 +14,11 @@ * Using TCheckBox parent class */ Prado::using('System.Web.UI.WebControls.TCheckBox'); -// using TRadioButtonList ?? +/** + * Using TRadioButtonList class + */ +Prado::using('System.Web.UI.WebControls.TRadioButtonList'); + /** * TRadioButton class * diff --git a/framework/Web/UI/WebControls/TRadioButtonList.php b/framework/Web/UI/WebControls/TRadioButtonList.php index 2f12369b..b0a36c9d 100644 --- a/framework/Web/UI/WebControls/TRadioButtonList.php +++ b/framework/Web/UI/WebControls/TRadioButtonList.php @@ -10,6 +10,15 @@ * @package System.Web.UI.WebControls */ +/** + * Includes TRadioButton class + */ +Prado::using('System.Web.UI.WebControls.TRadioButton'); +/** + * Includes TCheckBoxList class + */ +Prado::using('System.Web.UI.WebControls.TCheckBoxList'); + /** * TRadioButtonList class * @@ -70,6 +79,14 @@ class TRadioButtonList extends TCheckBoxList } return false; } + + /** + * @throws TNotSupportedException if this method is invoked + */ + public function setSelectedIndices($indices) + { + throw new TNotSupportedException('radiobuttonlist_selectedindices_unsupported'); + } } ?> \ No newline at end of file -- cgit v1.2.3