cvs: peardoc /en/package/authentication/auth/auth setallowlogin.xml setshowlogin.xml
| From: | Adam Ashley | Date: | Thu, 21 Sep 2006 01:19:00 +0000 |
| Subject: | cvs: peardoc /en/package/authentication/auth/auth setallowlogin.xml setshowlogin.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-8474@lists.php.net to get a copy of this message | ||
aashley Thu Sep 21 01:19:00 2006 UTC
Modified files:
/peardoc/en/package/authentication/auth/auth setallowlogin.xml
setshowlogin.xml
Log:
Correct documentation for Auth::setAllowLogin() and Auth::setShowLogin()
http://cvs.php.net/viewvc.cgi/peardoc/en/package/authentication/auth/auth/setallowlogin.xml?r1=1.2&r2=1.3&diff_format=u
Index: peardoc/en/package/authentication/auth/auth/setallowlogin.xml
diff -u peardoc/en/package/authentication/auth/auth/setallowlogin.xml:1.2
peardoc/en/package/authentication/auth/auth/setallowlogin.xml:1.3
--- peardoc/en/package/authentication/auth/auth/setallowlogin.xml:1.2 Sat Sep 16 09:31:32 2006
+++ peardoc/en/package/authentication/auth/auth/setallowlogin.xml Thu Sep 21 01:19:00 2006
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry id="package.authentication.auth.auth.setallowlogin">
<refnamediv>
<refname>Auth::setAllowLogin()</refname>
@@ -7,7 +7,7 @@
<refsynopsisdiv>
<funcsynopsis>
<funcprototype>
- <funcdef>void <function>Auth::setShowLogin</function></funcdef>
+ <funcdef>void <function>Auth::setAllowLogin</function></funcdef>
<paramdef>bool <parameter>$allowLogin = true</parameter></paramdef>
</funcprototype>
</funcsynopsis>
@@ -15,14 +15,9 @@
<refsect1 id="package.authentication.auth.auth.setallowlogin.desc">
&title.desc;
<para>
- Controls if auth will process the post variables and attempt to login the user
- from those pages. For better security of your application it is recomended to disable
- login in all pages except your login page.
- <note>
- <para>
- This method is available since <literal>1.3.0</literal>
- </para>
- </note>
+ Controls if auth will process the post variables and attempt to login the user
+ from those pages. For better security of your application it is recomended to disable
+ login in all pages except your login page.
</para>
</refsect1>
<refsect1 id="package.authentication.auth.auth.setallowlogin.parameter">
@@ -31,8 +26,8 @@
<variablelist>
<varlistentry>
<term>
- &type.string;
- <parameter>$showLogin</parameter>
+ &type.bool;
+ <parameter>$allowLogin</parameter>
</term>
<listitem>
<para>
@@ -47,7 +42,7 @@
&title.note;
¬e.notstatic;
<para>
-
+ This method is available since <literal>1.3.0</literal>
</para>
</refsect1>
</refentry>
http://cvs.php.net/viewvc.cgi/peardoc/en/package/authentication/auth/auth/setshowlogin.xml?r1=1.3&r2=1.4&diff_format=u
Index: peardoc/en/package/authentication/auth/auth/setshowlogin.xml
diff -u peardoc/en/package/authentication/auth/auth/setshowlogin.xml:1.3
peardoc/en/package/authentication/auth/auth/setshowlogin.xml:1.4
--- peardoc/en/package/authentication/auth/auth/setshowlogin.xml:1.3 Sat Jul 1 15:03:29 2006
+++ peardoc/en/package/authentication/auth/auth/setshowlogin.xml Thu Sep 21 01:19:00 2006
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<refentry id="package.authentication.auth.auth.setshowlogin">
<refnamediv>
<refname>Auth::setShowLogin()</refname>
@@ -25,7 +25,7 @@
<variablelist>
<varlistentry>
<term>
- &type.string;
+ &type.bool;
<parameter>$showLogin</parameter>
</term>
<listitem>