piwik/core/Archive/DataTableFactory.php
/**
     * Creates a DataTable instance from an index row.
     *
     * @param array $data An archive data row.
     * @param array $keyMetadata The metadata to add to the table(s) when created.
     * @return DataTable|DataTable\Map
     */
Creates a DataTable instance from an index row.
@param array $data An archive data row.
@param array $keyMetadata The metadata to add to the table(s) when created.
Creates a DataTable instance from an index row . @param array $data An archive data row . @param array $keyMetadata The metadata to add to the table ( s ) when created .
private function createDataTable($data, $keyMetadata)
    {
        if ($this->dataType == 'blob') {
            $result = $this->makeFromBlobRow($data);
        } else {
            $result = $this->makeFromMetricsArray($data);
        }
        $this->setTableMetadata($keyMetadata, $result);
        return $result;
    }
private function createDataTable ( $ data , $ keyMetadata ) { if ( $ this -> dataType == 'blob' ) { $ result = $ this -> makeFromBlobRow ( $ data ) ; } else { $ result = $ this -> makeFromMetricsArray ( $ data ) ; } $ this -> setTableMetadata ( $ keyMetadata , $ result ) ; return $ result ; }
Creates a DataTable instance from an index row.
Creates a DataTable instance from an index row .