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
name
The name of the child element to add.
value
If specified, the value of the child element.
namespace
If 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 |