You are here

public function SiteAuditCheckDatabaseSize::getResultInfo in Site Audit 8.2

Same name and namespace in other branches
  1. 7 Check/Database/Size.php \SiteAuditCheckDatabaseSize::getResultInfo()

Implements \SiteAudit\Check\Abstract\getResultInfo().

Overrides SiteAuditCheckAbstract::getResultInfo

File

Check/Database/Size.php, line 38
Contains \SiteAudit\Check\Database\Size.

Class

SiteAuditCheckDatabaseSize
Class SiteAuditCheckDatabaseSize.

Code

public function getResultInfo() {
  return dt('Total size: @size_in_mbMB', array(
    '@size_in_mb' => number_format($this->registry['rows_by_table'] / 1048576, 2),
  ));
}