From d1384deb9b3ac872defd08fd01fbf8cf11442b45 Mon Sep 17 00:00:00 2001 From: xue <> Date: Wed, 4 Jan 2006 04:59:01 +0000 Subject: Added documentation. --- framework/Web/UI/WebControls/TRepeatInfo.php | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) (limited to 'framework/Web/UI/WebControls/TRepeatInfo.php') diff --git a/framework/Web/UI/WebControls/TRepeatInfo.php b/framework/Web/UI/WebControls/TRepeatInfo.php index d3178c0c..389d09d5 100644 --- a/framework/Web/UI/WebControls/TRepeatInfo.php +++ b/framework/Web/UI/WebControls/TRepeatInfo.php @@ -1,11 +1,30 @@ + * @link http://www.pradosoft.com/ + * @copyright Copyright © 2005 PradoSoft + * @license http://www.pradosoft.com/license/ + * @version $Revision: $ $Date: $ + * @package System.Web.UI.WebControls + */ + +/** + * TBulletedList class + * + * @author Qiang Xue + * @version $Revision: $ $Date: $ + * @package System.Web.UI.WebControls + * @since 3.0 + */ interface IRepeatInfoUser { public function getHasFooter(); public function getHasHeader(); public function getHasSeparators(); - public function getRepeatedItemCount(); + public function getItemCount(); public function getItemStyle($itemType,$index); public function renderItem($writer,$repeatInfo,$itemType,$index); } @@ -100,7 +119,7 @@ class TRepeatInfo extends TComponent { $tableLayout=($this->_repeatLayout==='Table'); $hasSeparators=$user->getHasSeparators(); - $itemCount=$user->getRepeatedItemCount(); + $itemCount=$user->getItemCount(); $columns=$this->_repeatColumns===0?$itemCount:$this->_repeatColumns; $totalColumns=$hasSeparators?$columns+$columns:$columns; $needBreak=$columns<$itemCount; @@ -175,7 +194,7 @@ class TRepeatInfo extends TComponent { $tableLayout=($this->_repeatLayout==='Table'); $hasSeparators=$user->getHasSeparators(); - $itemCount=$user->getRepeatedItemCount(); + $itemCount=$user->getItemCount(); if($this->_repeatColumns<=1) { $rows=$itemCount; -- cgit v1.2.3