PHP Interface Sulu\Bundle\ContactBundle\Util\IdConverterInterface

ファイルを表示 Open project: sulu/sulu Interface Usage Examples

Public Methods

Method Description
convertGroupedIdsToIds ( array $groupedIds ) : array Converts array of grouped ids in a array of ids with groups.
convertIdsToGroupedIds ( array $ids, array $default = [] ) : array Converts array of ids with group into a array of grouped ids.

Method Details

convertGroupedIdsToIds() public method

Converts array of grouped ids in a array of ids with groups.
public convertGroupedIdsToIds ( array $groupedIds ) : array
$groupedIds array
return array

convertIdsToGroupedIds() public method

Converts array of ids with group into a array of grouped ids.
public convertIdsToGroupedIds ( array $ids, array $default = [] ) : array
$ids array
$default array
return array