| [ Index ] |
|
Code source de SPIP 1.9.2c |
1 <?php 2 3 /***************************************************************************\ 4 * SPIP, Systeme de publication pour l'internet * 5 * * 6 * Copyright (c) 2001-2007 * 7 * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * 8 * * 9 * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * 10 * Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne. * 11 \***************************************************************************/ 12 13 if (!defined("_ECRIRE_INC_VERSION")) return; 14 15 include_spip('inc/sax'); 16 17 class IndenteurXML { 18 19 // http://doc.spip.org/@debutElement 20 function debutElement($phraseur, $name, $attrs) 21 { xml_debutElement($phraseur, $name, $attrs);} 22 23 // http://doc.spip.org/@finElement 24 function finElement($phraseur, $name) 25 { xml_finElement($phraseur, $name);} 26 27 // http://doc.spip.org/@textElement 28 function textElement($phraseur, $data) 29 { xml_textElement($phraseur, $data);} 30 31 // http://doc.spip.org/@PiElement 32 function PiElement($phraseur, $target, $data) 33 { xml_PiElement($phraseur, $target, $data);} 34 35 // http://doc.spip.org/@defautElement 36 function defautElement($phraseur, $data) 37 { xml_defautElement($phraseur, $data);} 38 39 // http://doc.spip.org/@phraserTout 40 function phraserTout($phraseur, $data) 41 { 42 xml_parsestring($phraseur, $data); 43 return !$this->err ? $this->res : join('<br />', $this->err) . '<br />'; 44 } 45 46 var $depth = ""; 47 var $res = ""; 48 var $err = array(); 49 var $contenu = array(); 50 var $ouvrant = array(); 51 var $reperes = array(); 52 53 var $dtc = NULL; 54 } 55 56 // http://doc.spip.org/@inc_indenter_xml_dist 57 function inc_indenter_xml_dist($page, $apply=false) 58 { 59 $sax = charger_fonction('sax', 'inc'); 60 return $sax($page, $apply, $GLOBALS['phraseur_xml'] = new IndenteurXML()); 61 62 } 63 64 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
| Généré le : Wed Nov 21 10:20:27 2007 | par Balluche grâce à PHPXref 0.7 |
|