Mercurial > defr > DualBlog
view includes/class.domutils.php @ 12:a7e770abbfc6
Ce cas est maintenant gérer lui aussi dans l'index.
| author | Franck Deroche <webmaster@defr.org> |
|---|---|
| date | Thu, 25 Oct 2007 10:39:55 +0200 |
| parents | 629389204276 |
| children |
line wrap: on
line source
<?php class DOMUtils { public function createCDATAWrapper($doc, $wrapperName, $data) { $CDATA = $doc->createCDataSection($data); $wrapper = $doc->createElement($wrapperName); $wrapper->appendChild($CDATA); return $wrapper; } } ?>
