Manuál PHP | ||
---|---|---|
PÅ™edcházejÃcà | Dalšà |
SimpleXMLElement->addChild()
(no version information, might be only in CVS)
SimpleXMLElement->addChild() -- Adds a child element to the XML nodePopis
class SimpleXMLElement {SimpleXMLElement addChild ( string name [, string value [, string namespace]] )
}
Adds a child element to the node and returns a SimpleXMLElement of the child.
Seznam parametrů
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.
Návratové hodnoty
The addChild method returns a SimpleXMLElement object representing the child added to the XML node.
PÅ™Ãklady
PÅ™edcházejÃcà | Domů | Dalšà |
SimpleXMLElement->addAttribute() | Nahoru |