summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TPanel.php
diff options
context:
space:
mode:
authorxue <>2005-12-05 01:00:16 +0000
committerxue <>2005-12-05 01:00:16 +0000
commitccf76e430b7703db028966a845a966f50956f490 (patch)
tree9762b746f8b7d432dbe5e5cb8f38f90007e0e1b5 /framework/Web/UI/WebControls/TPanel.php
parent418baf36d477bcbdd6fb4eaf4037ea6a2d93f21c (diff)
Diffstat (limited to 'framework/Web/UI/WebControls/TPanel.php')
-rw-r--r--framework/Web/UI/WebControls/TPanel.php16
1 files changed, 15 insertions, 1 deletions
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,'');