Template::setFieldgroup()
Set this Template's Fieldgroup
Usage
$template->setFieldgroup(Fieldgroup $fieldgroup);Arguments
| Name | Type(s) | Description |
|---|---|---|
$fieldgroup | Fieldgroup |
Return value
$thisObject instance it was called from (method supports fluent interface).
Exceptions
Method can throw exceptions on error:
WireException
Template methods and properties
API reference based on ProcessWire core version 3.0.252