original_string: public function getDataTableExpanded($name, $idSubtable = null, $depth = null, $addMetadataSubtableId = true)
      {
          $data = $this->get($name, 'blob', self::ID_SUBTABLE_LOAD_ALL_SUBTABLES);
          return $data->getExpandedDataTable($this->getResultIndices(), $idSubtable, $depth, $addMetadataSubtableId);
      }
code: public function getDataTableExpanded($name, $idSubtable = null, $depth = null, $addMetadataSubtableId = true)
      {
          $data = $this->get($name, 'blob', self::ID_SUBTABLE_LOAD_ALL_SUBTABLES);
          return $data->getExpandedDataTable($this->getResultIndices(), $idSubtable, $depth, $addMetadataSubtableId);
      }
code_tokens: public function getDataTableExpanded ( $ name , $ idSubtable = null , $ depth = null , $ addMetadataSubtableId = true ) { $ data = $ this -> get ( $ name , 'blob' , self :: ID_SUBTABLE_LOAD_ALL_SUBTABLES ) ; return $ data -> getExpandedDataTable ( $ this -> getResultIndices ( ) , $ idSubtable , $ depth , $ addMetadataSubtableId ) ; }
docstring: Queries and returns one report with all of its subtables loaded.
  
  If multiple sites were requested in {@link build()} or {@link factory()} the result will
  be a DataTable\Map that is indexed by site ID.
  
  If multiple periods were requested in {@link build()} or {@link factory()} the result will
  be a DataTable\Map that is indexed by period.
  
  The site ID index is always first, so if multiple sites & periods were requested, the result
  will be a {@link DataTable\Map indexed} by site ID which contains {@link DataTable\Map} instances that are
  indexed by period.
  
  @param string $name The name of the record to get.
  @param int|string|null $idSubtable The ID of the subtable to get (if any). The subtable will be expanded.
  @param int|null $depth The maximum number of subtable levels to load. If null, all levels are loaded.
  For example, if `1` is supplied, then the DataTable returned will have its subtables
  loaded. Those subtables, however, will NOT have their subtables loaded.
  @param bool $addMetadataSubtableId Whether to add the database subtable ID as metadata to each datatable,
  or not.
  @return DataTable|DataTable\Map
docstring_tokens: Queries and returns one report with all of its subtables loaded .