KenedoProperty Type groupstart and groupend

PHP class: KenedoPropertyGroupstart
Recommended column type: property stores no data
Object var: none

The types ‘groupstart’ and ‘groupend’ are untypical properties because they manage no data. They are simply a way to group other properties visually. Basically add a property groupstart, followed by the properties in a group and add a groupend property in the end.

Typical Property Settings Array

$propDefs['groupstart_something'] = array( 'name'=>'groupstart_something', 'type'=>'groupstart', 'title'=>KText::_('Group of Properties'), 'toggle'=>true, 'defaultState'=>'opened', 'positionForm'=>100, ); .. Properties $propDefs['groupend_something'] = array( 'name'=>'groupend_something', 'type'=>'groupend', 'positionForm'=>600, );


Property settings

title

Required: yes
Valid values: string

Supply the heading to show for the group of properties.

toggle

Required: no
Valid values: boolean

Choose if the admin can expand/collapse the group. A plus/minus icon appears next to the group title.

defaultState

Required: yes
Valid values: ‘opened’ or ‘closed’

Choose if the group shall be collapsed or expanded initially. When the admin stores a record, the last group state will be remembered.