DOMDocumentFragment::prependPrepends nodes before the first child node Descriptionpublic void DOMDocumentFragment::prepend(DOMNodestring
...$nodes )
Prepends one or many Parameters
Return ValuesNo value is returned. Errors/Exceptions
Changelog
ExamplesExample #1 DOMDocumentFragment::prepend example Prepends nodes before the fragment root.
The above example will output: <hello/>beautiful<world/> See Also
|