Copied!
Abstract
Methods
public __call( $name, $arguments)
 
public __get( $name)
 
public __invoke( $selector, $idx = NULL)
 
public __isset( $name)
 
  • param string $name
  • return bool
public __set( $name, $value)
 
public __toString() : string
 
  • return string
public __unset( $name)
 
  • param string $name
  • return void
public abstract find(string $selector, $idx = NULL)
 
  • param string $selector
  • param int|null $idx
  • return mixed
public abstract getAllAttributes()
 
  • return string[]|null
public abstract getAttribute(string $name) : string
public abstract hasAttribute(string $name) : bool
public abstract html(bool $multiDecodeNewHtmlEntity = false) : string
public abstract innerHtml(bool $multiDecodeNewHtmlEntity = false, bool $putBrokenReplacedBack = true) : string
public abstract removeAttribute(string $name) : voku\helper\SimpleHtmlDomInterface
public abstract setAttribute(string $name, $value = NULL, bool $strictEmptyValueCheck = false) : voku\helper\SimpleHtmlDomInterface
 
public abstract text() : string
Properties
protected static $functionAliases = ['children' => 'childNodes', 'first_child' => 'firstChild', 'last_child' => 'lastChild', 'next_sibling' => 'nextSibling', 'prev_sibling' => 'previousSibling', 'parent' => 'parentNode', 'outertext' => 'html', 'outerhtml' => 'html', 'innertext' => 'innerHtml', 'innerhtml' => 'innerHtml', 'innerhtmlkeep' => 'innerHtmlKeep']
 
  • var array
protected $node
 
  • var DOMElement|DOMNode|null
Methods
protected abstract replaceChildWithString(string $string, bool $putBrokenReplacedBack = true) : voku\helper\SimpleHtmlDomInterface
protected abstract replaceNodeWithString(string $string) : voku\helper\SimpleHtmlDomInterface
protected abstract replaceTextWithString( $string) : voku\helper\SimpleHtmlDomInterface
 
Properties
private $classListCache
Properties
protected static $functionAliases = ['children' => 'childNodes', 'first_child' => 'firstChild', 'last_child' => 'lastChild', 'next_sibling' => 'nextSibling', 'prev_sibling' => 'previousSibling', 'parent' => 'parentNode', 'outertext' => 'html', 'outerhtml' => 'html', 'innertext' => 'innerHtml', 'innerhtml' => 'innerHtml', 'innerhtmlkeep' => 'innerHtmlKeep']
 
  • var array
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration