CloneableInstantiable
- Extends
- Implements
Countable PHPFUI \Interfaces \Walkable Stringable - Traits
Constants |
Methods |
public __construct(bool $vertical = false)
|
public addTab(string $tabText, string $content, bool $active = false) : static
|
public count() : int |
public getContent() : PHPFUI Return the content section for the Tabs. You can call this separately and not add the Tabs object to the page if you need more control of where the content is located in the page. If you add the Tabs object to the page, it will add the tabs section, then the content section immediately after, which you might not want. If you call this separately, you are resposible for adding both the Tabs and content sections to the page. |
public getTabs() : PHPFUI Return the Tabs section. You can call this separately and not add the Tabs object to the page if you need more control of where the tabs are located in the page. If you add the Tabs object to the page, it will add the tabs section, then the content section immediately after, which you might not want. |
Methods |
protected getBody() : string |
protected getEnd() : string |
protected getStart() : string |
Properties |
private PHPFUI |
private array $tabs = []
|
private ?PHPFUI |
private bool $vertical |
Methods |
private generate() : bool |
Methods |