protected function visitTranslatedList(Generator $generator, array $translatedElements, $listName)
    {
        $generator->startHashElement($listName);
        $generator->startList('value');
        foreach ($translatedElements as $languageCode => $element) {
            $generator->startValueElement('value', $element, array('languageCode' => $languageCode));
            $generator->endValueElement('value');
        }
        $generator->endList('value');
        $generator->endHashElement($listName);
    }
protected function visitTranslatedList(Generator $generator, array $translatedElements, $listName)
    {
        $generator->startHashElement($listName);
        $generator->startList('value');
        foreach ($translatedElements as $languageCode => $element) {
            $generator->startValueElement('value', $element, array('languageCode' => $languageCode));
            $generator->endValueElement('value');
        }
        $generator->endList('value');
        $generator->endHashElement($listName);
    }
protected function visitTranslatedList ( Generator $ generator , array $ translatedElements , $ listName ) { $ generator -> startHashElement ( $ listName ) ; $ generator -> startList ( 'value' ) ; foreach ( $ translatedElements as $ languageCode => $ element ) { $ generator -> startValueElement ( 'value' , $ element , array ( 'languageCode' => $ languageCode ) ) ; $ generator -> endValueElement ( 'value' ) ; } $ generator -> endList ( 'value' ) ; $ generator -> endHashElement ( $ listName ) ; }
Visits a list of translated elements.

@param \eZ\Publish\Core\REST\Common\Output\Generator $generator
@param array $translatedElements
@param mixed $listName
Visits a list of translated elements .