Home
last modified time | relevance | path

Searched refs:appendChild (Results 1 – 25 of 85) sorted by relevance

1234

/PHP-8.1/ext/dom/tests/
H A Dbug32615.phpt9 $frag->appendChild(new DOMElement('root'));
10 $dom->appendChild($frag);
13 $frag->appendChild(new DOMElement('first'));
14 $root->appendChild($frag);
16 $frag->appendChild(new DOMElement('second'));
17 $root->appendChild($frag);
20 $frag->appendChild($node);
32 $frag->appendChild(new DOMElement('third'));
35 $frag->appendChild(new DOMElement('start'));
44 $frag->appendChild(new DOMElement('first'));
[all …]
H A Dbug65196.phpt14 $div->appendChild($dom->createElement('span'));
15 $frag2->appendChild($div);
16 $frag2->appendChild($dom->createElement('div'));
17 $frag2->appendChild($dom->createElement('div'));
H A Ddom006.phpt11 $titleElement->appendChild($this->createTextNode($title));
13 $authorElement->appendChild($this->createTextNode($author));
17 $bookElement->appendChild($titleElement);
18 $bookElement->appendChild($authorElement);
19 $this->documentElement->appendChild($bookElement);
H A DDOMDocument_saveHTML_variant1.phpt9 $root = $doc->appendChild($root);
11 $head = $root->appendChild($head);
13 $title = $head->appendChild($title);
15 $text = $title->appendChild($text);
H A DDOMDocument_saveHTML_basic.phpt12 $root = $doc->appendChild($root);
14 $head = $root->appendChild($head);
16 $title = $head->appendChild($title);
18 $text = $title->appendChild($text);
H A DDOMDocument_saveHTMLFile_invalid_filename.phpt13 $root = $doc->appendChild($root);
15 $head = $root->appendChild($head);
17 $title = $head->appendChild($title);
19 $text = $title->appendChild($text);
H A DDOM4_ParentNode_Fragment.phpt13 $fragment->appendChild($dom->createTextNode('foo'));
14 $fragment->appendChild($dom->createElement('bar', 'FirstElement'));
15 $fragment->appendChild($dom->createElement('bar', 'LastElement'));
16 $fragment->appendChild($dom->createTextNode('bar'));
H A DDOMDocument_saveHTMLFile_formatOutput_gte_2_13.phpt18 $root = $doc->appendChild($root);
20 $head = $root->appendChild($head);
22 $title = $head->appendChild($title);
24 $text = $title->appendChild($text);
H A DDOMDocumentFragment_appendXML_error_003.phpt12 $document->appendChild($root);
16 $root->appendChild($fragment);
19 Warning: DOMNode::appendChild(): Document Fragment is empty in %s on line %d
H A DDOMDocument_createProcessingInstruction_basic.phpt14 $newnode = $doc->appendChild($node);
18 $node->appendChild($test_proc_inst0);
22 $node->appendChild($test_proc_inst1);
H A Dfragments_multiple_nodes_DOMParentNode.phpt14 $fragment->appendChild($dom->createElement('p', '1'));
15 $fragment->appendChild($dom->createElement('b', '2'));
23 $fragment->appendChild($dom->createElement('p', '3'));
24 $fragment->appendChild($dom->createElement('b', '4'));
H A DDOMDocument_saveHTML_basic_gte_2_13.phpt17 $root = $doc->appendChild($root);
19 $head = $root->appendChild($head);
21 $title = $head->appendChild($title);
23 $text = $title->appendChild($text);
H A Dbug81642.phpt10 $doc->appendChild($target = $doc->createElement('test'));
16 $doc->appendChild($target = $doc->createElement('test'));
22 $doc->appendChild($target = $doc->createElement('test'));
28 $doc->appendChild($target = $doc->createElement('test'));
H A DDOMDocument_saveHTMLFile_basic.phpt17 $root = $doc->appendChild($root);
19 $head = $root->appendChild($head);
21 $title = $head->appendChild($title);
23 $text = $title->appendChild($text);
H A DDOMDocument_saveHTMLFile_formatOutput.phpt18 $root = $doc->appendChild($root);
20 $head = $root->appendChild($head);
22 $title = $head->appendChild($title);
24 $text = $title->appendChild($text);
H A DDOMDocument_save_basic.phpt12 $root = $doc->appendChild($root);
15 $title = $root->appendChild($title);
18 $text = $title->appendChild($text);
H A Ddom003.phpt13 $rootNode->appendChild($rootNode);
22 $rootNode->appendChild($rootNode);
48 string(11) "appendChild"
67 #0 %sdom003.php(%d): DOMNode->appendChild(Object(DOMElement))
H A DDOMCharacterData_appendData_basic.phpt13 $document->appendChild($root);
16 $root->appendChild($cdata);
19 $cdata->appendChild($cdatanode);
H A DDOMComment_appendData_basic_Sullivan.phpt13 $document->appendChild($root);
16 $root->appendChild($comment);
19 $comment->appendChild($commentnode);
H A DDOMText_appendData_basic.phpt13 $document->appendChild($root);
16 $root->appendChild($text);
19 $text->appendChild($textnode);
H A DDOMNode_normalize_basic.phpt23 $doc->appendChild($root);
26 $root->appendChild($title);
29 $root->appendChild($author);
32 $title->appendChild($text);
39 $title->appendChild($text);
H A Dbug67440.phpt12 $fragment->appendChild($document->createTextNode("\n"));
13 $fragment->appendChild($document->createElementNS('http://example/ns', 'myns:childNode', '1'));
14 $fragment->appendChild($document->createTextNode("\n"));
15 $fragment->appendChild($document->createElementNS('http://example/ns', 'myns:childNode', '2'));
16 $fragment->appendChild($document->createTextNode("\n"));
49 echo "== appendChild ==\n";
50 echo "-- fragment to document element --\n"; case1('appendChild'); echo "\n";
51 echo "-- children manually document element --\n"; case2('appendChild'); echo "\n";
52 echo "-- fragment to document where first element is not a text node --\n"; case3('appendChild'); e…
53 echo "-- fragment with namespace declarations in children --\n"; case4('appendChild'); echo "\n";
[all …]
H A Dbug47530.phpt13 $frag->appendChild($doc->importNode($root->firstChild));
14 $root->appendChild($frag);
22 $frag->appendChild($doc->createElementNS('https://php.net/bar', 'bar'));
23 $frag->appendChild($doc->createElementNS('', 'bar'));
25 $element->appendChild($frag);
48 $dom2->appendChild($importedNode);
71 $dom2->documentElement->appendChild($importedNode);
85 $dom2->documentElement->appendChild($dom2->importNode($dom->documentElement->firstChild));
99 $a->appendChild($b);
114 echo "-- Test appendChild with shadowing --\n";
[all …]
H A DDOMNode_hasChildNodes_basic.phpt20 $doc->appendChild($root);
23 $root->appendChild($title);
26 $title->appendChild($text);
/PHP-8.1/build/
H A Dgen_stub.php1236 $doc->appendChild($methodSynopsis);
1269 $methodSynopsis->appendChild($role);
1286 $methodSynopsis->appendChild($methodname);
1291 $methodSynopsis->appendChild($void);
1311 $methodparam->appendChild($parameter);
1812 $doc->appendChild($classSynopsis);
1829 $classSynopsis->appendChild($ooElement);
1838 $classSynopsisInfo->appendChild($ooElement);
2009 $ooElement->appendChild($nameElement);
2086 $includeElement->appendChild($attr);
[all …]

Completed in 39 milliseconds

1234