svn: /phpdoc/fr/trunk/reference/rar/rararchive/ list.xml

From: Date: Fri, 16 Jul 2010 05:39:55 +0000
Subject: svn: /phpdoc/fr/trunk/reference/rar/rararchive/ list.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-8046@lists.php.net to get a copy of this message
yannick Fri, 16 Jul 2010 05:39:55 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=301312 Log: not in EN tree Changed paths: D phpdoc/fr/trunk/reference/rar/rararchive/list.xml Deleted: phpdoc/fr/trunk/reference/rar/rararchive/list.xml =================================================================== --- phpdoc/fr/trunk/reference/rar/rararchive/list.xml 2010-07-16 05:38:50 UTC (rev 301311) +++ phpdoc/fr/trunk/reference/rar/rararchive/list.xml 2010-07-16 05:39:55 UTC (rev 301312) @@ -1,142 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- $Revision$ --> -<!-- EN-Revision: 294373 Maintainer: yannick Status: ready --> -<!-- Reviewed: no --> - -<refentry xml:id="rararchive.list" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <refnamediv> - <refname>RarArchive::list</refname> - <refname>rar_list</refname> - <refpurpose>Récupère la liste de toutes les entrées d'une archive RAR</refpurpose> - </refnamediv> - - <refsect1 role="description"> - &reftitle.description; - <para>Style orienté objet (méthode) :</para> - <methodsynopsis> - <modifier>public</modifier> <type>array</type><methodname>RarArchive::list</methodname> - <void /> - </methodsynopsis> - <para>Style procédural :</para> - <methodsynopsis> - <type>array</type><methodname>rar_list</methodname> - <methodparam><type>RarArchive</type><parameter>rarfile</parameter></methodparam> - </methodsynopsis> - <para> - Récupère la liste de toutes les entrées (fichiers et dossiers) - depuis l'archive RAR. - </para> - </refsect1> - - <refsect1 role="parameters"> - &reftitle.parameters; - <para> - <variablelist> - <varlistentry> - <term><parameter>rarfile</parameter></term> - <listitem> - <para> - Un objet <type>RarArchive</type>, - ouvert avec la fonction<function>rar_open</function>. - </para> - </listitem> - </varlistentry> - </variablelist> - </para> - </refsect1> - - <refsect1 role="returnvalues"> - &reftitle.returnvalues; - <para> - Retourne un tableau d'objets <type>RarEntry</type> - &return.falseforfailure;. - </para> - </refsect1> - - <refsect1 role="examples"> - &reftitle.examples; - <para> - <example> - <title>Style orienté objet</title> - <programlisting role="php"> -<![CDATA[ -<?php -$rar_arch = RarArchive::open('solid.rar'); -if ($rar_arch === FALSE) - die("Impossible d'ouvrir l'archive RAR."); - -$rar_entries = $rar_arch->list(); -if ($rar_entries === FALSE) - die("Impossible de récupérer les entrées."); - -echo count($rar_entries) . " entrée(s) trouvée(s).\n"; - -foreach ($rar_entries as $e) { - echo $e; - echo "\n"; -} -$rar_arch->close(); -?> -]]> - </programlisting> - &example.outputs.similar; - <screen> -<![CDATA[ -2 entrée(s) trouvée(s). -RarEntry for file "tese.txt" (23b93a7a) -RarEntry for file "unrardll.txt" (2ed64b6e) -]]> - </screen> - </example> - </para> - <para> - <example> - <title>Style procédural</title> - <programlisting role="php"> -<![CDATA[ -<?php -$rar_arch = rar_open('solid.rar'); -if ($rar_arch === FALSE) - die("Impossible d'ouvrir l'archive RAR."); - -$rar_entries = rar_list($rar_arch); -if ($rar_entries === FALSE) - die("Impossible de récupérer les entrées."); - -echo count($rar_entries) . " entrée(s) trouvée(s).\n"; - -foreach ($rar_entries as $e) { - echo $e; - echo "\n"; -} -rar_close($rar_arch); -?> -]]> - </programlisting> - </example> - </para> - </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:"~/.phpdoc/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 (#8046) next »