PHP Interface eZ\Publish\Core\Helper\FieldsGroups\FieldsGroupsList

Used to group fields definitions, and apply this grouping when editing / viewing content.
Mostra file Open project: ezsystems/ezpublish-kernel Interface Usage Examples

Public Methods

Method Description
getDefaultGroup ( ) : string Returns the default field group identifier.
getGroups ( ) : array Returns the list of fields groups.

Method Details

getDefaultGroup() public method

Returns the default field group identifier.
public getDefaultGroup ( ) : string
return string

getGroups() public method

The list is a hash, with the group identifier as the key, and the human readable string as the value. If groups are meant to be translated, they should be translated inside this service.
public getGroups ( ) : array
return array hash, with the group identifier as the key, and the human readable string as the value.