diff options
author | Matt Butcher <[email protected]> | 2014-02-11 09:56:01 -0700 |
---|---|---|
committer | Matt Butcher <[email protected]> | 2014-02-11 09:56:01 -0700 |
commit | 44e8e23626bf619844baf9983e931d2f58606377 (patch) | |
tree | 62625f63a954ab5a3f9bb4184039a68496e3896a /src/HTML5/Elements.php | |
parent | 77ad931cd824feb33eebae08cf3a5a47bce1e337 (diff) | |
parent | 3b691837c6d7a0969137048fbda274463d6b1d7c (diff) |
Merge branch 'master' of github.com:Masterminds/html5-php
Diffstat (limited to 'src/HTML5/Elements.php')
-rw-r--r-- | src/HTML5/Elements.php | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/HTML5/Elements.php b/src/HTML5/Elements.php index 0dabc3a..69d3882 100644 --- a/src/HTML5/Elements.php +++ b/src/HTML5/Elements.php @@ -1,9 +1,10 @@ <?php +/** + * Provide general element functions. + */ namespace HTML5; /** - * Provide general element functions. - * * This class provides general information about HTML5 elements, * including syntactic and semantic issues. Parsers and serializers can * use this class as a reference point for information about the rules @@ -532,6 +533,12 @@ class Elements { /** * Get the element mask for the given element name. + * + * @param string $name + * The name of the element. + * + * @return int + * The element mask. */ public static function element($name) { if (isset(static::$html5[$name])) { |