Elements/Fieldset/LanguageFieldset.php
public function getValue()
    {
        $values = [];
        
        $this->getChildren()->forAll(function (ElementInterface $child) use (&$values) {
            foreach ($this->locales as $locale) {
                $values[$locale['code']][$child->getName()] = $this->getChildValue($child, $locale['code']);
            }
        });
        
        return $values;
    }
public function getValue()
    {
        $values = [];
        
        $this->getChildren()->forAll(function (ElementInterface $child) use (&$values) {
            foreach ($this->locales as $locale) {
                $values[$locale['code']][$child->getName()] = $this->getChildValue($child, $locale['code']);
            }
        });
        
        return $values;
    }
public function getValue ( ) { $ values = [ ] ; $ this -> getChildren ( ) -> forAll ( function ( ElementInterface $ child ) use ( & $ values ) { foreach ( $ this -> locales as $ locale ) { $ values [ $ locale [ 'code' ] ] [ $ child -> getName ( ) ] = $ this -> getChildValue ( $ child , $ locale [ 'code' ] ) ; } } ) ; return $ values ; }
Returns fieldset values

@return array|mixed
Returns fieldset values