hirokawa Sun Jan 27 07:02:51 2002 EDT
Modified files:
/phpdoc/en/functions session.xml strings.xml sybase.xml var.xml
Log:
fixed typos and modified type.
Index: phpdoc/en/functions/session.xml
diff -u phpdoc/en/functions/session.xml:1.76 phpdoc/en/functions/session.xml:1.77
--- phpdoc/en/functions/session.xml:1.76 Sun Jan 20 04:07:28 2002
+++ phpdoc/en/functions/session.xml Sun Jan 27 07:02:50 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.76 $ -->
+<!-- $Revision: 1.77 $ -->
<reference id="ref.session">
<title>Session handling functions</title>
<titleabbrev>Sessions</titleabbrev>
@@ -833,7 +833,7 @@
<para>
If $_SESSION (or $HTTP_SESSION_VARS for PHP 4.0.6 or less) is
used, use <function>unset</function> to unregister session
- variable. i.e. unset($_SESSION));
+ variable. i.e. unset($_SESSION);
</para>
</note>
</refsect1>
Index: phpdoc/en/functions/strings.xml
diff -u phpdoc/en/functions/strings.xml:1.156 phpdoc/en/functions/strings.xml:1.157
--- phpdoc/en/functions/strings.xml:1.156 Wed Jan 23 23:11:00 2002
+++ phpdoc/en/functions/strings.xml Sun Jan 27 07:02:50 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.156 $ -->
+<!-- $Revision: 1.157 $ -->
<reference id="ref.strings">
<title>String functions</title>
<titleabbrev>Strings</titleabbrev>
@@ -334,7 +334,7 @@
<funcprototype>
<funcdef>mixed <function>count_chars</function></funcdef>
<paramdef>string <parameter>string</parameter></paramdef>
- <paramdef>
+ <paramdef>int
<parameter>
<optional>mode</optional>
</parameter>
@@ -2146,7 +2146,7 @@
</para>
<para>
<example>
- <title>setlocale Examples</title>
+ <title><function>setlocale</function> Examples</title>
<programlisting role="php">
<![CDATA[
<?php
Index: phpdoc/en/functions/sybase.xml
diff -u phpdoc/en/functions/sybase.xml:1.20 phpdoc/en/functions/sybase.xml:1.21
--- phpdoc/en/functions/sybase.xml:1.20 Wed Dec 12 15:47:31 2001
+++ phpdoc/en/functions/sybase.xml Sun Jan 27 07:02:50 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.20 $ -->
+<!-- $Revision: 1.21 $ -->
<reference id="ref.sybase">
<title>Sybase functions</title>
<titleabbrev>Sybase</titleabbrev>
@@ -57,16 +57,19 @@
<para>
Returns: &true; on success, &false; on error
</para>
- <para> sybase_close() closes the link to a Sybase database that's
- associated with the specified link identifier. If the link
- identifier isn't specified, the last opened link is assumed.
+ <para>
+ <function>sybase_close</function> closes the link to a Sybase
+ database that's associated with the specified link identifier.
+ If the link identifier isn't specified, the last opened link is
+ assumed.
</para>
<para> Note that this isn't usually necessary, as non-persistent
open links are automatically closed at the end of the script's
execution.
</para>
- <para> sybase_close() will not close persistent links generated by
- sybase_pconnect().
+ <para>
+ <function>sybase_close</function> will not close persistent links
+ generated by <function>sybase_pconnect</function>.
</para>
<para> See also: <function>sybase_connect</function>,
<function>sybase_pconnect</function>.
@@ -93,13 +96,16 @@
<para> Returns: A positive Sybase link identifier on success, or
&false; on error.
</para>
- <para> sybase_connect() establishes a connection to a Sybase server.
- The servername argument has to be a valid servername that is defined
- in the 'interfaces' file.
- </para>
- <para> In case a second call is made to sybase_connect() with the
- same arguments, no new link will be established, but instead, the
- link identifier of the already opened link will be returned.
+ <para>
+ <function>sybase_connect</function> establishes a connection to a
+ Sybase server. The servername argument has to be a valid
+ servername that is defined in the 'interfaces' file.
+ </para>
+ <para>
+ In case a second call is made to
+ <function>sybase_connect</function> with the same arguments, no
+ new link will be established, but instead, the link identifier of
+ the already opened link will be returned.
</para>
<para> The link to the server will be closed as soon as the
execution of the script ends, unless it's closed earlier by
@@ -127,10 +133,11 @@
</funcsynopsis>
<para> Returns: &true; on success, &false; on failure
</para>
- <para> sybase_data_seek() moves the internal row pointer of the
- Sybase result associated with the specified result identifier to
- pointer to the specifyed row number. The next call to
- <function>sybase_fetch_row</function> would return that row.
+ <para>
+ <function>sybase_data_seek</function> moves the internal row
+ pointer of the Sybase result associated with the specified result
+ identifier to pointer to the specifyed row number. The next call
+ to <function>sybase_fetch_row</function> would return that row.
</para>
<para> See also: <function>sybase_data_seek</function>.
</para>
@@ -154,18 +161,20 @@
&false; if there are no more rows.
</para>
<para>
- sybase_fetch_array() is an extended version of
+ <function>sybase_fetch_array</function> is an extended version of
<function>sybase_fetch_row</function>. In addition to storing the
data in the numeric indices of the result array, it also stores
the data in associative indices, using the field names as keys.
</para>
<para>
- An important thing to note is that using sybase_fetch_array() is
- NOT significantly slower than using sybase_fetch_row(), while it
- provides a significant added value.</para>
+ An important thing to note is that using
+ <function>sybase_fetch_array</function> is NOT significantly
+ slower than using <function>sybase_fetch_row</function>, while it
+ provides a significant added value.
+ </para>
<para>
For further details, also see
- <function>sybase_fetch_row</function>
+ <function>sybase_fetch_row</function>.
</para>
</refsect1>
</refentry>
@@ -190,10 +199,10 @@
Returns an object containing field information.
</para>
<para>
- sybase_fetch_field() can be used in order to obtain information about
- fields in a certain query result. If the field offset isn't
- specified, the next field that wasn't yet retreived by
- sybase_fetch_field() is retreived.
+ <function>sybase_fetch_field</function> can be used in order to
+ obtain information about fields in a certain query result. If
+ the field offset isn't specified, the next field that wasn't yet
+ retreived by <function>sybase_fetch_field</function> is retreived.
</para>
<para>
The properties of the object are:
@@ -240,7 +249,8 @@
<para> Returns: An object with properties that correspond to the
fetched row, or &false; if there are no more rows.
</para>
- <para> sybase_fetch_object() is similar to
+ <para>
+ <function>sybase_fetch_object</function> is similar to
<function>sybase_fetch_array</function>, with one difference - an
object is returned, instead of an array. Indirectly, that means
that you can only access the data by the field names, and not by
@@ -251,8 +261,8 @@
<function>sybase_fetch_row</function> (the difference is
insignificant).
</para>
- <para> See also: <function>sybase_fetch-array</function> and
- <function>sybase_fetch-row</function>.
+ <para> See also: <function>sybase_fetch_array</function> and
+ <function>sybase_fetch_row</function>.
</para>
</refsect1>
</refentry>
@@ -274,14 +284,15 @@
&false; if there are no more rows.
</para>
<para>
- sybase_fetch_row() fetches one row of data from the result
- associated with the specified result identifier. The row is
- returned as an array. Each result column is stored in an array
- offset, starting at offset 0.
+ <function>sybase_fetch_row</function> fetches one row of data
+ from the result associated with the specified result identifier.
+ The row is returned as an array. Each result column is stored in
+ an array offset, starting at offset 0.
</para>
<para>
- Subsequent call to sybase_fetch_rows() would return the next row
- in the result set, or &false; if there are no more rows.
+ Subsequent call to <function>sybase_fetch_row</function> would
+ return the next row in the result set, or &false; if there are no
+ more rows.
</para>
<para>
See also: <function>sybase_fetch_array</function>,
@@ -478,8 +489,9 @@
<paramdef>int <parameter>result</parameter></paramdef>
</funcprototype>
</funcsynopsis>
- <para> sybase_num_fields() returns the number of fields in a result
- set.
+ <para>
+ <function>sybase_num_fields</function> returns the number of
+ fields in a result set.
</para>
<para>
See also:
@@ -505,7 +517,8 @@
</funcprototype>
</funcsynopsis>
<para>
- sybase_num_rows() returns the number of rows in a result set.
+ <function>sybase_num_rows</function> returns the number of rows
+ in a result set.
</para>
<para>
See also:
@@ -536,7 +549,7 @@
Returns: A positive Sybase persistent link identifier on success,
or &false; on error</para>
<para>
- sybase_pconnect() acts very much like
+ <function>sybase_pconnect</function> acts very much like
<function>sybase_connect</function> with two major differences.</para>
<para>
First, when connecting, the function would first try to find a
@@ -607,12 +620,12 @@
the specified Sybase result set.
</para>
<para>
- sybase_result() returns the contents of one cell from a Sybase
- result set. The field argument can be the field's offset, or the
- field's name, or the field's table dot field's name
- (tablename.fieldname). If the column name has been aliased
- ('select foo as bar from...'), use the alias instead of the
- column name.
+ <function>sybase_result</function> returns the contents of one
+ cell from a Sybase result set. The field argument can be the
+ field's offset, or the field's name, or the field's table dot
+ field's name (tablename.fieldname). If the column name has been
+ aliased ('select foo as bar from...'), use the alias instead of
+ the column name.
</para>
<para>
When working on large result sets, you should consider using one
@@ -648,11 +661,13 @@
</funcsynopsis>
<para> Returns: &true; on success, &false; on error
</para>
- <para> sybase_select_db() sets the current active database on the
- server that's associated with the specified link identifier. If
- no link identifier is specified, the last opened link is assumed.
- If no link is open, the function will try to establish a link as
- if <function>sybase_connect</function> was called, and use it.
+ <para>
+ <function>sybase_select_db</function> sets the current active
+ database on the server that's associated with the specified link
+ identifier. If no link identifier is specified, the last opened
+ link is assumed. If no link is open, the function will try to
+ establish a link as if <function>sybase_connect</function> was
+ called, and use it.
</para>
<para>
Every subsequent call to <function>sybase_query</function> will be
Index: phpdoc/en/functions/var.xml
diff -u phpdoc/en/functions/var.xml:1.90 phpdoc/en/functions/var.xml:1.91
--- phpdoc/en/functions/var.xml:1.90 Thu Jan 3 13:42:29 2002
+++ phpdoc/en/functions/var.xml Sun Jan 27 07:02:50 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.90 $ -->
+<!-- $Revision: 1.91 $ -->
<reference id="ref.variables">
<title>Variable Functions</title>
<titleabbrev>Variables</titleabbrev>
@@ -280,7 +280,7 @@
<funcsynopsis>
<funcprototype>
<funcdef>string <function>get_resource_type</function></funcdef>
- <paramdef>resource <parameter>$handle</parameter></paramdef>
+ <paramdef>resource <parameter>handle</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
@@ -1051,7 +1051,7 @@
<title>Description</title>
<funcsynopsis>
<funcprototype>
- <funcdef>boolean <function>settype</function></funcdef>
+ <funcdef>bool <function>settype</function></funcdef>
<paramdef>mixed <parameter>var</parameter></paramdef>
<paramdef>string <parameter>type</parameter></paramdef>
</funcprototype>