Mercurial > defr > DualBlog
view includes/class.domutils.php @ 62:96b3c34d3705
Ajout des champs mentionnés dans le config.php.dist
author | Franck Deroche <webmaster@defr.org> |
---|---|
date | Tue, 11 Mar 2008 15:57:37 +0100 |
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; } } ?>