Class \Prado\Web\UI\WebControls\TRepeatInfo
TRepeatInfo class.
TRepeatInfo represents repeat information for controls like TCheckBoxList. The layout of the repeated items is specified via \Prado\Web\UI\WebControls\setRepeatLayout, which can be either Table (default), Flow or Raw. A table layout uses HTML table cells to organize the items while a flow layout uses line breaks to organize the items. The number of columns used to display the items is specified via \Prado\Web\UI\WebControls\setRepeatColumns property, while the \Prado\Web\UI\WebControls\setRepeatDirection governs the order of the items being rendered.
Note, the Raw layout does not contain any formatting tags and thus ignores the column and repeat direction settings.
Class hierarchy
Author: Qiang Xue <qiang.xue@gmail.com>Since: 3.0
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
renderRepeater(THtmlWriter $writer, IRepeatInfoUser|TListControl $user) : mixed
Renders the repeated items.
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
protected
|
renderFooter(THtmlWriter $writer, IRepeatInfoUser $user, bool $tableLayout, int $columns) : mixed
Renders footer.
|
protected
|
renderHeader(THtmlWriter $writer, IRepeatInfoUser $user, bool $tableLayout, int $columns, bool $needBreak) : mixed
Renders header.
|
protected
|
renderHorizontalContents(THtmlWriter $writer, IRepeatInfoUser $user) : mixed
Renders contents in horizontal repeat direction.
|
protected
|
renderRawContents(THtmlWriter $writer, IRepeatInfoUser $user) : mixed
Renders contents in raw format.
|
protected
|
renderVerticalContents(THtmlWriter $writer, IRepeatInfoUser $user) : mixed
Renders contents in veritcal repeat direction.
|
\Prado\TComponent::GLOBAL_RAISE_EVENT_LISTENER |