Copied!
Abstract
Methods
public __call( $name, $arguments)
 
  • param string $name
  • param array $arguments
  • throws \BadMethodCallException
  • return \SimpleHtmlDomInterface|string|null
public __get( $name)
 
  • param string $name
  • return \SimpleHtmlAttributes|string|string[]|null
public __invoke( $selector, $idx = NULL)
 
  • param string $selector
  • param int $idx
  • return \SimpleHtmlDomInterface|\SimpleHtmlDomInterface[]|\SimpleHtmlDomNodeInterface<\SimpleHtmlDomInterface>
public __isset( $name)
 
  • param string $name
  • return bool
public __set( $name, $value)
 
  • param string $name
  • param mixed $value
  • return \SimpleHtmlDomInterface|null
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
 
  • param string $name
  • param string|null $value
  • param bool $strictEmptyValueCheck
  • return \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 = NULL
 
  • 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
 
  • param string $string
  • return \SimpleHtmlDomInterface
Properties
private $classListCache = NULL
 
  • var \SimpleHtmlAttributes|null
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
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration