## Interface IRepeatInfoUser

Description

IRepeatInfoUser interface.

This interface must be implemented by classes who want to use TRepeatInfo.

- since: 3.0
- version: $Revision: $ $Date: $
- author: Qiang Xue <qiang.xue@gmail.com>

Located in /Web/UI/WebControls/TRepeatInfo.php (line 22)

Method Summary
TStyle generateItemStyle (string $itemType, integer $index)
boolean getHasFooter ()
boolean getHasHeader ()
boolean getHasSeparators ()
integer getItemCount ()
void renderItem (THtmlWriter $writer, TRepeatInfo $repeatInfo, string $itemType, integer $index)
Methods
generateItemStyle (line 45)

- return: CSS style used for rendering items (including header, footer and separators)
- access: public

TStyle generateItemStyle (string $itemType, integer $index)

- string $itemType: item type (Header,Footer,Item,AlternatingItem,SelectedItem,EditItem,Separator,Pager)
- integer $index: zero-based index of the current rendering item.

getHasFooter (line 27)

- return: whether the repeat user contains footer
- access: public

boolean getHasFooter ()
getHasHeader (line 31)

- return: whether the repeat user contains header
- access: public

boolean getHasHeader ()
getHasSeparators (line 35)

- return: whether the repeat user contains separators
- access: public

boolean getHasSeparators ()
getItemCount (line 39)

- return: number of items to be rendered (excluding header, footer and separators)
- access: public

integer getItemCount ()
renderItem (line 53)

Renders an item.

- access: public

void renderItem (THtmlWriter $writer, TRepeatInfo $repeatInfo, string $itemType, integer $index)

- THtmlWriter $writer: writer for the rendering purpose
- TRepeatInfo $repeatInfo: repeat information
- string $itemType: item type
- integer $index: zero-based index of the item being rendered

Documentation generated on Sun, 04 Jun 2006 19:00:15 -0400 by phpDocumentor 1.3.0RC4