Метод | Описание | |
---|---|---|
__construct ( $document, $handler, $context ) | ||
__invoke ( $query ) | ||
__toString ( ) | ||
addCdata ( $text ) | ||
addChild ( $child, $optionals ) | addChild($child, $value?, $attributes? = [], $switchContext? = false) | |
addComment ( $text ) | ||
addText ( $text ) | ||
appendSibling ( $sibling, $optionals ) | ||
array_ ( ) | it is shadowed by the __call() method. | |
current ( ) | \Iterator interface. | |
dom ( ) | ||
each ( callable $fn ) | ||
filter ( callable $fn ) | ||
html ( $strip = false ) | ||
key ( ) | \Iterator interface. | |
length ( ) | ||
next ( ) | \Iterator interface. | |
offsetExists ( $offset ) | \ArrayAccess interface. | |
offsetGet ( $offset ) | \ArrayAccess interface. | |
offsetSet ( $offset, $value ) | \ArrayAccess interface. | |
offsetUnset ( $offset ) | \ArrayAccess interface. | |
prependSibling ( $sibling, $optionals ) | ||
query ( $query ) | ||
remove ( $query ) | ||
rewind ( ) | \Iterator interface. | |
setAttribute ( $name, $value = null ) | setAttribute(['name' => 'value', . | |
setCdata ( $text ) | ||
setComment ( $text ) | ||
setText ( $text ) | ||
times ( $times, callable $fn = null ) | ||
valid ( ) | \Iterator interface. | |
xml ( $strip = false ) |
Метод | Описание | |
---|---|---|
callfn ( $fn, $args ) | ||
filterQueryResults ( &$results ) | ||
newContext ( &$context ) | ||
resolveQuery ( $query ) |
public addChild ( $child, $optionals ) |