Class \Prado\Web\UI\WebControls\TBulletedList
TBulletedList displays items in a bullet format. The bullet style is specified by \Prado\Web\UI\WebControls\setBulletStyle. When the style is 'CustomImage', the \Prado\Web\UI\WebControls\setBackImageUrl specifies the image used as bullets.
TBulletedList displays the item texts in three different modes, specified via \Prado\Web\UI\WebControls\setDisplayMode. When the mode is Text, the item texts are displayed as static texts; When the mode is 'HyperLink', each item is displayed as a hyperlink whose URL is given by the item value, and the \Prado\Web\UI\WebControls\setTarget property can be used to specify the target browser window; When the mode is 'LinkButton', each item is displayed as a link button which posts back to the page if a user clicks on that and the event \Prado\Web\UI\WebControls\onClick will be raised under such a circumstance.
Class hierarchy
- \Prado\Web\UI\WebControls\TBulletedList implements IPostBackEventHandler
- \Prado\Web\UI\WebControls\TListControl implements IDataRenderer
- \Prado\Web\UI\WebControls\TDataBoundControl
- \Prado\Web\UI\WebControls\TWebControl implements IStyleable
- \Prado\Web\UI\TControl implements IRenderable, IBindable
- \Prado\TApplicationComponent
- \Prado\TComponent
Since: 3.0
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
onClick(TBulletedListEventParameter $param) : mixed
Raises 'OnClick' event.
This method is invoked when the \Prado\Web\UI\WebControls\getDisplayMode is 'LinkButton' and end-users click on one of the buttons. |
public
|
raisePostBackEvent(mixed $param) : mixed
Raises the postback event.
This method is required by IPostBackEventHandler interface. If \Prado\Web\UI\WebControls\getCausesValidation is true, it will invoke the page's \Prado\Web\UI\TPage::validate method first. It will raise \Prado\Web\UI\WebControls\onClick events. This method is mainly used by framework and control developers. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
protected
|
addAttributesToRender(THtmlWriter $writer) : mixed
Adds attribute name-value pairs to renderer.
This overrides the parent implementation with additional bulleted list specific attributes. |
protected
|
|
protected
|
getClientClassName() : string
Gets the name of the javascript class responsible for performing postback for this control.
This method overrides the parent implementation. |
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|