Update of /cvsroot/phpweather/phpweather/docs/src/latex
In directory usw-pr-cvs1:/tmp/cvs-serv5788/src/latex
Modified Files:
apidoc.tex
Log Message:
Update.
Index: apidoc.tex
===================================================================
RCS file: /cvsroot/phpweather/phpweather/docs/src/latex/apidoc.tex,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- apidoc.tex 2001/07/12 19:56:30 1.1
+++ apidoc.tex 2001/07/14 19:44:21 1.2
@@ -8,7 +8,7 @@
\section{\class{base\_object}}
-\begin{figure}[!hb]
+\begin{figure}[!h]
\centering
\includegraphics{base_object}
\caption{The relationship between \class{base\_object} and other classes.}
@@ -50,8 +50,8 @@
\item[Definition] \functiondef{public void base\_object(array \variable{\$}{input})}
-\item[Parameters] \textbf{array \variable{\$}{input}} initial properties of
-the object
+\item[Parameters] \textbf{array \variable{\$}{input}}\hspace{\labelsep}
+initial properties of the object
\item[Return value] \textbf{void}\hspace{\labelsep}
@@ -77,7 +77,8 @@
\item[Definition] \functiondef{private void error(string \variable{\$}{msg})}
-\item[Parameters] \textbf{string \variable{\$}{msg}} error-message.
+\item[Parameters] \textbf{string \variable{\$}{msg}}\hspace{\labelsep}
+error-message.
\item[Return value] \textbf{void}\hspace{\labelsep}
@@ -101,7 +102,8 @@
\item[Definition] \functiondef{private void debug(string \variable{\$}{msg})}
-\item[Parameters] \textbf{string \variable{\$}{msg}} notice.
+\item[Parameters] \textbf{string \variable{\$}{msg}}\hspace{\labelsep}
+notice.
\item[Return value] \textbf{void}\hspace{\labelsep}
@@ -141,7 +143,7 @@
\section{\class{db\_layer}}
-\begin{figure}[!hb]
+\begin{figure}[!h]
\centering
\includegraphics{db_layer}
\caption{The relationship between \class{db\_layer} and other classes.}
@@ -174,8 +176,8 @@
\item[Definition] \functiondef{public void db\_layer(array \variable{\$}{input})}
-\item[Parameters] \textbf{array \variable{\$}{input}} properties for the
-object.
+\item[Parameters] \textbf{array \variable{\$}{input}}\hspace{\labelsep}
+properties for the object.
\item[Return value] \textbf{void}\hspace{\labelsep}
@@ -199,8 +201,8 @@
\item[Definition] \functiondef{private void set\_db\_type(string \variable{\$}{type})}
-\item[Parameters] \textbf{string \variable{\$}{type}} database-type, like
-`null', `mysql' and so on.
+\item[Parameters] \textbf{string \variable{\$}{type}}\hspace{\labelsep}
+database-type, like `null', `mysql' and so on.
\item[Return value] \textbf{void}\hspace{\labelsep}
@@ -239,7 +241,7 @@
\section{\class{data\_retrieval}}
-\begin{figure}[!hb]
+\begin{figure}[!h]
\centering
\includegraphics{data_retrieval}
\caption{The relationship between \class{data\_retrieval} and other classes.}
@@ -274,8 +276,8 @@
\item[Definition] \functiondef{private void data\_retrieval(array
\variable{\$}{input})}
-\item[Parameters] \textbf{array \variable{\$}{input}} initial properties of
-the object.
+\item[Parameters] \textbf{array \variable{\$}{input}}\hspace{\labelsep}
+initial properties of the object.
\item[Return value] \textbf{void}\hspace{\labelsep}
@@ -319,8 +321,8 @@
\item[Definition] \functiondef{public void set\_icao(string \variable{\$}{new\_icao})}
-\item[Parameters] \textbf{string \variable{\$}{new\_icao}} ICAO of the new
-station.
+\item[Parameters] \textbf{string
+\variable{\$}{new\_icao}}\hspace{\labelsep} ICAO of the new station.
\item[Return value] \textbf{void}\hspace{\labelsep}
@@ -364,7 +366,7 @@
this function, just make sure that you have passed the right
properties to the object.
-If \variable{\$}{this}-\ensuremath{>}properties[`always\_use\_db'] is true,
+If \variable{\$}{this-\ensuremath{>}properties[`always\_use\_db']} is true,
then it ignores
the timestamp of the METAR and just returns it. Otherwise it will
try to get a new METAR from the web, if the old one is older than
@@ -396,8 +398,9 @@
\item[Definition] \functiondef{public string get\_metar\_from\_web(boolean
\variable{\$}{new\_station})}
-\item[Parameters] \textbf{boolean \variable{\$}{new\_station}} the station
-be inserted into the database,
+\item[Parameters] \textbf{boolean
+\variable{\$}{new\_station}}\hspace{\labelsep} the station be inserted into
+the database,
or should we update an already existing entry?
\item[Return value] \textbf{string}\hspace{\labelsep} The raw METAR.
@@ -435,7 +438,7 @@
\section{\class{metar\_parser}}
-\begin{figure}[!hb]
+\begin{figure}[!h]
\centering
\includegraphics{metar_parser}
\caption{The relationship between \class{metar\_parser} and other classes.}
@@ -452,7 +455,7 @@
\item[Author] Martin Geisler \email{[EMAIL PROTECTED]}
-\item[Version] \variable{\$}{Id}: metar\_parser.php,v 1.8 2001/07/05 16:05:11
gimpster Exp \$
+\item[Version] \variable{\$}{Id}: metar\_parser.php,v 1.9 2001/07/09 20:31:43
+misibacsi Exp \$
\item[Filename] \filename{PHPWEATHER_BASE_DIR/metar_parser.php}
@@ -463,14 +466,15 @@
\subsection{\function{metar\_parser}}
-This constructor does nothing besides passing the input down the hierarchy.
+This constructor does nothing besides passing the input down the
+hierarchy.
\begin{funcdesc}
\item[Definition] \functiondef{public void metar\_parser(array \variable{\$}{input})}
-\item[Parameters] \textbf{array \variable{\$}{input}} initial properties of
-the object.
+\item[Parameters] \textbf{array \variable{\$}{input}}\hspace{\labelsep}
+initial properties of the object.
\item[Return value] \textbf{void}\hspace{\labelsep}
@@ -491,7 +495,7 @@
tenth of
degree, store in \variable{\$}{temp\_c}, convert to Fahrenheit and store
in
-\variable{\$}{temp\_f}
+\variable{\$}{temp\_f}.
\begin{funcdesc}
@@ -501,14 +505,12 @@
\begin{description}
-\item[string \variable{\$}{temp}] temperature to convert, coded to tenth of
+\item[string \variable{\$}{temp}] to convert, coded to tenth of
degree, like 1015
-\item[integer \variable{\&\$}{temp\_c}] temperature measured in degrees
-Celsius
+\item[integer \variable{\&\$}{temp\_c}] measured in degrees Celsius
-\item[integer \variable{\&\$}{temp\_f}] temperature measured in degrees
-Fahrenheit
+\item[integer \variable{\&\$}{temp\_f}] measured in degrees Fahrenheit
\end{description}
@@ -543,13 +545,18 @@
\item[string \variable{\$}{windunit}] unit of \variable{\$}{value}.
\item[float \variable{\&\$}{knots}] After \variable{\$}{value} has been
-converted into knots, it will be stored in this variable.
+converted into knots,
+it will be stored in this variable.
\item[float \variable{\&\$}{meterspersec}] After \variable{\$}{value} has
-been converted into meters per second, it will be stored in this variable.
+been converted into
+meters per second, it will be stored
+in this variable.
\item[float \variable{\&\$}{milesperhour}] After \variable{\$}{value} has
-been converted into miles per hour, it will be stored in this variable.
+been converted into
+miles per hour, it will be stored
+in this variable.
\end{description}
@@ -568,10 +575,11 @@
Decodes a raw METAR.
-This function loops over the various parts of the raw METAR, and stores the
-different bits in \variable{\$}{decoded\_metar}. It uses
-\function{get\_metar} to retrieve the METAR, so it is not necessary to
-connect to the database before you call this function.
+This function loops over the various parts of the raw METAR, and
+stores the different bits in \variable{\$}{decoded\_metar}. It uses
+\function{get\_metar} to
+retrieve the METAR, so it is not necessary to connect to the database
+before you call this function.
\begin{funcdesc}
@@ -595,7 +603,7 @@
\section{\class{phpweather}}
-\begin{figure}[!hb]
+\begin{figure}[!h]
\centering
\includegraphics{phpweather}
\caption{The relationship between \class{phpweather} and other classes.}
@@ -612,7 +620,7 @@
\item[Author] Martin Geisler \email{[EMAIL PROTECTED]}
-\item[Version] \variable{\$}{Id}: phpweather.php,v 1.11 2001/07/08 19:50:09 misibacsi
Exp \$
+\item[Version] \variable{\$}{Id}: phpweather.php,v 1.13 2001/07/13 18:02:23 misibacsi
+Exp \$
\item[Filename] \filename{PHPWEATHER_BASE_DIR/phpweather.php}
@@ -629,8 +637,8 @@
\item[Definition] \functiondef{public void phpweather(array \variable{\$}{input})}
-\item[Parameters] \textbf{array \variable{\$}{input}} initial properties of
-the object.
+\item[Parameters] \textbf{array \variable{\$}{input}}\hspace{\labelsep}
+initial properties of the object.
\item[Return value] \textbf{void}\hspace{\labelsep}
@@ -654,9 +662,10 @@
\item[Definition] \functiondef{public void set\_language(string
\variable{\$}{new\_language})}
-\item[Parameters] \textbf{string \variable{\$}{new\_language}}
-langauge-code for the language, like `en' for
-English, `fr' for French and so on.
+\item[Parameters] \textbf{string
+\variable{\$}{new\_language}}\hspace{\labelsep} language-code for the
+language, like `en' for
+English, `hu' for Hungarian and so on.
\item[Return value] \textbf{void}\hspace{\labelsep}
@@ -762,7 +771,7 @@
\section{\class{locale\_common}}
-\begin{figure}[!hb]
+\begin{figure}[!h]
\centering
\includegraphics{locale_common}
\caption{The relationship between \class{locale\_common} and other classes.}
@@ -783,7 +792,7 @@
\item[Author] Martin Geisler \email{[EMAIL PROTECTED]}
-\item[Version] \variable{\$}{Id}: locale\_common.php,v 1.9 2001/07/10 20:56:47
misibacsi Exp \$
+\item[Version] \variable{\$}{Id}: locale\_common.php,v 1.12 2001/07/13 13:11:38
+gimpster Exp \$
\item[Filename] \filename{PHPWEATHER_BASE_DIR/locales/locale_common.php}
@@ -800,8 +809,8 @@
\item[Definition] \functiondef{public void locale\_common(array \variable{\$}{input})}
-\item[Parameters] \textbf{array \variable{\$}{input}} initial properties of
-the object.
+\item[Parameters] \textbf{array \variable{\$}{input}}\hspace{\labelsep}
+initial properties of the object.
If you omit some properties, the defaults
will kick-in.
@@ -829,8 +838,8 @@
\begin{description}
\item[string \variable{\$}{new\_mark\_begin}] mark used before numbers and
-other data elements, for example '\ensuremath{<}font
-color=``red''\ensuremath{>}'
+other data elements,
+for example '\ensuremath{<}font color=``red''\ensuremath{>}'
\item[string \variable{\$}{new\_mark\_end}] mark used after numbers and
other data
@@ -864,9 +873,9 @@
\item[Return value] \textbf{array}\hspace{\labelsep} The first element is the string
that`s
inserted
-before any number, and the second element is the string inserted
-after. The first element is also known as 'mark\_begin` and the
-second as 'mark\_end'.
+before any number, and the second element is the
+string inserted after. The first element is also
+known as 'mark\_begin` and the second as 'mark\_end'.
\item[See also] \function{set\_marks}.
@@ -884,14 +893,19 @@
Specifies which kind of units to display.
\variable{\$}{new\_pref\_units} can be one of the following strings:
-- `both\_metric' if one wants to produce output like this:
+
+--- `both\_metric' if one wants to produce output like this:
`10 kilometers (16.1 miles)'
-- `both\_imperial' if one wants to produce output like this:
+
+--- `both\_imperial' if one wants to produce output like this:
`16.1 miles (10 kilometers)'
-- `only\_metric' if one wants to produce output like this:
+
+--- `only\_metric' if one wants to produce output like this:
`10 kilometers'
-- `only\_imperial' if one wants to produce output like this:
+
+--- `only\_imperial' if one wants to produce output like this:
`16.1 miles'
+
If \variable{\$}{new\_pref\_units} isn`t recognized, 'both\_imperial' will
be used.
@@ -899,8 +913,9 @@
\item[Definition] \functiondef{public void set\_pref\_units(string
\variable{\$}{new\_pref\_units})}
-\item[Parameters] \textbf{string \variable{\$}{new\_pref\_units}} new kind
-of units one wants to use.
+\item[Parameters] \textbf{string
+\variable{\$}{new\_pref\_units}}\hspace{\labelsep} new kind of units one
+wants to use.
\item[Return value] \textbf{void}\hspace{\labelsep}
@@ -925,7 +940,8 @@
\item[Return value] \textbf{string}\hspace{\labelsep} The preferred kind of units.
This will be
one of
-`both\_metric', `both\_imperial', `only\_metric' or `only\_imperial'.
+`both\_metric', `both\_imperial', `only\_metric' or
+`only\_imperial'.
\item[See also] \function{set\_pref\_units}.
@@ -947,10 +963,12 @@
\item[Definition] \functiondef{public void set\_exclude(array
\variable{\$}{new\_exclude})}
-\item[Parameters] \textbf{array \variable{\$}{new\_exclude}} array should
-contain the names of the sections
-one doesn`t want to be displayed, like 'wind` or 'time' if one wants
-to skip the wind or time parts of the pretty-print.
+\item[Parameters] \textbf{array
+\variable{\$}{new\_exclude}}\hspace{\labelsep} array should contain the
+names of the sections
+one doesn`t want to be displayed, like 'wind` or
+'time' if one wants to skip the wind or time parts
+of the pretty-print.
\item[Return value] \textbf{void}\hspace{\labelsep}
@@ -1033,7 +1051,9 @@
arguments are controlled by these variables:
- \variable{\$}{strings[`list\_sentences\_and']}
+
- \variable{\$}{strings[`list\_sentences\_comma']}
+
- \variable{\$}{strings[`list\_sentences\_final\_and']}
Only non-empty arguments are used, so it's safe to call this
@@ -1096,8 +1116,9 @@
\item[Definition] \functiondef{private string parse\_cloud\_group(array
\variable{\$}{cloud\_group})}
-\item[Parameters] \textbf{array \variable{\$}{cloud\_group}} cloud-group to
-be parsed. This should be a group
+\item[Parameters] \textbf{array
+\variable{\$}{cloud\_group}}\hspace{\labelsep} cloud-group to be parsed.
+This should be a group
as \function{parse\_metar} would return it.
\item[Return value] \textbf{string}\hspace{\labelsep} The string used in the
pretty-print.
@@ -1119,8 +1140,12 @@
\item[Definition] \functiondef{private string parse\_weather\_group(array
\variable{\$}{weather\_group})}
-\item[Parameters] \textbf{array \variable{\$}{weather\_group}}
-weather-group to be parsed.
+\item[Parameters] \textbf{array
+\variable{\$}{weather\_group}}\hspace{\labelsep} weather-group to be
+parsed. The keys of the
+weather-group tells you which kind of weather
+you`re dealing with. The value of the array is
+the unparsed codes, like 'RA` for 'rain' etc.
\item[Return value] \textbf{string}\hspace{\labelsep} The string used in the
pretty-print.
@@ -1140,8 +1165,14 @@
\begin{funcdesc}
\item[Definition] \functiondef{private string runway\_tendency(string
\variable{\$}{tendency})}
+
+\item[Parameters] \textbf{string \variable{\$}{tendency}}\hspace{\labelsep}
+tendency. Should be one of the characters
+`U', `D', or `N' for an upward, downward, or no
+distinct tendency, respectively.
-\item[Parameters] \textbf{string \variable{\$}{tendency}} tendency
+If the tendency isn't recognized, an error will
+be raised.
\item[Return value] \textbf{string}\hspace{\labelsep} The string used in the
pretty-print.
@@ -1162,11 +1193,13 @@
\item[Definition] \functiondef{private string parse\_runway\_group(array
\variable{\$}{runway\_group})}
-\item[Parameters] \textbf{array \variable{\$}{runway\_group}} runway-group
-to be parsed.
+\item[Parameters] \textbf{array
+\variable{\$}{runway\_group}}\hspace{\labelsep} runway-group to be parsed.
\item[Return value] \textbf{string}\hspace{\labelsep} The string used in the
pretty-print.
+\item[See also] \function{runway\_tendency}.
+
\end{funcdesc}
% End of function parse_runway_group()
@@ -1184,8 +1217,9 @@
\item[Definition] \functiondef{private string parse\_visibility\_group(array
\variable{\$}{visibility\_group})}
-\item[Parameters] \textbf{array \variable{\$}{visibility\_group}}
-visibility-group to be parsed.
+\item[Parameters] \textbf{array
+\variable{\$}{visibility\_group}}\hspace{\labelsep} visibility-group to be
+parsed.
\item[Return value] \textbf{string}\hspace{\labelsep} The string used in the
pretty-print.
@@ -1209,11 +1243,13 @@
\item[Definition] \functiondef{public string print\_pretty(array \variable{\$}{data})}
-\item[Parameters] \textbf{array \variable{\$}{data}} taken from
-\function{decode\_metar}
+\item[Parameters] \textbf{array \variable{\$}{data}}\hspace{\labelsep}
+taken from \function{decode\_metar}
\item[Return value] \textbf{string}\hspace{\labelsep} The pretty-printed output.
+\item[See also] \function{parse\_weather\_group}, \function{parse\_runway\_group},
+\function{parse\_cloud\_group}, \function{parse\_visibility\_group},
+\function{set\_exclude}.
+
\end{funcdesc}
% End of function print_pretty()
@@ -1231,8 +1267,8 @@
\item[Definition] \functiondef{public string print\_table(array \variable{\$}{data})}
-\item[Parameters] \textbf{array \variable{\$}{data}} taken from
-\function{decode\_metar}
+\item[Parameters] \textbf{array \variable{\$}{data}}\hspace{\labelsep}
+taken from \function{decode\_metar}
\item[Return value] \textbf{string}\hspace{\labelsep} The table with weather-data.
@@ -1250,7 +1286,7 @@
\section{\class{locale\_en}}
-\begin{figure}[!hb]
+\begin{figure}[!h]
\centering
\includegraphics{locale_en}
\caption{The relationship between \class{locale\_en} and other classes.}
@@ -1284,8 +1320,8 @@
\item[Definition] \functiondef{public void locale\_en(array \variable{\$}{input})}
-\item[Parameters] \textbf{array \variable{\$}{input}} is just passed on to
-\function{locale\_common}
+\item[Parameters] \textbf{array \variable{\$}{input}}\hspace{\labelsep} is
+just passed on to \function{locale\_common}
\item[Return value] \textbf{void}\hspace{\labelsep}
@@ -1303,7 +1339,7 @@
\section{\class{locale\_da}}
-\begin{figure}[!hb]
+\begin{figure}[!h]
\centering
\includegraphics{locale_da}
\caption{The relationship between \class{locale\_da} and other classes.}
@@ -1336,8 +1372,8 @@
\item[Definition] \functiondef{public void locale\_da(array \variable{\$}{input})}
-\item[Parameters] \textbf{array \variable{\$}{input}} is just passed on to
-\function{locale\_common}
+\item[Parameters] \textbf{array \variable{\$}{input}}\hspace{\labelsep} is
+just passed on to \function{locale\_common}
\item[Return value] \textbf{void}\hspace{\labelsep}
@@ -1355,7 +1391,7 @@
\section{\class{locale\_hu}}
-\begin{figure}[!hb]
+\begin{figure}[!h]
\centering
\includegraphics{locale_hu}
\caption{The relationship between \class{locale\_hu} and other classes.}
@@ -1374,7 +1410,7 @@
\item[Author] Mihály Gyulai \email{[EMAIL PROTECTED]}
-\item[Version] \variable{\$}{Id}\$
+\item[Version] \variable{\$}{Id}: locale\_hu.php,v 1.5 2001/07/13 09:24:02 gimpster
+Exp \$
\item[Filename] \filename{PHPWEATHER_BASE_DIR/locales/locale_hu.php}
@@ -1391,8 +1427,8 @@
\item[Definition] \functiondef{public void locale\_hu(array \variable{\$}{input})}
-\item[Parameters] \textbf{array \variable{\$}{input}} is just passed on to
-\function{locale\_common}
+\item[Parameters] \textbf{array \variable{\$}{input}}\hspace{\labelsep} is
+just passed on to \function{locale\_common}
Ezt a paramétert átadjuk \function{locale\_common} -nak.
\item[Return value] \textbf{void}\hspace{\labelsep}
@@ -1411,7 +1447,7 @@
\section{\class{db\_common}}
-\begin{figure}[!hb]
+\begin{figure}[!h]
\centering
\includegraphics{db_common}
\caption{The relationship between \class{db\_common} and other classes.}
@@ -1450,8 +1486,8 @@
\item[Definition] \functiondef{public void db\_common(array \variable{\$}{input})}
-\item[Parameters] \textbf{array \variable{\$}{input}} initial properties of
-the object
+\item[Parameters] \textbf{array \variable{\$}{input}}\hspace{\labelsep}
+initial properties of the object
\item[Return value] \textbf{void}\hspace{\labelsep}
@@ -1471,7 +1507,7 @@
\section{\class{db\_dba}}
-\begin{figure}[!hb]
+\begin{figure}[!h]
\centering
\includegraphics{db_dba}
\caption{The relationship between \class{db\_dba} and other classes.}
@@ -1492,7 +1528,7 @@
\item[Author] Martin Geisler \email{[EMAIL PROTECTED]}
-\item[Version] \variable{\$}{Id}: db\_dba.php,v 1.4 2001/07/08 21:27:43 gimpster Exp
\$
+\item[Version] \variable{\$}{Id}: db\_dba.php,v 1.5 2001/07/13 09:21:57 gimpster Exp
+\$
\item[Filename] \filename{PHPWEATHER_BASE_DIR/db/db_dba.php}
@@ -1511,8 +1547,8 @@
\item[Definition] \functiondef{public void db\_dba(array \variable{\$}{input})}
-\item[Parameters] \textbf{array \variable{\$}{input}} initial properties of
-the object
+\item[Parameters] \textbf{array \variable{\$}{input}}\hspace{\labelsep}
+initial properties of the object
\item[Return value] \textbf{void}\hspace{\labelsep}
@@ -1678,8 +1714,8 @@
\item[Definition] \functiondef{public array get\_metar(string \variable{\$}{station})}
-\item[Parameters] \textbf{string \variable{\$}{station}} ICAO of the
-station.
+\item[Parameters] \textbf{string \variable{\$}{station}}\hspace{\labelsep}
+ICAO of the station.
\item[Return value] \textbf{array}\hspace{\labelsep} The raw METAR and UNIX timestamp
as an
array, in that order.
@@ -1704,8 +1740,8 @@
\item[Definition] \functiondef{public string lookup\_icao(string \variable{\$}{icao})}
-\item[Parameters] \textbf{string \variable{\$}{icao}} ICAO one want's to
-translate.
+\item[Parameters] \textbf{string \variable{\$}{icao}}\hspace{\labelsep}
+ICAO one want's to translate.
\item[Return value] \textbf{string}\hspace{\labelsep} The full name of the station,
including
country.
@@ -1838,7 +1874,7 @@
\section{\class{db\_mysql}}
-\begin{figure}[!hb]
+\begin{figure}[!h]
\centering
\includegraphics{db_mysql}
\caption{The relationship between \class{db\_mysql} and other classes.}
@@ -1873,8 +1909,8 @@
\item[Definition] \functiondef{public void db\_mysql(array \variable{\$}{input})}
-\item[Parameters] \textbf{array \variable{\$}{input}} initial properties of
-the object
+\item[Parameters] \textbf{array \variable{\$}{input}}\hspace{\labelsep}
+initial properties of the object
\item[Return value] \textbf{void}\hspace{\labelsep}
@@ -1990,7 +2026,8 @@
\item[Definition] \functiondef{public boolean query(string \variable{\$}{query})}
-\item[Parameters] \textbf{string \variable{\$}{query}} SQL-statement.
+\item[Parameters] \textbf{string \variable{\$}{query}}\hspace{\labelsep}
+SQL-statement.
\item[Return value] \textbf{boolean}\hspace{\labelsep} True on success, false
otherwise.
@@ -2136,7 +2173,8 @@
\item[Definition] \functiondef{public string get\_metar(string \variable{\$}{icao})}
-\item[Parameters] \textbf{string \variable{\$}{icao}} ICAO of the station.
+\item[Parameters] \textbf{string \variable{\$}{icao}}\hspace{\labelsep}
+ICAO of the station.
\item[Return value] \textbf{string}\hspace{\labelsep} The raw METAR as an array from
the
database.
@@ -2181,8 +2219,8 @@
\item[Definition] \functiondef{public string lookup\_icao(string \variable{\$}{icao})}
-\item[Parameters] \textbf{string \variable{\$}{icao}} ICAO one want's to
-translate.
+\item[Parameters] \textbf{string \variable{\$}{icao}}\hspace{\labelsep}
+ICAO one want's to translate.
\item[Return value] \textbf{string}\hspace{\labelsep} The full name of the station,
including
country.
@@ -2291,7 +2329,7 @@
\section{\class{db\_pgsql}}
-\begin{figure}[!hb]
+\begin{figure}[!h]
\centering
\includegraphics{db_pgsql}
\caption{The relationship between \class{db\_pgsql} and other classes.}
@@ -2325,8 +2363,8 @@
\item[Definition] \functiondef{public void db\_pgsql(array \variable{\$}{input})}
-\item[Parameters] \textbf{array \variable{\$}{input}} initial properties of
-the object
+\item[Parameters] \textbf{array \variable{\$}{input}}\hspace{\labelsep}
+initial properties of the object
\item[Return value] \textbf{void}\hspace{\labelsep}
@@ -2442,7 +2480,8 @@
\item[Definition] \functiondef{public boolean query(string \variable{\$}{query})}
-\item[Parameters] \textbf{string \variable{\$}{query}} SQL-statement.
+\item[Parameters] \textbf{string \variable{\$}{query}}\hspace{\labelsep}
+SQL-statement.
\item[Return value] \textbf{boolean}\hspace{\labelsep} True on success, false
otherwise.
@@ -2588,8 +2627,8 @@
\item[Definition] \functiondef{public string get\_metar(string
\variable{\$}{station})}
-\item[Parameters] \textbf{string \variable{\$}{station}} ICAO of the
-station.
+\item[Parameters] \textbf{string \variable{\$}{station}}\hspace{\labelsep}
+ICAO of the station.
\item[Return value] \textbf{string}\hspace{\labelsep} The raw METAR as an array from
the
database.
@@ -2608,7 +2647,7 @@
\section{\class{db\_null}}
-\begin{figure}[!hb]
+\begin{figure}[!h]
\centering
\includegraphics{db_null}
\caption{The relationship between \class{db\_null} and other classes.}
@@ -2643,8 +2682,8 @@
\item[Definition] \functiondef{public void db\_null(array \variable{\$}{input})}
-\item[Parameters] \textbf{array \variable{\$}{input}} initial properties of
-the object
+\item[Parameters] \textbf{array \variable{\$}{input}}\hspace{\labelsep}
+initial properties of the object
\item[Return value] \textbf{void}\hspace{\labelsep}
@@ -2775,8 +2814,8 @@
\item[Definition] \functiondef{public string get\_metar(string
\variable{\$}{station})}
-\item[Parameters] \textbf{string \variable{\$}{station}} ICAO of the
-station.
+\item[Parameters] \textbf{string \variable{\$}{station}}\hspace{\labelsep}
+ICAO of the station.
\item[Return value] \textbf{string}\hspace{\labelsep} Since we don't have a database,
we just
return an empty string.
@@ -2798,7 +2837,8 @@
\item[Definition] \functiondef{public string lookup\_icao(string \variable{\$}{icao})}
-\item[Parameters] \textbf{string \variable{\$}{icao}} ICAO to translate.
+\item[Parameters] \textbf{string \variable{\$}{icao}}\hspace{\labelsep}
+ICAO to translate.
\item[Return value] \textbf{string}\hspace{\labelsep} The translated ICAO.
_______________________________________________
PHPWeather-checkins mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/phpweather-checkins