DocumentType extends DOMDocumentType implements PrototypeNode Uses PrototypeNodeTrait
Interfaces, Classes and Traits
Table of Contents
- cleanWhitespace() : PrototypeNode
- empty() : bool
- importNode() : PrototypeNode
- inspect() : string
- match() : bool
- name() : string
- purge() : PrototypeNode
- recursivelyCollect() : NodeList
- removeNode() : PrototypeNode
- replace() : PrototypeNode
- value() : string
Methods
cleanWhitespace()
public
cleanWhitespace() : PrototypeNode
Tags
Return values
PrototypeNode —empty()
public
empty() : bool
Tags
Return values
bool —importNode()
public
importNode(PrototypeNode $newNode) : PrototypeNode
Parameters
- $newNode : PrototypeNode
Tags
Return values
PrototypeNode —inspect()
public
inspect([bool $xml = null ]) : string
Parameters
- $xml : bool = null
Tags
Return values
string —match()
public
match(string $selector) : bool
Parameters
- $selector : string
Tags
Return values
bool —name()
public
name() : string
Tags
Return values
string —purge()
public
purge() : PrototypeNode
Tags
Return values
PrototypeNode —recursivelyCollect()
public
recursivelyCollect(string $property[, int $maxLength = null ][, int $nodeType = null ]) : NodeList
Parameters
- $property : string
- $maxLength : int = null
- $nodeType : int = null
Tags
Return values
NodeList —removeNode()
public
removeNode() : PrototypeNode
Tags
Return values
PrototypeNode —replace()
public
replace(PrototypeNode $newNode) : PrototypeNode
Parameters
- $newNode : PrototypeNode
Tags
Return values
PrototypeNode —value()
public
value([bool $trimmed = true ]) : string
Parameters
- $trimmed : bool = true