cvs: peardoc /fr/package/authentication/auth/auth auth.xml
| From: | Christophe Gesch� | Date: | Thu, 21 Jul 2005 20:11:58 +0000 |
| Subject: | cvs: peardoc /fr/package/authentication/auth/auth auth.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-6542@lists.php.net to get a copy of this message | ||
moosh Thu Jul 21 16:11:58 2005 EDT
Modified files:
/peardoc/fr/package/authentication/auth/auth auth.xml
Log:
type.boolean -> type.bool
ws80
entities
http://cvs.php.net/diff.php/peardoc/fr/package/authentication/auth/auth/auth.xml?r1=1.3&r2=1.4&ty=u
Index: peardoc/fr/package/authentication/auth/auth/auth.xml
diff -u peardoc/fr/package/authentication/auth/auth/auth.xml:1.3
peardoc/fr/package/authentication/auth/auth/auth.xml:1.4
--- peardoc/fr/package/authentication/auth/auth/auth.xml:1.3 Wed Oct 13 18:02:36 2004
+++ peardoc/fr/package/authentication/auth/auth/auth.xml Thu Jul 21 16:11:58 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- EN-Revision: 1.11 Maintainer: moosh Status: uncomplete -->
<refentry id="package.authentication.auth.auth.auth">
<refnamediv>
@@ -10,10 +10,24 @@
<funcsynopsis>
<funcprototype>
<funcdef><function>Auth::Auth</function></funcdef>
- <paramdef>mixed <parameter>$storageDriver =
"DB"</parameter></paramdef>
- <paramdef>mixed <parameter>$options =
""</parameter></paramdef>
- <paramdef>chaîne <parameter>$fonctionDIdentification =
""</parameter></paramdef>
- <paramdef>booléen <parameter><optional>$showLogin =
&true;</optional></parameter></paramdef>
+ <paramdef>
+ &type.mixed;
+ <parameter>$storageDriver = "DB"</parameter>
+ </paramdef>
+ <paramdef>
+ &type.mixed;
+ <parameter>$options = ""</parameter>
+ </paramdef>
+ <paramdef>
+ &type.string;
+ <parameter>$fonctionDIdentification = ""</parameter>
+ </paramdef>
+ <paramdef>
+ &type.bool;
+ <parameter>
+ <optional>$showLogin = &true;</optional>
+ </parameter>
+ </paramdef>
</funcprototype>
</funcsynopsis>
@@ -35,8 +49,8 @@
</term>
<listitem>
<para>
- nom du driver de stockage qui devra être employé,
- ou un objet Auth_Container customisé.
+ nom du driver de stockage qui devra être employé,
+ ou un objet Auth_Container customisé.
</para>
</listitem>
</varlistentry>
@@ -48,7 +62,7 @@
<listitem>
<para>
options qui sont passées au
- le conteneur de stockage
+ le conteneur de stockage
</para>
</listitem>
</varlistentry>
@@ -94,7 +108,7 @@
<refsect1 id="package.authentication.auth.auth.auth.example">
&title.example;
<example>
- <title>Utilisation de différents paramètres de DB</title>
+ <title>Utilisation de différents paramètres de DB</title>
<programlisting role="php">
<![CDATA[
<?php
@@ -151,36 +165,38 @@
<refsect1 id="package.authentication.auth.auth.auth.example-customcont">
&title.example;
<example>
- <title>Utilisation de différents paramètres de DB</title>
+ <title>Utilisation de différents paramètres de DB</title>
<programlisting role="php">
<![CDATA[
- <?php
- require_once "Auth/Auth.php";
-
- function myOutput($username, $status)
- {
- ... /** regardez l'exemple 1 pour le source complet */
- }
-
- $a = new Auth(new CustomAuthContainer($options), null, "myOutput");
-
- $a->start();
-
- if ($a->getAuth()) {
- echo "Vous avez été authentifié avec succès.";
- }
- ?>
+<?php
+ require_once "Auth/Auth.php";
+
+ function myOutput($username, $status)
+ {
+ ... /** regardez l'exemple 1 pour le source complet */
+ }
+
+ $a = new Auth(new CustomAuthContainer($options), null, "myOutput");
+
+ $a->start();
+
+ if ($a->getAuth()) {
+ echo "Vous avez été authentifié avec
succès.";
+ }
+?>
]]>
</programlisting>
</example>
<para>
- Cet exemple montre comment vous pouvez passer votre propre conteneur à Auth.
+ Cet exemple montre comment vous pouvez passer
+ votre propre conteneur à Auth.
</para>
<para>
If the storage containers supplied with Auth are not capable
of fulfilling your requirements, you can easliy create your own
storage container.
- Pour plus d'info, lisez la section à propos des conteneurs de stockage
+ Pour plus d'info, lisez la section
+ à propos des conteneurs de stockage
<link linkend="package.authentication.auth.intro-storage">
Introduction - The storage drivers
</link>