Lines Matching refs:XmlElement

20 class XmlElement
38 public static function create($domElement, XmlDocument $xmlDocument): XmlElement
40 return new XmlElement($domElement, $xmlDocument);
56 public function getFirstChildElement(): XmlElement
65 return new XmlElement($firstChild, $this->document);
69 * @return XmlElement[]
76 $childNodes[] = new XmlElement($childNode, $this->document);
92 $childNodes[] = implode('', XmlElement::create($childNode, $this->document)->getChildrenNodeTextValues());
99 * @return XmlElement[]
108 $nodes[] = new XmlElement($child, $this->document);
121 public function removeAttribute($attributeName): XmlElement
134 public function remove(): XmlElement
154 public function querySelector(string $selector): XmlElement
168 public function addClass(string $class): XmlElement
175 public function setAttribute(string $name, string $value): XmlElement
198 public function insertAdjacentTextNode(string $string, string $position = 'afterbegin'): XmlElement
224 public function insertAdjacentHTML(string $position, string $html): XmlElement
253 public function appendChild(XmlElement $xmlElement): XmlElement
270 public function addStyle(string $name, string $value): XmlElement
299 public function equals(XmlElement $rightDocument, array $attributeFilter = [])
313 public function removeClass(string $string): XmlElement
324 public function getParent(): XmlElement
338 return new XmlElement($parentNode, $this->document);
344 * @return XmlElement
347 public function insertAdjacentDomElement(string $position, \DOMNode $domNode): XmlElement