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