public static function getValueForName($name)
    {
        foreach (self::getConstants() as $constant) {
            if ($constant['name'] === $name) {
                return $constant['value'];
            }
        }
        return false;
    }
public static function getValueForName($name)
    {
        foreach (self::getConstants() as $constant) {
            if ($constant['name'] === $name) {
                return $constant['value'];
            }
        }
        return false;
    }
public static function getValueForName ( $ name ) { foreach ( self :: getConstants ( ) as $ constant ) { if ( $ constant [ 'name' ] === $ name ) { return $ constant [ 'value' ] ; } } return false ; }
Get the descriptive value for the given name.

@param int|string $name The name to get the value of a constant for.
@return bool|string
Get the descriptive value for the given name .