Page MenuHomePhabricator

final class PhutilDOMNode
libphutil Technical Documentation (Parsers)

This class is not documented.

Methods

public function setContent($content)

This method is not documented.
Parameters
$content
Return
wild

public function getContent()

This method is not documented.
Return
wild

public function isContentNode()

This method is not documented.
Return
wild

public function setTagName($tag_name)

This method is not documented.
Parameters
$tag_name
Return
wild

public function getTagName()

This method is not documented.
Return
wild

public function appendChild($node)

This method is not documented.
Parameters
PhutilDOMNode$node
Return
wild

public function getChildren()

This method is not documented.
Return
wild

public function getParentNode()

This method is not documented.
Return
wild

public function setAttributes($attributes)

This method is not documented.
Parameters
array$attributes
Return
wild

public function getAttributes()

This method is not documented.
Return
wild

public function setRawHead($raw_string)

This method is not documented.
Parameters
$raw_string
Return
wild

public function setRawTail($raw_tail)

This method is not documented.
Parameters
$raw_tail
Return
wild

public function newRawString()

This method is not documented.
Return
wild

public function toDictionary()

This method is not documented.
Return
wild

public function selectChildrenWithTags($tag_list)

Get a list of the children of a given DOM node, treating unexpected tags as if they were raw content.

Parameters
array$tag_list
Return
wild

public function newRawContentString()

This method is not documented.
Return
wild

public function mergeContent()

This method is not documented.
Return
wild

private function mergeContentNodes($nodes)

Given a list of nodes, combine sequences of multiple adjacent content nodes into single nodes.

Parameters
array$nodes
Return
wild