Copied!
Cloneable Instantiable
Methods
public detectCharset ( PHPHtmlParser\Options $options , string $defaultCharset , PHPHtmlParser\Dom\Node\AbstractNode $root ) : bool
 

Attempts to detect the charset that the html was sent in.

  • throws ChildNotFoundException
public parse ( PHPHtmlParser\Options $options , PHPHtmlParser\Content $content , int $size ) : PHPHtmlParser\Dom\Node\AbstractNode
 

Attempts to parse the html in content.

  • throws ChildNotFoundException
  • throws CircularException
  • throws ContentLengthException
  • throws LogicalException
  • throws StrictException
Methods
private detectHTML5Charset ( stringEncode\Encode $encode , PHPHtmlParser\Dom\Node\AbstractNode $root ) : bool
 
  • throws ChildNotFoundException
private makeEndTag ( PHPHtmlParser\Content $content , PHPHtmlParser\Options $options ) : PHPHtmlParser\DTO\TagDTO
 
  • throws ContentLengthException
  • throws LogicalException
private parseTag ( PHPHtmlParser\Options $options , PHPHtmlParser\Content $content , int $size ) : PHPHtmlParser\DTO\TagDTO
 

Attempt to parse a tag out of the content.

  • throws StrictException
  • throws ContentLengthException
  • throws LogicalException
  • throws StrictException
private setUpAttributes ( PHPHtmlParser\Content $content , int $size , PHPHtmlParser\Dom\Node\HtmlNode $node , PHPHtmlParser\Options $options , $tag ) : void
 
  • throws ContentLengthException
  • throws LogicalException
  • throws StrictException
© 2021 Bruce Wells
Search Namespaces \ Classes
Configuration