cvs: peardoc /fr/package/authentication/auth/auth auth.xml
| From: | Christophe Gesch� | Date: | Sun, 06 Nov 2005 07:34:07 +0000 |
| Subject: | cvs: peardoc /fr/package/authentication/auth/auth auth.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-7150@lists.php.net to get a copy of this message | ||
moosh Sun Nov 6 02:34:07 2005 EDT
Modified files:
/peardoc/fr/package/authentication/auth/auth auth.xml
Log:
-sync to en-1.12 : * Use /* instead of /**.
http://cvs.php.net/diff.php/peardoc/fr/package/authentication/auth/auth/auth.xml?r1=1.4&r2=1.5&ty=u
Index: peardoc/fr/package/authentication/auth/auth/auth.xml
diff -u peardoc/fr/package/authentication/auth/auth/auth.xml:1.4
peardoc/fr/package/authentication/auth/auth/auth.xml:1.5
--- peardoc/fr/package/authentication/auth/auth/auth.xml:1.4 Thu Jul 21 16:11:58 2005
+++ peardoc/fr/package/authentication/auth/auth/auth.xml Sun Nov 6 02:34:03 2005
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.4 $ -->
-<!-- EN-Revision: 1.11 Maintainer: moosh Status: uncomplete -->
+<!-- $Revision: 1.5 $ -->
+<!-- EN-Revision: 1.12 Maintainer: moosh Status: uncomplete -->
<refentry id="package.authentication.auth.auth.auth">
<refnamediv>
<refname>Auth::Auth()</refname>
@@ -74,7 +74,7 @@
<listitem>
<para>
le nom d'une fonction utilisateur
- qui affiche l'écran d'ouverture
+ qui affiche l'écran d'authentification
</para>
</listitem>
</varlistentry>
@@ -85,8 +85,7 @@
</term>
<listitem>
<para>
- définit si l'identification est
- facultative ou pas
+ définit si l'identification est facultative ou pas
</para>
</listitem>
</varlistentry>
@@ -116,22 +115,22 @@
function myOutput($username, $status)
{
- ... /** Regardez l'example un pour le source complet */
+ ... /* Regardez l'example un pour le source complet */
}
-$params = array(
+$options = array(
"dsn" => "mysql://martin:test@localhost/auth",
- "table" => "myAuth",
- "usernamecol" => "myUserColumn",
- "passwordcol" => "myPasswordColumn"
+ "table" => "monAuthentification",
+ "usernamecol" => "maColonneUtilisateur",
+ "passwordcol" => "maColonneMotDePasse"
);
-$a = new Auth("DB", $params, "myOutput");
+$a = new Auth("DB", $options, "afficheAuthentification");
$a->start();
if ($a->getAuth()) {
- echo "Vous avez été correctement identifié.";
+ echo "Vous avez été correctement identifié.";
}
?>
]]>
@@ -173,7 +172,7 @@
function myOutput($username, $status)
{
- ... /** regardez l'exemple 1 pour le source complet */
+ ... /* regardez l'exemple 1 pour le source complet */
}
$a = new Auth(new CustomAuthContainer($options), null, "myOutput");
@@ -195,10 +194,11 @@
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
<link linkend="package.authentication.auth.intro-storage">
- Introduction - The storage drivers
+ Introduction - Les drivers de stockages
</link>
</para>
</refsect1>