diff options
author | Matt Butcher <[email protected]> | 2013-06-28 14:00:23 -0500 |
---|---|---|
committer | Matt Butcher <[email protected]> | 2013-06-28 14:00:23 -0500 |
commit | d554fd0d726387ea622e6af0c84ae9a21ca3951f (patch) | |
tree | 69e245778942f69cc6069475ac2e97155e5a1908 /src | |
parent | a64d9eda45f78dba2872d4a84bf8c20c42b2fcf8 (diff) |
Updated documentation on elements and exception.
Diffstat (limited to 'src')
-rw-r--r-- | src/HTML5/Elements.php | 8 | ||||
-rw-r--r-- | src/HTML5/Exception.php | 3 |
2 files changed, 9 insertions, 2 deletions
diff --git a/src/HTML5/Elements.php b/src/HTML5/Elements.php index 3c1e57f..89de3c6 100644 --- a/src/HTML5/Elements.php +++ b/src/HTML5/Elements.php @@ -38,13 +38,17 @@ class Elements { // "pre", "listing" // "form" // "plaintext" - /** Indicates that if a previous event is for a P tag, that element - * should be considered closed. */ + /** + * Indicates that if a previous event is for a P tag, that element + * should be considered closed. + */ const AUTOCLOSE_P = 16; + /** Indicates that the text inside is plaintext (pre). */ const TEXT_PLAINTEXT = 32; // See https://developer.mozilla.org/en-US/docs/HTML/Block-level_elements + /** Indicates that the tag is a block. */ const BLOCK_TAG = 64; diff --git a/src/HTML5/Exception.php b/src/HTML5/Exception.php index fab97d0..aa650a6 100644 --- a/src/HTML5/Exception.php +++ b/src/HTML5/Exception.php @@ -1,5 +1,8 @@ <?php namespace HTML5; +/** + * The base exception for the HTML5 project. + */ class Exception extends \Exception { } |