public function SiteAuditCheckWatchdogPhp::getResultInfo in Site Audit 8.2
Same name and namespace in other branches
- 7 Check/Watchdog/Php.php \SiteAuditCheckWatchdogPhp::getResultInfo()
Implements \SiteAudit\Check\Abstract\getResultInfo().
Overrides SiteAuditCheckAbstract::getResultInfo
1 call to SiteAuditCheckWatchdogPhp::getResultInfo()
- SiteAuditCheckWatchdogPhp::getResultWarn in Check/
Watchdog/ Php.php - Implements \SiteAudit\Check\Abstract\getResultWarn().
File
- Check/
Watchdog/ Php.php, line 34 - Contains \SiteAudit\Check\Watchdog\Php.
Class
- SiteAuditCheckWatchdogPhp
- Class SiteAuditCheckWatchdogPhp.
Code
public function getResultInfo() {
$counts = array();
foreach ($this->registry['php_counts'] as $severity => $count) {
$counts[] = $severity . ': ' . $count;
}
$ret_val = implode(', ', $counts);
$ret_val .= ' - total ' . $this->registry['percent_php'] . '%';
return $ret_val;
}