From ccf76e430b7703db028966a845a966f50956f490 Mon Sep 17 00:00:00 2001 From: xue <> Date: Mon, 5 Dec 2005 01:00:16 +0000 Subject: --- framework/Web/UI/WebControls/TPanel.php | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'framework/Web/UI/WebControls/TPanel.php') diff --git a/framework/Web/UI/WebControls/TPanel.php b/framework/Web/UI/WebControls/TPanel.php index c6f49859..5cdfa307 100644 --- a/framework/Web/UI/WebControls/TPanel.php +++ b/framework/Web/UI/WebControls/TPanel.php @@ -109,12 +109,20 @@ class TPanel extends TWebControl $this->setViewState('BackImageUrl',$value,''); } + /** + * @return string alignment of the content in the panel. + * Valid values include 'ltr' (left to right) and 'rtl' (right to left). + * Defaults to empty. + */ public function getDirection() { return $this->getViewState('Direction',''); } - // valid values include 'ltr' and 'rtl'. + /** + * @param string alignment of the content in the panel. + * Valid values include 'ltr' (left to right) and 'rtl' (right to left). + */ public function setDirection($value) { $this->setViewState('Direction',$value,''); @@ -130,11 +138,17 @@ class TPanel extends TWebControl $this->_defaultButton=$value; } + /** + * @return string the legend text when the panel is used as a fieldset. Defaults to empty. + */ public function getGroupingText() { return $this->getViewState('GroupingText',''); } + /** + * @param string the legend text. If this value is not empty, the panel will be rendered as a fieldset. + */ public function setGroupingText($value) { $this->setViewState('GroupingText',$value,''); -- cgit v1.2.3