public function setContent($content)
public function setContent($content)
Parameters
$content |
Return
wild |
public function getContent()
public function getContent()
Return
wild |
public function isContentNode()
public function isContentNode()
Return
wild |
public function setTagName($tag_name)
public function setTagName($tag_name)
Parameters
$tag_name |
Return
wild |
public function getTagName()
public function getTagName()
Return
wild |
public function appendChild($node)
public function appendChild($node)
Parameters
PhutilDOMNode | $node |
Return
wild |
public function getChildren()
public function getChildren()
Return
wild |
public function getParentNode()
public function getParentNode()
Return
wild |
public function setAttributes($attributes)
public function setAttributes($attributes)
Parameters
array | $attributes |
Return
wild |
public function getAttributes()
public function getAttributes()
Return
wild |
public function setRawHead($raw_string)
public function setRawHead($raw_string)
Parameters
$raw_string |
Return
wild |
public function setRawTail($raw_tail)
public function setRawTail($raw_tail)
Parameters
$raw_tail |
Return
wild |
public function newRawString()
public function newRawString()
Return
wild |
public function toDictionary()
public function toDictionary()
Return
wild |
public function selectChildrenWithTags($tag_list)
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()
public function newRawContentString()
Return
wild |
public function mergeContent()
public function mergeContent()
Return
wild |
private function mergeContentNodes($nodes)
private function mergeContentNodes($nodes)
Given a list of nodes, combine sequences of multiple adjacent content nodes into single nodes.
Parameters
array | $nodes |
Return
wild |