|
Dom\CharacterData::beforeAdds nodes before the character data Description
public void Dom\CharacterData::before(Dom\Nodestring
...$nodes )
Adds the passed Parameters
Return ValuesNo value is returned. Errors/Exceptions
ExamplesExample #1 Dom\CharacterData::before example Adds nodes before the character data.
The above example will output: <?xml version="1.0"?> <container>hello<beautiful/><![CDATA[world]]></container> See Also
|