public function SiteAuditCheckUsersCountAll::getResultInfo in Site Audit 8.2
Same name and namespace in other branches
- 7 Check/Users/CountAll.php \SiteAuditCheckUsersCountAll::getResultInfo()
Implements \SiteAudit\Check\Abstract\getResultInfo().
Overrides SiteAuditCheckAbstract::getResultInfo
File
- Check/
Users/ CountAll.php, line 38 - Contains \SiteAudit\Check\Users\CountAll.
Class
- SiteAuditCheckUsersCountAll
- Class SiteAuditCheckUsersCountAll.
Code
public function getResultInfo() {
if ($this->registry['count_users_all'] == 1) {
return dt('There is one user.');
}
return dt('There are @count_users_all users.', array(
'@count_users_all' => $this->registry['count_users_all'],
));
}