kernel/private/rest/classes/controllers/rest_controller.php
protected function getResponseGroups()
    {
        $resGroups = $this->request->variables['ResponseGroups'];
        for ( $i = 0, $iMax = count( $this->defaultResponsegroups ); $i < $iMax; ++$i )
        {
            if ( !in_array( $this->defaultResponsegroups[$i], $resGroups ) )
                $resGroups[] = $this->defaultResponsegroups[$i];
        }

        return $resGroups;
    }
protected function getResponseGroups()
    {
        $resGroups = $this->request->variables['ResponseGroups'];
        for ( $i = 0, $iMax = count( $this->defaultResponsegroups ); $i < $iMax; ++$i )
        {
            if ( !in_array( $this->defaultResponsegroups[$i], $resGroups ) )
                $resGroups[] = $this->defaultResponsegroups[$i];
        }

        return $resGroups;
    }
protected function getResponseGroups ( ) { $ resGroups = $ this -> request -> variables [ 'ResponseGroups' ] ; for ( $ i = 0 , $ iMax = count ( $ this -> defaultResponsegroups ) ; $ i < $ iMax ; ++ $ i ) { if ( ! in_array ( $ this -> defaultResponsegroups [ $ i ] , $ resGroups ) ) $ resGroups [ ] = $ this -> defaultResponsegroups [ $ i ] ; } return $ resGroups ; }
Returns requested response groups

@return array
Returns requested response groups