static public getStatus ( $value ) | ||
$value | status ID |
static function getStatus($value)
{
$tab = static::getAllStatusArray(true);
// Return $value if not defined
return isset($tab[$value]) ? $tab[$value] : $value;
}