$tabs->append()
Appends an element
$tabs->append(string|Tab ...$args): Tabs
Parameters
| Name | Type | Default |
|---|---|---|
| ...$args | stringorKirby\Blueprint\Tab |
no default value |
Return type
This method modifies the existing $tabs object it is applied to and returns it again.
Parent class
Kirby\Blueprint\Tabs
inherited from Kirby\Toolkit\Collection
Examples
$collection->append('key', $value);
$collection->append($value);