cvs: phpdoc-fr /reference/tidy/functions tidy-node-isAsp.xml tidy-node-isPhp.xml tidyNode-isAsp.xml tidyNode-isPhp.xml

From: Date: Mon, 15 Nov 2004 19:59:37 +0000
Subject: cvs: phpdoc-fr /reference/tidy/functions tidy-node-isAsp.xml tidy-node-isPhp.xml tidyNode-isAsp.xml tidyNode-isPhp.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-3648@lists.php.net to get a copy of this message
yannick Mon Nov 15 14:59:37 2004 EDT Added files: /phpdoc-fr/reference/tidy/functions tidyNode-isAsp.xml tidyNode-isPhp.xml Removed files: /phpdoc-fr/reference/tidy/functions tidy-node-isAsp.xml tidy-node-isPhp.xml Log: move files http://cvs.php.net/co.php/phpdoc-fr/reference/tidy/functions/tidyNode-isAsp.xml?r=1.1&p=1 Index: phpdoc-fr/reference/tidy/functions/tidyNode-isAsp.xml +++ phpdoc-fr/reference/tidy/functions/tidyNode-isAsp.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: didou Status: ready --> <!-- Reviewed: no --> <refentry id="function.tidy-node-isAsp"> <refnamediv> <refname>tidyNode->isAsp</refname> <refpurpose> Retourne &true; si ce noeud Tidy est du code ASP </refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>bool</type><methodname>tidyNode->isAsp</methodname> <void/> </methodsynopsis> <para> <function>tidyNode->isAsp</function> retourne &true; si le noeud courant est du code ASP, &false; sinon. </para> <note> <para> Cette foncton était nommée <function>tidy_node->is_asp</function> en &php; 4/Tidy 1. </para> </note> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-fr/reference/tidy/functions/tidyNode-isPhp.xml?r=1.1&p=1 Index: phpdoc-fr/reference/tidy/functions/tidyNode-isPhp.xml +++ phpdoc-fr/reference/tidy/functions/tidyNode-isPhp.xml <?xml version='1.0' encoding='iso-8859-1'?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="function.tidy-node-isPhp"> <refnamediv> <refname>tidyNode->isPhp</refname> <refpurpose> Retourne &true; si ce noeud est en &php; </refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>bool</type><methodname>tidyNode->isPhp</methodname> <void/> </methodsynopsis> <para> <function>tidyNode->isPhp</function> retourne &true; si le noeud courant est du code &php;, &false; sinon. </para> <para> <example> <title>Récupération du code &php; depuis un document HTML/PHP</title> <programlisting role="php"> <![CDATA[ <?php $html = <<< HTML <html><head> <?php echo '<title>Titre</title>'; ?> </head> <body> <?php echo 'Bonjour le monde !'; ?> </body></html> HTML; $tidy = tidy_parse_string($html); $num = 0; get_php($tidy->html()); function get_php($node) { // vérifie si le noeud courant est du code PHP if($node->isPHP()) { echo "\n\n# PHP node #" . ++$GLOBALS['num'] . "\n"; echo $node->value; } // vérifie si le noeud courant a des enfants if($node->hasChildren()) { foreach($node->child as $child) { get_php($child); } } } ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ # PHP node #1 <?php echo '<title>Titre</title>'; ?> # PHP node #2 <?php echo 'Bonjour le monde !'; ?> ]]> </screen> </example> </para> <note> <para> Cette fonction était nommée <function>tidy_node->is_php</function> en &php; 4/Tidy 1. </para> </note> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->

« previous php.doc.fr (#3648) next »