content for view 1
content for view 2
content for view 3
Afficher le fichier
Open project: pradosoft/prado
Méthode | Description | |
---|---|---|
addParsedObject ( $object ) | Adds object parsed from template to the control. | |
getActiveTabCssClass ( ) : string | ||
getActiveTabStyle ( ) : |
||
getActiveView ( ) : |
Returns the currently active view. | |
getActiveViewID ( ) : string | Returns the ID of the active tab view. | |
getActiveViewIndex ( ) : integer | Returns the index of the active tab view. | |
getAutoSwitch ( ) : boolean | ||
getCssClass ( ) : string | ||
getCssUrl ( ) : string | ||
getDataChanged ( ) : boolean | Returns a value indicating whether postback has caused the control data change. | |
getTabCssClass ( ) : string | ||
getTabStyle ( ) : |
||
getViewCssClass ( ) : string | ||
getViewStyle ( ) : |
||
getViews ( ) : |
||
loadPostData ( $key, $values ) : boolean | Loads user input data. | |
onPreRender ( $param ) | Registers CSS and JS. | |
raisePostDataChangedEvent ( ) | Raises postdata changed event. | |
render ( $writer ) | ||
renderContents ( $writer ) | Renders body contents of the tab control. | |
setActiveTabCssClass ( $value ) | ||
setActiveView ( $view ) | ||
setActiveViewID ( $value ) | ||
setActiveViewIndex ( $value ) | ||
setAutoSwitch ( $value ) | ||
setCssUrl ( $value ) | ||
setTabCssClass ( $value ) | ||
setViewCssClass ( $value ) |
Méthode | Description | |
---|---|---|
activateView ( $view ) | Activates the specified view. | |
addAttributesToRender ( $writer ) | Adds attributes to renderer. | |
createControlCollection ( ) : |
Creates a control collection object that is to be used to hold child controls | |
getClientClassName ( ) : string | Gets the name of the javascript class responsible for performing postback for this control. | |
getClientOptions ( ) : array | ||
getTagName ( ) : string | ||
registerClientScript ( ) | Registers the relevant JavaScript. | |
registerStyleSheet ( ) | Registers the CSS relevant to the TTabControl. |
protected activateView ( $view ) |
protected addAttributesToRender ( $writer ) |
public addParsedObject ( $object ) |
protected createControlCollection ( ) : |
||
Résultat | control collection |
public getActiveTabCssClass ( ) : string | ||
Résultat | string | CSS class for the active tab. Defaults to 'tab-active'. |
public getActiveTabStyle ( ) : |
||
Résultat | the style for the active tab div |
public getActiveView ( ) : |
||
Résultat | the currently active view, null if no active view |
public getActiveViewID ( ) : string | ||
Résultat | string | The ID of the active tab view. Defaults to '', meaning not set. |
public getActiveViewIndex ( ) : integer | ||
Résultat | integer | the zero-based index of the active tab view. If -1, it means no active tab view. Default is 0 (the first view is active). |
public getAutoSwitch ( ) : boolean | ||
Résultat | boolean | status of automatic tab switch on hover |
protected getClientClassName ( ) : string | ||
Résultat | string | the javascript class name |
protected getClientOptions ( ) : array | ||
Résultat | array | the options for JavaScript |
public getCssClass ( ) : string | ||
Résultat | string | CSS class for the whole tab control div. Defaults to 'tab-panel'. |
public getDataChanged ( ) : boolean | ||
Résultat | boolean | whether postback has caused the control data change. False if the page is not in postback mode. |
public getTabCssClass ( ) : string | ||
Résultat | string | CSS class for non-active tabs. Defaults to 'tab-normal'. |
public getTabStyle ( ) : |
||
Résultat | the style for all the inactive tab div |
protected getTagName ( ) : string | ||
Résultat | string | tag name for the control |
public getViewCssClass ( ) : string | ||
Résultat | string | CSS class for the currently displayed view div. Defaults to 'tab-view'. |
public getViewStyle ( ) : |
||
Résultat | the style for all the view div |
public getViews ( ) : |
||
Résultat | list of {@link TTabView} controls |
public loadPostData ( $key, $values ) : boolean | ||
Résultat | boolean | whether the data of the control has been changed |
public onPreRender ( $param ) |
public raisePostDataChangedEvent ( ) |
protected registerClientScript ( ) |
protected registerStyleSheet ( ) |
public renderContents ( $writer ) |