Page MenuHomePhorge

final class PhutilDOMNode
libphutil Technical Documentation (Parsers)

This class is not documented.

Methods

public function __get($name)
Inherited

This method is not documented.
Parameters
$name
Return
wild

public function __set($name, $value)
Inherited

This method is not documented.
Parameters
$name
$value
Return
wild

public function current()
Inherited

This method is not documented.
Return
wild

public function key()
Inherited

This method is not documented.
Return
wild

public function next()
Inherited

This method is not documented.
Return
wild

public function rewind()
Inherited

This method is not documented.
Return
wild

public function valid()
Inherited

This method is not documented.
Return
wild

private function throwOnAttemptedIteration()
Inherited

This method is not documented.
Return
wild

public function getPhobjectClassConstant($key, $byte_limit)
Inherited

Phobject

Read the value of a class constant.

This is the same as just typing self::CONSTANTNAME, but throws a more useful message if the constant is not defined and allows the constant to be limited to a maximum length.

Parameters
string$keyName of the constant.
int|null$byte_limitMaximum number of bytes permitted in the value.
Return
stringValue of the constant.

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