Jet\UI_tabs_tab
Renderer of a single tab within the navigation using tabs. Inherits from Jet\UI_Renderer_Single.
Overview of methods
Method | Meaning of |
---|---|
public __construct( string $id, string $title, callable $tab_url_creator ) |
Parameters:
|
public getIsSelected( ) : bool |
Indicates whether the tab is selected. |
public setIsSelected( bool $is_selected ) : void |
Sets whether the tab is selected. |
public getTitle( ) : string |
Returns the title of the tab. |
public setTitle( string $title ) : void |
Sets the title of the tab. |
public getUrl( ) : string |
Generates and returns the tab URL. |