public function SiteAuditCheckUsersRolesList::getResultInfo in Site Audit 8.2
Implements \SiteAudit\Check\Abstract\getResultInfo().
Overrides SiteAuditCheckAbstract::getResultInfo
File
- Check/
Users/ RolesList.php, line 34 - Contains \SiteAudit\Check\Users\RolesList.
Class
- SiteAuditCheckUsersRolesList
- Class SiteAuditCheckUsersRolesList.
Code
public function getResultInfo() {
$counts = array();
foreach ($this->registry['roles'] as $name => $count_users) {
$counts[] = "{$name}: {$count_users}";
}
return implode(', ', $counts);
}