original_string: public function getDataTable($resultIndices)
      {
          $dataTableFactory = new DataTableFactory(
              $this->dataNames, $this->dataType, $this->sitesId, $this->periods, $this->defaultRow);
  
          $index = $this->getIndexedArray($resultIndices);
  
          return $dataTableFactory->make($index, $resultIndices);
      }
code: public function getDataTable($resultIndices)
      {
          $dataTableFactory = new DataTableFactory(
              $this->dataNames, $this->dataType, $this->sitesId, $this->periods, $this->defaultRow);
  
          $index = $this->getIndexedArray($resultIndices);
  
          return $dataTableFactory->make($index, $resultIndices);
      }
code_tokens: public function getDataTable ( $ resultIndices ) { $ dataTableFactory = new DataTableFactory ( $ this -> dataNames , $ this -> dataType , $ this -> sitesId , $ this -> periods , $ this -> defaultRow ) ; $ index = $ this -> getIndexedArray ( $ resultIndices ) ; return $ dataTableFactory -> make ( $ index , $ resultIndices ) ; }
docstring: Returns archive data as a DataTable indexed by metadata. Indexed data will
  be represented by Map instances.
  
  @param array $resultIndices An array mapping metadata names to pretty labels
  for them. Each archive data row will be indexed
  by the metadata specified here.
  
  Eg, array('site' => 'idSite', 'period' => 'Date')
  @return DataTable|DataTable\Map
docstring_tokens: Returns archive data as a DataTable indexed by metadata . Indexed data will be represented by Map instances .