Class \Prado\Web\UI\WebControls\TAccordionView
Class TAccordionView.
TAccordionView represents a single view in a TAccordion.
TAccordionView is represented inside the TAccordion with an header label whose text is defined by the \Prado\Web\UI\WebControls\setCaption property; optionally the label can be an hyperlink: use the \Prado\Web\UI\WebControls\setNavigateUrl property to define the destination url.
Class hierarchy
- \Prado\Web\UI\WebControls\TAccordionView
- \Prado\Web\UI\WebControls\TWebControl implements IStyleable
- \Prado\Web\UI\TControl implements IRenderable, IBindable
- \Prado\TApplicationComponent
- \Prado\TComponent
Since: 3.2
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
setNavigateUrl(string $value) : mixed
Sets the URL of the target page.
If not empty, clicking on this header will redirect the browser to the specified URL. |
public
|
setText(string $value) : mixed
Sets the text content to be displayed on this view.
If this is not empty, the child content of the view will be ignored. |
protected
|
|
protected
|
|
protected
|
renderHeaderContent(THtmlWriter $writer) : mixed
Renders the content in the header.
By default, a hyperlink is displayed. |