CoolCMS API

GroupsTrait

Table of Contents

Methods

addParameterControlsToGroup()  : void
Adds the parameter control(s) to the group.
getParameterGroupLabel()  : string
insertFormElementsIntoGroups()  : void

Methods

addParameterControlsToGroup()

Adds the parameter control(s) to the group.

private addParameterControlsToGroup(Form $form, ControlGroup $group, string $key) : void

Most types have one control at $key; multi-field types (range) have {key}_from and {key}_to.

Parameters
$form : Form
$group : ControlGroup
$key : string

insertFormElementsIntoGroups()

private insertFormElementsIntoGroups(Form $form) : void
Parameters
$form : Form
On this page

Search results