src/PowerTools/HTML5/Elements.php
public static function element($name) {
        if (isset(static::$html5[$name])) {
            return static::$html5[$name];
        }
        if (isset(static::$svg[$name])) {
            return static::$svg[$name];
        }
        if (isset(static::$mathml[$name])) {
            return static::$mathml[$name];
        }

        return false;
    }
public static function element($name) {
        if (isset(static::$html5[$name])) {
            return static::$html5[$name];
        }
        if (isset(static::$svg[$name])) {
            return static::$svg[$name];
        }
        if (isset(static::$mathml[$name])) {
            return static::$mathml[$name];
        }

        return false;
    }
public static function element ( $ name ) { if ( isset ( static :: $ html5 [ $ name ] ) ) { return static :: $ html5 [ $ name ] ; } if ( isset ( static :: $ svg [ $ name ] ) ) { return static :: $ svg [ $ name ] ; } if ( isset ( static :: $ mathml [ $ name ] ) ) { return static :: $ mathml [ $ name ] ; } return false ; }
Get the element mask for the given element name.

@param string $name
The name of the element.

@return int The element mask.
Get the element mask for the given element name .