diff options
author | xue <> | 2006-01-14 03:30:53 +0000 |
---|---|---|
committer | xue <> | 2006-01-14 03:30:53 +0000 |
commit | 5a63c2c1989ed9fdcf8fbe00ec8161934768daf3 (patch) | |
tree | 4a43642be2e9a263c4a2d1a1160dc392c77cadab /framework/Web/UI/WebControls/TCheckBoxList.php | |
parent | a1594654a60d846f50dd2a5f52045dd76f5a33c2 (diff) |
Added TBaseDataList (nearly completed).
Diffstat (limited to 'framework/Web/UI/WebControls/TCheckBoxList.php')
-rw-r--r-- | framework/Web/UI/WebControls/TCheckBoxList.php | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/framework/Web/UI/WebControls/TCheckBoxList.php b/framework/Web/UI/WebControls/TCheckBoxList.php index 28ab11ea..168c7ef0 100644 --- a/framework/Web/UI/WebControls/TCheckBoxList.php +++ b/framework/Web/UI/WebControls/TCheckBoxList.php @@ -102,19 +102,6 @@ class TCheckBoxList extends TListControl implements IRepeatInfoUser, INamingCont }
/**
- * @return TRepeatInfo repeat information (primarily used by control developers)
- */
- protected function getRepeatInfo()
- {
- if(($repeatInfo=$this->getViewState('RepeatInfo',null))===null)
- {
- $repeatInfo=new TRepeatInfo;
- $this->setViewState('RepeatInfo',$repeatInfo,null);
- }
- return $repeatInfo;
- }
-
- /**
* @return string the alignment of the text caption, defaults to 'Right'.
*/
public function getTextAlign()
@@ -131,6 +118,20 @@ class TCheckBoxList extends TListControl implements IRepeatInfoUser, INamingCont $this->setViewState('TextAlign',TPropertyValue::ensureEnum($value,array('Left','Right')),'Right');
}
+
+ /**
+ * @return TRepeatInfo repeat information (primarily used by control developers)
+ */
+ protected function getRepeatInfo()
+ {
+ if(($repeatInfo=$this->getViewState('RepeatInfo',null))===null)
+ {
+ $repeatInfo=new TRepeatInfo;
+ $this->setViewState('RepeatInfo',$repeatInfo,null);
+ }
+ return $repeatInfo;
+ }
+
/**
* @return integer the number of columns that the list should be displayed with. Defaults to 0 meaning not set.
*/
@@ -140,7 +141,6 @@ class TCheckBoxList extends TListControl implements IRepeatInfoUser, INamingCont }
/**
- * Sets the number of columns that the list should be displayed with.
* @param integer the number of columns that the list should be displayed with.
*/
public function setRepeatColumns($value)
@@ -157,8 +157,7 @@ class TCheckBoxList extends TListControl implements IRepeatInfoUser, INamingCont }
/**
- * Sets the direction of traversing the list (Vertical, Horizontal)
- * @param string the direction of traversing the list
+ * @param string the direction (Vertical, Horizontal) of traversing the list
*/
public function setRepeatDirection($value)
{
@@ -174,7 +173,6 @@ class TCheckBoxList extends TListControl implements IRepeatInfoUser, INamingCont }
/**
- * Sets how the list should be displayed, using table or using line breaks (Table, Flow)
* @param string how the list should be displayed, using table or using line breaks (Table, Flow)
*/
public function setRepeatLayout($value)
@@ -259,7 +257,7 @@ class TCheckBoxList extends TListControl implements IRepeatInfoUser, INamingCont * @param integer index of the item being rendered
* @return null
*/
- public function getItemStyle($itemType,$index)
+ public function generateItemStyle($itemType,$index)
{
return null;
}
|