public function parseTranslatableList(array $listElement)
    {
        $listItems = array();
        foreach ($listElement['value'] as $valueRow) {
            $listItems[$valueRow['_languageCode']] = isset($valueRow['#text']) ?
                $valueRow['#text'] :
                '';
        }

        return $listItems;
    }
public function parseTranslatableList(array $listElement)
    {
        $listItems = array();
        foreach ($listElement['value'] as $valueRow) {
            $listItems[$valueRow['_languageCode']] = isset($valueRow['#text']) ?
                $valueRow['#text'] :
                '';
        }

        return $listItems;
    }
public function parseTranslatableList ( array $ listElement ) { $ listItems = array ( ) ; foreach ( $ listElement [ 'value' ] as $ valueRow ) { $ listItems [ $ valueRow [ '_languageCode' ] ] = isset ( $ valueRow [ '#text' ] ) ? $ valueRow [ '#text' ] : '' ; } return $ listItems ; }
Parses a translatable list, like names or descriptions.

@param array $listElement

@return array
Parses a translatable list like names or descriptions .