secure_on) {
self::helpLink('secure', '');
} else {
self::helpLink('secure', '');
}
}
public static function helpIconLink($section)
{
self::helpLink($section, '');
}
/**
* Get badge class attr val from status
*
* @param string $status
* @return string html class attribute
*/
public static function getBadgeClassFromCheckStatus($status)
{
switch ($status) {
case 'Pass':
return 'status-badge-pass';
case 'Fail':
return 'status-badge-fail';
case 'Warn':
return 'status-badge-warn';
default:
DUPX_Log::error(sprintf("The arcCheck var has the illegal value %s in switch case", DUPX_Log::varToString($status)));
}
}
}