';
$i = 0;
foreach ($status as $value => $oneStatus) {
$class = $value == $current ? 'acyc__listing__status__selected' : '';
if ($i != 0) $statusHtml .= '|';
$statusHtml .= ''.$oneStatus['text'].' ('.$oneStatus['number'].')';
$i++;
}
$statusHtml .= '';
return $statusHtml;
}
public static function yesNo($value)
{
if (intval($value) === 0) {
return __('No', 'acychecker');
} else {
return __('Yes', 'acychecker');
}
}
}