protected function buildValueArray(array $componentNames)
    {
        $result = [];

        foreach ($componentNames as $componentName) {
            $result[$componentName] = $this->getValue($componentName);
        };

        return $result;
    }
protected function buildValueArray(array $componentNames)
    {
        $result = [];

        foreach ($componentNames as $componentName) {
            $result[$componentName] = $this->getValue($componentName);
        };

        return $result;
    }
protected function buildValueArray ( array $ componentNames ) { $ result = [ ] ; foreach ( $ componentNames as $ componentName ) { $ result [ $ componentName ] = $ this -> getValue ( $ componentName ) ; } ; return $ result ; }
Returns built value array indexed by component name.

@param array $componentNames Name of components to build array for

@author Benjamin Carl <opensource@clickalicious.de>

@return array Values indexed by component name
Returns built value array indexed by component name .