cvs: peardoc /ru/core db.xml /ru/packages networking.xml /ru/packages/authentication auth.xml
| From: | Vitaliy N. Kravchenko | Date: | Thu, 21 Feb 2002 17:38:21 +0000 |
| Subject: | cvs: peardoc /ru/core db.xml /ru/packages networking.xml /ru/packages/authentication auth.xml | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-2550@lists.php.net to get a copy of this message | ||
kvn Thu Feb 21 12:38:21 2002 EDT
Modified files:
/peardoc/ru/packages networking.xml
/peardoc/ru/packages/authentication auth.xml
/peardoc/ru/core db.xml
Log:
Some Fixes:
ru/packages/networking.xml : Added Net_NNTP.
ru/packages/authentication/auth.xml : Added method getStatus() - untranslated yet
ru/core/db.xml : Some minor fixes in example.
Index: peardoc/ru/packages/networking.xml
diff -u peardoc/ru/packages/networking.xml:1.1 peardoc/ru/packages/networking.xml:1.2
--- peardoc/ru/packages/networking.xml:1.1 Tue Jan 15 08:53:33 2002
+++ peardoc/ru/packages/networking.xml Thu Feb 21 12:38:15 2002
@@ -1,4 +1,4 @@
-<!-- $Id: networking.xml,v 1.1 2002/01/15 13:53:33 kvn Exp $ -->
+<!-- $Id: networking.xml,v 1.2 2002/02/21 17:38:15 kvn Exp $ -->
<reference id="packages.Networking">
<title>óÅÔØ</title>
<partintro>
@@ -7,11 +7,12 @@
</para>
</partintro>
- &packages.networking.Net-CheckIP;
- &packages.networking.Net-Finger;
- &packages.networking.Net-Ping;
- &packages.networking.Net-Portscan;
- &packages.networking.Net-Whois;
- &packages.networking.Net-IPv6;
-
+ &packages.networking.Net-CheckIP;
+ &packages.networking.Net-Finger;
+ &packages.networking.Net-IPv6;
+ &packages.networking.Net-NNTP;
+ &packages.networking.Net-Ping;
+ &packages.networking.Net-Portscan;
+ &packages.networking.Net-Whois;
+
</reference>
Index: peardoc/ru/packages/authentication/auth.xml
diff -u peardoc/ru/packages/authentication/auth.xml:1.1
peardoc/ru/packages/authentication/auth.xml:1.2
--- peardoc/ru/packages/authentication/auth.xml:1.1 Sat Jan 26 08:39:57 2002
+++ peardoc/ru/packages/authentication/auth.xml Thu Feb 21 12:38:18 2002
@@ -197,4 +197,26 @@
äÌÑ ÐÒÉÍÅÒÁ ÉÓÐÏÌØÚÏ×ÁÎÉÑ, ÓÍ. ÆÕÎËÃÉÀ
<function>Auth::Auth</function>.
</para>
</refsect1>
+
+ <refsect1 id="packages.Auth.Auth.getStatus">
+ <title>Auth::getStatus</title>
+ <funcsynopsis>
+ <funcprototype>
+ <funcdef>string <function>getStatus</function></funcdef>
+ <paramdef></paramdef>
+ </funcprototype>
+ </funcsynopsis>
+
+ <simpara>
+ This function returns the current status of PEAR::Auth. The return
+ values are constants that are defined by PEAR Auth. <constant>
+ AUTH_IDLED</constant> means that the maximum idle time has been
+ reached. <constant>AUTH_EXPIRED</constant> means that the maximum
+ expire time has been reached and <constant>AUTH_WRONG_LOGIN
+ </constant> means that the user has entered wrong login data in
+ the login form.
+ </simpara>
+ </refsect1>
+
+
</refentry>
Index: peardoc/ru/core/db.xml
diff -u peardoc/ru/core/db.xml:1.5 peardoc/ru/core/db.xml:1.6
--- peardoc/ru/core/db.xml:1.5 Sat Jan 26 06:47:04 2002
+++ peardoc/ru/core/db.xml Thu Feb 21 12:38:19 2002
@@ -1,5 +1,5 @@
<?xml encoding="KOI8-R"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<reference id="core.db">
<title>PEAR DB: ÕÎÉÆÉÃÉÒÏ×ÁÎÎÙÊ API ÄÌÑ ÄÏÓÔÕÐÁ Ë SQL-ÂÁÚÁÍ
ÄÁÎÎÙÈ</title>
@@ -253,12 +253,12 @@
// ÷ÙÂÉÒÁÅÍ ËÁÖÄÕÀ ÓÔÒÏËÕ ÎÁ ËÁÖÄÏÊ ÉÔÅÒÁÃÉÉ ÐÏËÁ
// ÎÅ ×ÙÂÅÒÅÍ ×ÓÅ ÓÔÒÏËÉ
-while ($row = $result->fetchRow()) {
+while ($row = $res->fetchRow()) {
$id = $row[0];
}
// éÌÉ:
// ÎÁÐÒÉÍÅÒ ÉÓÐÏÌØÚÕÑ fetchInto()
-while ($result->fetchInto($row)) {
+while ($res->fetchInto($row)) {
$id = $row[0];
}
?>