public function getViewConfigurationsByViewgroupOfView($objectName, $viewName)
    {
        $viewConfigurations = array();

        $modelConfiguration = $this->getModelConfiguration($objectName);
        $viewConfiguration = $this->getViewConfiguration($objectName, $viewName);
        if (isset($viewConfiguration['viewgroup'])) {
            $viewgroup = $viewConfiguration['viewgroup'];
            foreach ($modelConfiguration['views'] as $viewName => $viewConfiguration) {
                if (isset($viewConfiguration['viewgroup']) && $viewConfiguration['viewgroup'] == $viewgroup) {
                    $viewConfigurations[$viewName] = $this->getViewConfiguration($objectName, $viewName);
                }
            }
        }

        return $viewConfigurations;
    }
public function getViewConfigurationsByViewgroupOfView($objectName, $viewName)
    {
        $viewConfigurations = array();

        $modelConfiguration = $this->getModelConfiguration($objectName);
        $viewConfiguration = $this->getViewConfiguration($objectName, $viewName);
        if (isset($viewConfiguration['viewgroup'])) {
            $viewgroup = $viewConfiguration['viewgroup'];
            foreach ($modelConfiguration['views'] as $viewName => $viewConfiguration) {
                if (isset($viewConfiguration['viewgroup']) && $viewConfiguration['viewgroup'] == $viewgroup) {
                    $viewConfigurations[$viewName] = $this->getViewConfiguration($objectName, $viewName);
                }
            }
        }

        return $viewConfigurations;
    }
public function getViewConfigurationsByViewgroupOfView ( $ objectName , $ viewName ) { $ viewConfigurations = array ( ) ; $ modelConfiguration = $ this -> getModelConfiguration ( $ objectName ) ; $ viewConfiguration = $ this -> getViewConfiguration ( $ objectName , $ viewName ) ; if ( isset ( $ viewConfiguration [ 'viewgroup' ] ) ) { $ viewgroup = $ viewConfiguration [ 'viewgroup' ] ; foreach ( $ modelConfiguration [ 'views' ] as $ viewName => $ viewConfiguration ) { if ( isset ( $ viewConfiguration [ 'viewgroup' ] ) && $ viewConfiguration [ 'viewgroup' ] == $ viewgroup ) { $ viewConfigurations [ $ viewName ] = $ this -> getViewConfiguration ( $ objectName , $ viewName ) ; } } } return $ viewConfigurations ; }
Returns all the field configurations of views in the viewgroup of the specified view name.

@param string $objectName
@param string $viewName

@return array
Returns all the field configurations of views in the viewgroup of the specified view name .