PHP Class eZ\Publish\Core\Helper\FieldsGroups\ArrayTranslatorFieldsGroupsList

Human-readable names are obtained using the translator, in the ezplatform_fields_groups domain.
Inheritance: implements eZ\Publish\Core\Helper\FieldsGroups\FieldsGroupsList
显示文件 Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
__construct ( Symfony\Component\Translation\TranslatorInterface $translator, $defaultGroup, array $groups )
getDefaultGroup ( )
getGroups ( )

Method Details

__construct() public method

public __construct ( Symfony\Component\Translation\TranslatorInterface $translator, $defaultGroup, array $groups )
$translator Symfony\Component\Translation\TranslatorInterface
$groups array

getDefaultGroup() public method

public getDefaultGroup ( )

getGroups() public method

public getGroups ( )