private function getTablesSummary($statuses)
    {
        $dataTable = new DataTable();
        foreach ($statuses as $status) {
            $dataTable->addRowFromSimpleArray(array(
                                                   'label'      => $status['Name'],
                                                   'data_size'  => $status['Data_length'],
                                                   'index_size' => $status['Index_length'],
                                                   'row_count'  => $status['Rows']
                                              ));
        }
        return $dataTable;
    }
private function getTablesSummary($statuses)
    {
        $dataTable = new DataTable();
        foreach ($statuses as $status) {
            $dataTable->addRowFromSimpleArray(array(
                                                   'label'      => $status['Name'],
                                                   'data_size'  => $status['Data_length'],
                                                   'index_size' => $status['Index_length'],
                                                   'row_count'  => $status['Rows']
                                              ));
        }
        return $dataTable;
    }
private function getTablesSummary ( $ statuses ) { $ dataTable = new DataTable ( ) ; foreach ( $ statuses as $ status ) { $ dataTable -> addRowFromSimpleArray ( array ( 'label' => $ status [ 'Name' ] , 'data_size' => $ status [ 'Data_length' ] , 'index_size' => $ status [ 'Index_length' ] , 'row_count' => $ status [ 'Rows' ] ) ) ; } return $ dataTable ; }
Returns a datatable representation of a set of table statuses.

@param array $statuses The table statuses to summarize.
@return DataTable
Returns a datatable representation of a set of table statuses .