[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/_test/vendor/scotteh/php-dom-wrapper/src/ -> Document.php (summary)

(no description)

File Size: 271 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Document:: (18 methods):
  __construct()
  setLibxmlOptions()
  document()
  collection()
  result()
  parent()
  parents()
  substituteWith()
  _clone()
  getHtml()
  setHtml()
  loadHTML()
  setEncoding()
  getEncoding()
  getCharset()
  detectEncoding()
  convertToUtf8()
  composeXmlNode()


Class: Document  - X-Ref

Document Node

__construct(string $version = '1.0', string $encoding = 'UTF-8')   X-Ref
No description

setLibxmlOptions(int $libxmlOptions)   X-Ref
Set libxml options.

Multiple values must use bitwise OR.
eg: LIBXML_HTML_NOIMPLIED | LIBXML_HTML_NODEFDTD

param: int $libxmlOptions
link: http://php.net/manual/en/libxml.constants.php

document()   X-Ref
{@inheritdoc}


collection()   X-Ref
{@inheritdoc}


result(NodeList $nodeList)   X-Ref
{@inheritdoc}


parent()   X-Ref
{@inheritdoc}


parents()   X-Ref
{@inheritdoc}


substituteWith($newNode)   X-Ref
{@inheritdoc}


_clone()   X-Ref
{@inheritdoc}


getHtml()   X-Ref
{@inheritdoc}


setHtml($html)   X-Ref
{@inheritdoc}


loadHTML($html, $options = 0)   X-Ref

param: string $html
param: int $options
return: bool

setEncoding(string $encoding = null)   X-Ref
No description

getEncoding()   X-Ref
No description

getCharset(string $html)   X-Ref
No description

detectEncoding(string $html)   X-Ref
No description

convertToUtf8(string $html)   X-Ref
No description

composeXmlNode($html)   X-Ref

param: $html