FireGento_MageMonitoring_Model_Widget_CacheStat_Abstract::getCssIdByThreshold
Takes $value and compares it with given thresholds.
Returns 'error' if $value <= $errorTresh, 'warning' if $value <= $warningThres
Signature
public function getCssIdByThreshold(int
$value,
[integer
$errorTresh = 0,
[integer
$warningThresh = 0]] )
Parameters
$value
— int- Value
$errorTresh
— integer- Error threshold
$warningThresh
— integer- Warning threshold
Returns
- string