SimpleXMLElement->addChild()
(no version information, might be only in CVS)
SimpleXMLElement->addChild() -- Adds a child element to the XML nodeOpis
class SimpleXMLElement {SimpleXMLElement addChild ( string name [, string value [, string namespace]] )
}
Adds a child element to the node and returns a SimpleXMLElement of the child.
Parametry
nameThe name of the child element to add.
valueIf specified, the value of the child element.
namespaceIf specified, the namespace to which the child element belongs.
Zwracane wartości
The addChild method returns a SimpleXMLElement object representing the child added to the XML node.
Przykłady
| Poprzedni | Spis treści | Następny |
| SimpleXMLElement->addAttribute() | Początek rozdziału |