You are here

public function TreeBuildingRules::hasRules in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/masterminds/html5/src/HTML5/Parser/TreeBuildingRules.php \Masterminds\HTML5\Parser\TreeBuildingRules::hasRules()

Returns true if the given tagname has special processing rules.

File

vendor/masterminds/html5/src/HTML5/Parser/TreeBuildingRules.php, line 49

Class

TreeBuildingRules
Handles special-case rules for the DOM tree builder.

Namespace

Masterminds\HTML5\Parser

Code

public function hasRules($tagname) {
  return isset(static::$tags[$tagname]);
}