private function getResultIndices()
    {
        $indices = array();

        if (count($this->params->getIdSites()) > 1
            || $this->forceIndexedBySite
        ) {
            $indices['site'] = 'idSite';
        }

        if (count($this->params->getPeriods()) > 1
            || $this->forceIndexedByDate
        ) {
            $indices['period'] = 'date';
        }

        return $indices;
    }
private function getResultIndices()
    {
        $indices = array();

        if (count($this->params->getIdSites()) > 1
            || $this->forceIndexedBySite
        ) {
            $indices['site'] = 'idSite';
        }

        if (count($this->params->getPeriods()) > 1
            || $this->forceIndexedByDate
        ) {
            $indices['period'] = 'date';
        }

        return $indices;
    }
private function getResultIndices ( ) { $ indices = array ( ) ; if ( count ( $ this -> params -> getIdSites ( ) ) > 1 || $ this -> forceIndexedBySite ) { $ indices [ 'site' ] = 'idSite' ; } if ( count ( $ this -> params -> getPeriods ( ) ) > 1 || $ this -> forceIndexedByDate ) { $ indices [ 'period' ] = 'date' ; } return $ indices ; }
Returns an array describing what metadata to use when indexing a query result.
For use with DataCollection.

@return array
Returns an array describing what metadata to use when indexing a query result . For use with DataCollection .