PHP: DomNode->parent_node - Manual in Deutsh
PHP: DomNode->parent_node - Manual in French
PHP: DomNode->parent_node - Manual in Polish

You Are At PHP: DomNode->parent_node - Manual Area


recent searches:
include functions , variable functions , post functions...




If you are new to PHP or just need to refresh your skills, this is the place to start. This series of tutorials will give you the basic knowledge you will need to create a simple PHP website.

PHP is a reflective programming language originally designed for producing dynamic web pages.[1] PHP is used mainly in server-side scripting, but can be used from a command line interface or in standalone graphical applications. Textual User Interfaces can also be created using ncurses.

PHP Manual
PrevNext

DomNode->parent_node

(no version information, might be only in CVS)

DomNode->parent_node --  Returns the parent of the node

Description

domnode DomNode->parent_node ( void )

This function returns the parent node.

(PHP >= 4.3 only) If no parent is found, NULL is returned.

The following example will show two identical lists of children.

Example 1. Finding the document of a node

<?php
$doc
= domxml_new_doc("1.0");
$node = $doc->create_element("para");
$node = $doc->append_child($node);
$children = $doc->children();
print_r($children);

$doc2 = $node->parent_node();
$children = $doc2->children();
print_r($children);
?>

wizy do rosji gdańsk, wiza do rosji, wzorce dużej masy, melatonina, Guest Rooms Kosmopolita, scandia kontakt, Materac, mapa Karpacza
Bukmacherzy xn--wiedzieznaczypisa-w8bk.podlasie.pl łóżka driving lessons statusy

Another Useful functions:


function.domnode-unlink-node | function.domnode-set-namespace | function.domnode-set-name | function.domnode-set-content | function.domnode-replace-node | function.domnode-replace-child | function.domnode-remove-child | function.domnode-previous-sibling | function.domnode-prefix | function.domnode-parent-node | function.domnode-owner-document | function.domnode-node-value | function.domnode-node-type | function.domnode-node-name | function.domnode-next-sibling | function.domnode-last-child | function.domnode-is-blank-node | function.domnode-insert-before | function.domnode-has-child-nodes | function.domnode-has-attributes | function.domnode-get-content | function.domnode-first-child | function.domnode-dump-node | function.domnode-clone-node | function.domnode-child-nodes | function.domnode-attributes | function.domnode-append-sibling | function.domnode-append-child | function.domnode-add-namespace | function.dom-domnodelist-item | function.dom-domnode-replacechild | function.dom-domnode-removechild | function.dom-domnode-normalize | function.dom-domnode-lookupprefix | function.dom-domnode-lookupnamespaceuri | function.dom-domnode-issupported | function.dom-domnode-issamenode | function.dom-domnode-isdefaultnamespace | function.dom-domnode-insertbefore | function.dom-domnode-haschildnodes | function.dom-domnode-hasattributes | function.dom-domnode-clonenode | function.dom-domnode-appendchild |


PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. If you are new to PHP and want to get some idea of how it works, try the introductory tutorial. After that, check out the online manual, and the example archive sites and some of the other resources available in the links section.