Update of /cvsroot/phpweather/phpweather/doc In directory usw-pr-cvs1:/tmp/cvs-serv20304 Modified Files: base_object.html class_base_object.xml class_data_retrieval.xml class_db_common.xml class_db_layer.xml class_db_mysql.xml class_db_none.xml class_db_pgsql.xml class_locale_common.xml class_locale_en.xml class_metar_parser.xml class_phpweather.xml data_retrieval.html db_common.html db_layer.html db_mysql.html db_none.html db_pgsql.html elementlist.xml locale_common.html locale_en.html metar_parser.html phpdoc_elementlist.html phpweather.html Log Message: Just some whitespace changes in the documentation. Index: base_object.html =================================================================== RCS file: /cvsroot/phpweather/phpweather/doc/base_object.html,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- base_object.html 2001/03/24 16:40:41 1.2 +++ base_object.html 2001/03/26 19:31:37 1.3 @@ -32,7 +32,7 @@ <h1>base_object</h1> base_object<br> <p> - Provides some basic capabilities like error-handling. + Provides some basic capabilities like error-handling and +handling of defaults. <p> </td> @@ -40,7 +40,7 @@ <tr> <td align="left" valign="top"> <h4>private class base_object </h4> - Provides some basic capabilities like error-handling. + Provides some basic capabilities like error-handling and +handling of defaults. <br> This class handles various messages. By using this class, you'llget a set of standard methods to generate messenges. You can makeerror-messages, notices and print debug-information. <p> Index: class_base_object.xml =================================================================== RCS file: /cvsroot/phpweather/phpweather/doc/class_base_object.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- class_base_object.xml 2001/03/24 16:40:41 1.2 +++ class_base_object.xml 2001/03/26 19:31:37 1.3 @@ -1 +1 @@ -<?xml version="1.0"?><phpdoc><class name="base_object" extends="" undoc="false" access="private" package="PHP Weather"><file>/www/gimpster.com/php/phpweather/base_object.php</file><doc><author email="[EMAIL PROTECTED]">Martin Geisler</author><description>This class handles various messages. By using this class, you&apos;llget a set of standard methods to generate messenges. You can makeerror-messages, notices and print debug-information.</description><shortdescription>Provides some basic capabilities like error-handling.</shortdescription><version>$Id$</version></doc><function name="base_object" undoc="false" access="public"><doc><see type="var">$properties</see><see type="var">$defaults</see><parameter name="$input" type="array">initial properties of the object</parameter><return type="void"/><description/><shortdescription>Sets up the properties by overriding the defaults with the actual input.</shortdescription></doc></function><function name="error" undoc="false" access="private"><doc><parameter name="$msg" type="string">error-message.</parameter><return type="void"/><description>You should supply it with a string as the argument, and it willthen print the string, prefixed with the word &apos;Error&apos; in bold.</description><shortdescription>Prints an error-message.</shortdescription></doc></function><function name="notice" undoc="false" access="private"><doc><parameter name="$msg" type="string">notice.</parameter><return type="void"/><description>You should supply it with a string as the argument, and it willthen print the string, prefixed with the word &apos;Notice&apos; in bold.</description><shortdescription>Prints a notice.</shortdescription></doc></function><function name="print_properties" undoc="false" access="private"><doc><return type="void"/><description>This method prints all the properties, of this object. It is onlyused as a tool for debugging.</description><shortdescription>Prints properties.</shortdescription></doc></function><variable name="$properties" access="private" type="array">array()<doc><see type="var">$defaults</see><description/><shortdescription>All the objects properties are stored in this array.</shortdescription></doc></variable><variable name="$defaults" access="private" type="array">array()<doc><description/><shortdescription>Classes that extend this one, should put their defaults into this array.</shortdescription></doc></variable><subclasses><subclass>db_layer</subclass><subclass>db_common</subclass><subclass>locale_common</subclass></subclasses></class></phpdoc> \ No newline at end of file +<?xml version="1.0"?><phpdoc><class name="base_object" extends="" undoc="false" +access="private" package="PHP +Weather"><file>/www/gimpster.com/php/phpweather/base_object.php</file><doc><author +email="[EMAIL PROTECTED]">Martin Geisler</author><description>This class handles +various messages. By using this class, you&apos;llget a set of standard methods +to generate messenges. You can makeerror-messages, notices and print +debug-information.</description><shortdescription>Provides some basic capabilities +like error-handling and handling of +defaults.</shortdescription><version>$Id$</version></doc><function name="base_object" +undoc="false" access="public"><doc><see type="var">$properties</see><see +type="var">$defaults</see><parameter name="$input" type="array">initial properties of +the object</parameter><return type="void"/><description/><shortdescription>Sets up +the properties by overriding the defaults with the actual +input.</shortdescription></doc></function><function name="error" undoc="false" +access="private"><doc><parameter name="$msg" +type="string">error-message.</parameter><return type="void"/><description>You should +supply it with a string as the argument, and it willthen print the string, prefixed +with the word &apos;Error&apos; in +bold.</description><shortdescription>Prints an +error-message.</shortdescription></doc></function><function name="notice" +undoc="false" access="private"><doc><parameter name="$msg" +type="string">notice.</parameter><return type="void"/><description>You should supply +it with a string as the argument, and it willthen print the string, prefixed with the +word &apos;Notice&apos; in bold.</description><shortdescription>Prints a +notice.</shortdescription></doc></function><function name="print_properties" +undoc="false" access="private"><doc><return type="void"/><description>This method +prints all the properties, of this object. It is onlyused as a tool for +debugging.</description><shortdescription>Prints +properties.</shortdescription></doc></function><variable name="$properties" +access="private" type="array">array()<doc><see +type="var">$defaults</see><description/><shortdescription>All the objects properties +are stored in this array.</shortdescription></doc></variable><variable +name="$defaults" access="private" +type="array">array()<doc><description/><shortdescription>Classes that extend this +one, should put their defaults into this +array.</shortdescription></doc></variable><subclasses><subclass>db_layer</subclass><subclass>db_common</subclass><subclass>locale_common</subclass></subclasses></class></phpdoc> \ No newline at end of file Index: class_data_retrieval.xml =================================================================== RCS file: /cvsroot/phpweather/phpweather/doc/class_data_retrieval.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 Index: class_db_common.xml =================================================================== RCS file: /cvsroot/phpweather/phpweather/doc/class_db_common.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 Index: class_db_layer.xml =================================================================== RCS file: /cvsroot/phpweather/phpweather/doc/class_db_layer.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- class_db_layer.xml 2001/03/24 16:40:41 1.2 +++ class_db_layer.xml 2001/03/26 19:31:37 1.3 @@ -1 +1 @@ -<?xml version="1.0"?><phpdoc><class name="db_layer" extends="base_object" undoc="false" access="private" package="PHP Weather"><file>/www/gimpster.com/php/phpweather/db_layer.php</file><doc><author email="[EMAIL PROTECTED]">Martin Geisler</author><inherited src="Array"/><description/><shortdescription>This class is used to maintain the database-object.</shortdescription><version>$Id$</version></doc><function name="db_layer" undoc="false" access="public"><doc><parameter name="$input" type="array">properties for the object.</parameter><return type="void"/><description>$defaults is extended by &apos;db_type&apos; = &apos;none&apos;.</description><shortdescription>Creates the database-object based on $input[&apos;db_type&apos;].</shortdescription></doc></function><function name="set_db_type" undoc="false" access="private"><doc><parameter name="$type" type="string">database-type, like &apos;none&apos;, &apos;mysql&apos; and so on.</parameter><return type="void"/><description/><shortdescription>Sets the database-type and creates the database-object.</shortdescription></doc></function><function name="get_db_type" undoc="false" access="private"><doc><return name="" type="string">the type of the database used, like &apos;none&apos;, &apos;mysql&apos; and so on.</return><description/><shortdescription>Gets the database-type.</shortdescription></doc></function><variable name="$db" access="public" type="object db_type"><doc><description>The database-object handles all communication with the database.</description><shortdescription>Variable containing the database-object</shortdescription></doc></variable><inherited src="base_object" type="functions"><element>base_object</element><element>error</element><element>notice</element><element>print_properties</element></inherited><inherited src="base_object" type="variables"><element>$properties</element><element>$defaults</element></inherited><path><parent>base_object</parent></path><baseclass>base_object</baseclass><subclasses><subclass>data_retrieval</subclass></subclasses></class></phpdoc> \ No newline at end of file +<?xml version="1.0"?><phpdoc><class name="db_layer" extends="base_object" +undoc="false" access="private" package="PHP +Weather"><file>/www/gimpster.com/php/phpweather/db_layer.php</file><doc><author +email="[EMAIL PROTECTED]">Martin Geisler</author><inherited +src="Array"/><description/><shortdescription>This class is used to maintain the +database-object.</shortdescription><version>$Id$</version></doc><function +name="db_layer" undoc="false" access="public"><doc><parameter name="$input" +type="array">properties for the object.</parameter><return +type="void"/><description>$defaults is extended by &apos;db_type&apos; = +&apos;none&apos;.</description><shortdescription>Creates the database-object +based on +$input[&apos;db_type&apos;].</shortdescription></doc></function><function +name="set_db_type" undoc="false" access="private"><doc><parameter name="$type" +type="string">database-type, like &apos;none&apos;, &apos;mysql&apos; +and so on.</parameter><return type="void"/><description/><shortdescription>Sets the +database-type and creates the +database-object.</shortdescription></doc></function><function name="get_db_type" +undoc="false" access="private"><doc><return name="" type="string">the type of the +database used, like &apos;none&apos;, &apos;mysql&apos; and so +on.</return><description/><shortdescription>Gets the +database-type.</shortdescription></doc></function><variable name="$db" +access="public" type="object db_type"><doc><description>The database-object handles +all communication with the database. It is created as an object of the appropriate +type, like db_mysql, db_pgsql, etc.</description><shortdescription>Variable +containing the database-object.</shortdescription></doc></variable><inherited +src="base_object" +type="functions"><element>base_object</element><element>error</element><element>notice</element><element>print_properties</element></inherited><inherited + src="base_object" +type="variables"><element>$properties</element><element>$defaults</element></inherited><path><parent>base_object</parent></path><baseclass>base_object</baseclass><subclasses><subclass>data_retrieval</subclass></subclasses></class></phpdoc> \ No newline at end of file Index: class_db_mysql.xml =================================================================== RCS file: /cvsroot/phpweather/phpweather/doc/class_db_mysql.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 Index: class_db_none.xml =================================================================== RCS file: /cvsroot/phpweather/phpweather/doc/class_db_none.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 Index: class_db_pgsql.xml =================================================================== RCS file: /cvsroot/phpweather/phpweather/doc/class_db_pgsql.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 Index: class_locale_common.xml =================================================================== RCS file: /cvsroot/phpweather/phpweather/doc/class_locale_common.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 Index: class_locale_en.xml =================================================================== RCS file: /cvsroot/phpweather/phpweather/doc/class_locale_en.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 Index: class_metar_parser.xml =================================================================== RCS file: /cvsroot/phpweather/phpweather/doc/class_metar_parser.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 Index: class_phpweather.xml =================================================================== RCS file: /cvsroot/phpweather/phpweather/doc/class_phpweather.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 Index: data_retrieval.html =================================================================== RCS file: /cvsroot/phpweather/phpweather/doc/data_retrieval.html,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 Index: db_common.html =================================================================== RCS file: /cvsroot/phpweather/phpweather/doc/db_common.html,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 Index: db_layer.html =================================================================== RCS file: /cvsroot/phpweather/phpweather/doc/db_layer.html,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- db_layer.html 2001/03/24 16:40:42 1.2 +++ db_layer.html 2001/03/26 19:31:37 1.3 @@ -145,7 +145,7 @@ <tr> <td align="right" valign="top">object db_type</td> - <td align="left" valign="top" width="100%"><a href="#variable_$db"><h4>$db</h4></a>Variable containing the database-object</td> + <td align="left" valign="top" width="100%"><a +href="#variable_$db"><h4>$db</h4></a>Variable containing the database-object.</td> </tr> </table> @@ -350,9 +350,9 @@ <p> >><code></code><< <p> - Variable containing the database-object + Variable containing the +database-object. <br> - The database-object handles all communication with the database. + The database-object handles all +communication with the database. It is created as an object of the appropriate type, +like db_mysql, db_pgsql, etc. </td> </tr> Index: db_mysql.html =================================================================== RCS file: /cvsroot/phpweather/phpweather/doc/db_mysql.html,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 Index: db_none.html =================================================================== RCS file: /cvsroot/phpweather/phpweather/doc/db_none.html,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 Index: db_pgsql.html =================================================================== RCS file: /cvsroot/phpweather/phpweather/doc/db_pgsql.html,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 Index: elementlist.xml =================================================================== RCS file: /cvsroot/phpweather/phpweather/doc/elementlist.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- elementlist.xml 2001/03/24 16:40:42 1.2 +++ elementlist.xml 2001/03/26 19:31:37 1.3 @@ -1 +1 @@ -<?xml version="1.0"?><phpdoc><index><chapter char="p"><element type="class" source="" sourcetype="class" name="phpweather">A container-class for the localized object.</element><element type="functions" source="phpweather" sourcetype="class" name="phpweather">This constructor sets the language when the object is created.</element><element type="functions" source="phpweather" sourcetype="class" name="print_pretty">Calls the print_pretty() function of the output-object.</element><element type="functions" source="locale_common" sourcetype="class" name="print_pretty">The pretty-print function.</element><element type="functions" source="phpweather" sourcetype="class" name="print_table">Calls the print_table() function of the output-object.</element><element type="functions" source="locale_common" sourcetype="class" name="print_table">Makes a short weather-report in a table.</element><element type="functions" source="locale_common" sourcetype="class" name="pref_units">Used to format strings with regard to the preferred units.</element><element type="functions" source="locale_common" sourcetype="class" name="parse_precip">Used to parse precipitation.</element><element type="functions" source="locale_common" sourcetype="class" name="parse_cloud_group">Function used to parse a cloud-group.</element><element type="functions" source="locale_common" sourcetype="class" name="parse_weather_group">Function used to parse a weather-group.</element><element type="functions" source="locale_common" sourcetype="class" name="parse_runway_group">Function used to parse a runway-group.</element><element type="functions" source="locale_common" sourcetype="class" name="parse_visibility_group">Function used to parse a visibility-group.</element><element type="functions" source="base_object" sourcetype="class" name="print_properties">Prints properties.</element><element type="variables" source="base_object" sourcetype="class" name="$properties">All the objects properties are stored in this array.</element></chapter><chapter char="s"><element type="functions" source="phpweather" sourcetype="class" name="set_language">Sets the language.</element><element type="functions" source="metar_parser" sourcetype="class" name="store_temp">Helper-function used to store temperatures.</element><element type="functions" source="metar_parser" sourcetype="class" name="store_speed">Helper-function used to store speeds.</element><element type="functions" source="data_retrieval" sourcetype="class" name="set_station">Sets the station.</element><element type="functions" source="db_layer" sourcetype="class" name="set_db_type">Sets the database-type and creates the database-object.</element><element type="functions" source="db_mysql" sourcetype="class" name="select_db">Selects a database.</element><element type="functions" source="db_none" sourcetype="class" name="select_db">Selects a database.</element><element type="functions" source="db_pgsql" sourcetype="class" name="select_db">Selects a database.</element><element type="functions" source="locale_common" sourcetype="class" name="set_marks">Sets the marks (the strings inserted before and after every number)</element><element type="functions" source="locale_common" sourcetype="class" name="set_pref_units">Specifies which kind of units to display.</element><element type="functions" source="locale_common" sourcetype="class" name="set_exclude">Used to specify which elements one wants to exclude from the pretty-print.</element><element type="variables" source="locale_common" sourcetype="class" name="$strings">The strings used in the translation is stored here.</element></chapter><chapter char="g"><element type="functions" source="phpweather" sourcetype="class" name="get_language">Retuns the langauge.</element><element type="functions" source="data_retrieval" sourcetype="class" name="get_station">Returns the station.</element><element type="functions" source="data_retrieval" sourcetype="class" name="get_metar">Retrieves a raw METAR, either from the web or from a database.</element><element type="functions" source="db_mysql" sourcetype="class" name="get_metar">Gets a METAR form the database.</element><element type="functions" source="db_none" sourcetype="class" name="get_metar">Gets a METAR form the database.</element><element type="functions" source="db_pgsql" sourcetype="class" name="get_metar">Gets a METAR form the database.</element><element type="functions" source="data_retrieval" sourcetype="class" name="get_metar_from_db">Tries to get a METAR from the database.</element><element type="functions" source="data_retrieval" sourcetype="class" name="get_metar_from_web">Fetches a METAR for the Internet.</element><element type="functions" source="db_layer" sourcetype="class" name="get_db_type">Gets the database-type.</element><element type="functions" source="db_mysql" sourcetype="class" name="get_type">Gets the type of the database.</element><element type="functions" source="db_none" sourcetype="class" name="get_type">Gets the type of the database.</element><element type="functions" source="db_pgsql" sourcetype="class" name="get_type">Gets the type of the database.</element><element type="functions" source="locale_common" sourcetype="class" name="get_marks">Gets the marks</element><element type="functions" source="locale_common" sourcetype="class" name="get_pref_units">Gets the preferred units.</element><element type="functions" source="locale_common" sourcetype="class" name="get_exclude">Gets the array of excluded elements of the pretty-print.</element></chapter><chapter char="o"><element type="variables" source="phpweather" sourcetype="class" name="$output">The localized output-object</element></chapter><chapter char="m"><element type="class" source="" sourcetype="class" name="metar_parser">This class understands how to parse a raw METAR.</element><element type="functions" source="metar_parser" sourcetype="class" name="metar_parser">This constructor does nothing besides passing the input down the hierarchy.</element><element type="variables" source="data_retrieval" sourcetype="class" name="$metar">The METAR is store here.</element></chapter><chapter char="d"><element type="functions" source="metar_parser" sourcetype="class" name="decode_metar">Decodes a raw METAR.</element><element type="variables" source="metar_parser" sourcetype="class" name="$decoded_metar">The decoded METAR is stored here.</element><element type="class" source="" sourcetype="class" name="data_retrieval">This class contains all the logic needed to get and store METARs.</element><element type="functions" source="data_retrieval" sourcetype="class" name="data_retrieval">Constructor</element><element type="class" source="" sourcetype="class" name="db_layer">This class is used to maintain the database-object.</element><element type="functions" source="db_layer" sourcetype="class" name="db_layer">Creates the database-object based on $input[&apos;db_type&apos;].</element><element type="variables" source="db_layer" sourcetype="class" name="$db">Variable containing the database-object</element><element type="class" source="" sourcetype="class" name="db_mysql">This class is the &apos;mysql&apos; database-type</element><element type="functions" source="db_mysql" sourcetype="class" name="db_mysql">This constructor does nothing besides calling the parent constructor.</element><element type="functions" source="db_mysql" sourcetype="class" name="disconnect">Disconnects from the database.</element><element type="functions" source="db_none" sourcetype="class" name="disconnect">Disconnects from the database.</element><element type="functions" source="db_pgsql" sourcetype="class" name="disconnect">Disconnects from the database.</element><element type="class" source="" sourcetype="class" name="db_none">This class is the &apos;none&apos; database-type</element><element type="functions" source="db_none" sourcetype="class" name="db_none">This constructor does nothing besides calling the parent constructor.</element><element type="class" source="" sourcetype="class" name="db_pgsql">This class is the &apos;pgsql&apos; database-type</element><element type="function s" source="db_pgsql" sourcetype="class" name="db_pgsql">This constructor does nothing besides calling the parent constructor.</element><element type="class" source="" sourcetype="class" name="db_common">Common class for all the database-types.</element><element type="functions" source="db_common" sourcetype="class" name="db_common">Initializes the database-object.</element><element type="variables" source="base_object" sourcetype="class" name="$defaults">Classes that extend this one, should put their defaults into this array.</element></chapter><chapter char="c"><element type="functions" source="db_mysql" sourcetype="class" name="connect">Establishes a connection to the database.</element><element type="functions" source="db_none" sourcetype="class" name="connect">Establishes a connection to the database.</element><element type="functions" source="db_pgsql" sourcetype="class" name="connect">Establishes a connection to the database.</element></chapter><chapter char="q"><element type="functions" source="db_mysql" sourcetype="class" name="query">Executes a SQL-query.</element><element type="functions" source="db_none" sourcetype="class" name="query">Executes a SQL-query.</element><element type="functions" source="db_pgsql" sourcetype="class" name="query">Executes a SQL-query.</element></chapter><chapter char="f"><element type="functions" source="db_mysql" sourcetype="class" name="fetch_row">Fetches a row as an array from the database.</element><element type="functions" source="db_none" sourcetype="class" name="fetch_row">Fetches a row as an array from the database.</element><element type="functions" source="db_pgsql" sourcetype="class" name="fetch_row">Fetches a row as an array from the database.</element><element type="functions" source="db_mysql" sourcetype="class" name="fetch_array">Fetches a row as an associative array from the database.</element><element type="functions" source="db_none" sourcetype="class" name="fetch_array">Fetches a row as an associative array from the database.</element><element type="functions" source="db_pgsql" sourcetype="class" name="fetch_array">Fetches a row as an associative array from the database.</element></chapter><chapter char="n"><element type="functions" source="db_mysql" sourcetype="class" name="num_rows">Returns the number of rows in the result-set.</element><element type="functions" source="db_none" sourcetype="class" name="num_rows">Returns the number of rows in the result-set.</element><element type="functions" source="db_pgsql" sourcetype="class" name="num_rows">Returns the number of rows in the result-set.</element><element type="functions" source="base_object" sourcetype="class" name="notice">Prints a notice.</element></chapter><chapter char="i"><element type="functions" source="db_mysql" sourcetype="class" name="insert_metar">Inserts a METAR into the database.</element><element type="functions" source="db_none" sourcetype="class" name="insert_metar">Inserts a METAR into the database.</element><element type="functions" source="db_pgsql" sourcetype="class" name="insert_metar">Inserts a METAR into the database.</element><element type="variables" source="db_common" sourcetype="class" name="$is_connected">Maintains the status of the database-connection.</element></chapter><chapter char="u"><element type="functions" source="db_mysql" sourcetype="class" name="update_metar">Updates an existing METAR in the database.</element><element type="functions" source="db_none" sourcetype="class" name="update_metar">Updates an existing METAR in the database.</element><element type="functions" source="db_pgsql" sourcetype="class" name="update_metar">Updates an existing METAR in the database.</element></chapter><chapter char="l"><element type="variables" source="db_common" sourcetype="class" name="$link_id">contains the link_id used when querying.</element><element type="class" source="" sourcetype="class" name="locale_en">Provides all the strings needed by locale_common to produce English output.</element><element type="functions" source="locale_en" sourcetype="class" name="locale_en">This constructor provides all the strings used.</element><element type="class" source="" sourcetype="class" name="locale_common">Provides all the function needed to generate (English) output.</element><element type="functions" source="locale_common" sourcetype="class" name="locale_common">Sets up the defaults.</element><element type="functions" source="locale_common" sourcetype="class" name="list_sentences">Builds sentences from smaller bits.</element></chapter><chapter char="r"><element type="variables" source="db_common" sourcetype="class" name="$result_id">contains the result_id used when fetching rows from a result-set.</element><element type="functions" source="locale_common" sourcetype="class" name="runway_tendency">Function used to parse the tendency in a runway-group.</element></chapter><chapter char="b"><element type="class" source="" sourcetype="class" name="base_object">Provides some basic capabilities like error-handling.</element><element type="functions" source="base_object" sourcetype="class" name="base_object">Sets up the properties by overriding the defaults with the actual input.</element></chapter><chapter char="e"><element type="functions" source="base_object" sourcetype="class" name="error">Prints an error-message.</element></chapter><chapter char="P"><element type="package" source="" sourcetype="" name="PHP Weather"/></chapter></index></phpdoc> \ No newline at end of file +<?xml version="1.0"?><phpdoc><index><chapter char="p"><element type="class" source="" +sourcetype="class" name="phpweather">A container-class for the localized +object.</element><element type="functions" source="phpweather" sourcetype="class" +name="phpweather">This constructor sets the language when the object is +created.</element><element type="functions" source="phpweather" sourcetype="class" +name="print_pretty">Calls the print_pretty() function of the +output-object.</element><element type="functions" source="locale_common" +sourcetype="class" name="print_pretty">The pretty-print function.</element><element +type="functions" source="phpweather" sourcetype="class" name="print_table">Calls the +print_table() function of the output-object.</element><element type="functions" +source="locale_common" sourcetype="class" name="print_table">Makes a short +weather-report in a table.</element><element type="functions" source="locale_common" +sourcetype="class" name="pref_units">Used to format strings with regard to the +preferred units.</element><element type="functions" source="locale_common" +sourcetype="class" name="parse_precip">Used to parse precipitation.</element><element +type="functions" source="locale_common" sourcetype="class" +name="parse_cloud_group">Function used to parse a cloud-group.</element><element +type="functions" source="locale_common" sourcetype="class" +name="parse_weather_group">Function used to parse a weather-group.</element><element +type="functions" source="locale_common" sourcetype="class" +name="parse_runway_group">Function used to parse a runway-group.</element><element +type="functions" source="locale_common" sourcetype="class" +name="parse_visibility_group">Function used to parse a +visibility-group.</element><element type="functions" source="base_object" +sourcetype="class" name="print_properties">Prints properties.</element><element +type="variables" source="base_object" sourcetype="class" name="$properties">All the +objects properties are stored in this array.</element></chapter><chapter +char="s"><element type="functions" source="phpweather" sourcetype="class" +name="set_language">Sets the language.</element><element type="functions" +source="metar_parser" sourcetype="class" name="store_temp">Helper-function used to +store temperatures.</element><element type="functions" source="metar_parser" +sourcetype="class" name="store_speed">Helper-function used to store +speeds.</element><element type="functions" source="data_retrieval" sourcetype="class" +name="set_station">Sets the station.</element><element type="functions" +source="db_layer" sourcetype="class" name="set_db_type">Sets the database-type and +creates the database-object.</element><element type="functions" source="db_mysql" +sourcetype="class" name="select_db">Selects a database.</element><element +type="functions" source="db_none" sourcetype="class" name="select_db">Selects a +database.</element><element type="functions" source="db_pgsql" sourcetype="class" +name="select_db">Selects a database.</element><element type="functions" +source="locale_common" sourcetype="class" name="set_marks">Sets the marks (the +strings inserted before and after every number)</element><element type="functions" +source="locale_common" sourcetype="class" name="set_pref_units">Specifies which kind +of units to display.</element><element type="functions" source="locale_common" +sourcetype="class" name="set_exclude">Used to specify which elements one wants to +exclude from the pretty-print.</element><element type="variables" +source="locale_common" sourcetype="class" name="$strings">The strings used in the +translation is stored here.</element></chapter><chapter char="g"><element +type="functions" source="phpweather" sourcetype="class" name="get_language">Retuns +the langauge.</element><element type="functions" source="data_retrieval" +sourcetype="class" name="get_station">Returns the station.</element><element +type="functions" source="data_retrieval" sourcetype="class" +name="get_metar">Retrieves a raw METAR, either from the web or from a +database.</element><element type="functions" source="db_mysql" sourcetype="class" +name="get_metar">Gets a METAR form the database.</element><element type="functions" +source="db_none" sourcetype="class" name="get_metar">Gets a METAR form the +database.</element><element type="functions" source="db_pgsql" sourcetype="class" +name="get_metar">Gets a METAR form the database.</element><element type="functions" +source="data_retrieval" sourcetype="class" name="get_metar_from_db">Tries to get a +METAR from the database.</element><element type="functions" source="data_retrieval" +sourcetype="class" name="get_metar_from_web">Fetches a METAR for the +Internet.</element><element type="functions" source="db_layer" sourcetype="class" +name="get_db_type">Gets the database-type.</element><element type="functions" +source="db_mysql" sourcetype="class" name="get_type">Gets the type of the +database.</element><element type="functions" source="db_none" sourcetype="class" +name="get_type">Gets the type of the database.</element><element type="functions" +source="db_pgsql" sourcetype="class" name="get_type">Gets the type of the +database.</element><element type="functions" source="locale_common" +sourcetype="class" name="get_marks">Gets the marks</element><element type="functions" +source="locale_common" sourcetype="class" name="get_pref_units">Gets the preferred +units.</element><element type="functions" source="locale_common" sourcetype="class" +name="get_exclude">Gets the array of excluded elements of the +pretty-print.</element></chapter><chapter char="o"><element type="variables" +source="phpweather" sourcetype="class" name="$output">The localized +output-object</element></chapter><chapter char="m"><element type="class" source="" +sourcetype="class" name="metar_parser">This class understands how to parse a raw +METAR.</element><element type="functions" source="metar_parser" sourcetype="class" +name="metar_parser">This constructor does nothing besides passing the input down the +hierarchy.</element><element type="variables" source="data_retrieval" +sourcetype="class" name="$metar">The METAR is store here.</element></chapter><chapter +char="d"><element type="functions" source="metar_parser" sourcetype="class" +name="decode_metar">Decodes a raw METAR.</element><element type="variables" +source="metar_parser" sourcetype="class" name="$decoded_metar">The decoded METAR is +stored here.</element><element type="class" source="" sourcetype="class" +name="data_retrieval">This class contains all the logic needed to get and store +METARs.</element><element type="functions" source="data_retrieval" sourcetype="class" +name="data_retrieval">Constructor</element><element type="class" source="" +sourcetype="class" name="db_layer">This class is used to maintain the +database-object.</element><element type="functions" source="db_layer" +sourcetype="class" name="db_layer">Creates the database-object based on +$input[&apos;db_type&apos;].</element><element type="variables" +source="db_layer" sourcetype="class" name="$db">Variable containing the +database-object.</element><element type="class" source="" sourcetype="class" +name="db_mysql">This class is the &apos;mysql&apos; +database-type</element><element type="functions" source="db_mysql" sourcetype="class" +name="db_mysql">This constructor does nothing besides calling the parent +constructor.</element><element type="functions" source="db_mysql" sourcetype="class" +name="disconnect">Disconnects from the database.</element><element type="functions" +source="db_none" sourcetype="class" name="disconnect">Disconnects from the +database.</element><element type="functions" source="db_pgsql" sourcetype="class" +name="disconnect">Disconnects from the database.</element><element type="class" +source="" sourcetype="class" name="db_none">This class is the +&apos;none&apos; database-type</element><element type="functions" +source="db_none" sourcetype="class" name="db_none">This constructor does nothing +besides calling the parent constructor.</element><element type="class" source="" +sourcetype="class" name="db_pgsql">This class is the &apos;pgsql&apos; +database-type</element><element type="functio ns" source="db_pgsql" sourcetype="class" name="db_pgsql">This constructor does nothing besides calling the parent constructor.</element><element type="class" source="" sourcetype="class" name="db_common">Common class for all the database-types.</element><element type="functions" source="db_common" sourcetype="class" name="db_common">Initializes the database-object.</element><element type="variables" source="base_object" sourcetype="class" name="$defaults">Classes that extend this one, should put their defaults into this array.</element></chapter><chapter char="c"><element type="functions" source="db_mysql" sourcetype="class" name="connect">Establishes a connection to the database.</element><element type="functions" source="db_none" sourcetype="class" name="connect">Establishes a connection to the database.</element><element type="functions" source="db_pgsql" sourcetype="class" name="connect">Establishes a connection to the database.</element></chapter><chapter char="q"><element type="functions" source="db_mysql" sourcetype="class" name="query">Executes a SQL-query.</element><element type="functions" source="db_none" sourcetype="class" name="query">Executes a SQL-query.</element><element type="functions" source="db_pgsql" sourcetype="class" name="query">Executes a SQL-query.</element></chapter><chapter char="f"><element type="functions" source="db_mysql" sourcetype="class" name="fetch_row">Fetches a row as an array from the database.</element><element type="functions" source="db_none" sourcetype="class" name="fetch_row">Fetches a row as an array from the database.</element><element type="functions" source="db_pgsql" sourcetype="class" name="fetch_row">Fetches a row as an array from the database.</element><element type="functions" source="db_mysql" sourcetype="class" name="fetch_array">Fetches a row as an associative array from the database.</element><element type="functions" source="db_none" sourcetype="class" name="fetch_array">Fetches a row as an associative array from the database.</element><element type="functions" source="db_pgsql" sourcetype="class" name="fetch_array">Fetches a row as an associative array from the database.</element></chapter><chapter char="n"><element type="functions" source="db_mysql" sourcetype="class" name="num_rows">Returns the number of rows in the result-set.</element><element type="functions" source="db_none" sourcetype="class" name="num_rows">Returns the number of rows in the result-set.</element><element type="functions" source="db_pgsql" sourcetype="class" name="num_rows">Returns the number of rows in the result-set.</element><element type="functions" source="base_object" sourcetype="class" name="notice">Prints a notice.</element></chapter><chapter char="i"><element type="functions" source="db_mysql" sourcetype="class" name="insert_metar">Inserts a METAR into the database.</element><element type="functions" source="db_none" sourcetype="class" name="insert_metar">Inserts a METAR into the database.</element><element type="functions" source="db_pgsql" sourcetype="class" name="insert_metar">Inserts a METAR into the database.</element><element type="variables" source="db_common" sourcetype="class" name="$is_connected">Maintains the status of the database-connection.</element></chapter><chapter char="u"><element type="functions" source="db_mysql" sourcetype="class" name="update_metar">Updates an existing METAR in the database.</element><element type="functions" source="db_none" sourcetype="class" name="update_metar">Updates an existing METAR in the database.</element><element type="functions" source="db_pgsql" sourcetype="class" name="update_metar">Updates an existing METAR in the database.</element></chapter><chapter char="l"><element type="variables" source="db_common" sourcetype="class" name="$link_id">contains the link_id used when querying.</element><element type="class" source="" sourcetype="class" name="locale_en">Provides all the strings needed by locale_common to produce English output.</element><element type="functions" source="locale_en" sourcetype="class" name="locale_en">This constructor provides all the strings used.</element><element type="class" source="" sourcetype="class" name="locale_common">Provides all the function needed to generate (English) output.</element><element type="functions" source="locale_common" sourcetype="class" name="locale_common">Sets up the defaults.</element><element type="functions" source="locale_common" sourcetype="class" name="list_sentences">Builds sentences from smaller bits.</element></chapter><chapter char="r"><element type="variables" source="db_common" sourcetype="class" name="$result_id">contains the result_id used when fetching rows from a result-set.</element><element type="functions" source="locale_common" sourcetype="class" name="runway_tendency">Function used to parse the tendency in a runway-group.</element></chapter><chapter char="b"><element type="class" source="" sourcetype="class" name="base_object">Provides some basic capabilities like error-handling and handling of defaults.</element><element type="functions" source="base_object" sourcetype="class" name="base_object">Sets up the properties by overriding the defaults with the actual input.</element></chapter><chapter char="e"><element type="functions" source="base_object" sourcetype="class" name="error">Prints an error-message.</element></chapter><chapter char="P"><element type="package" source="" sourcetype="" name="PHP Weather"/></chapter></index></phpdoc> \ No newline at end of file Index: locale_common.html =================================================================== RCS file: /cvsroot/phpweather/phpweather/doc/locale_common.html,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 Index: locale_en.html =================================================================== RCS file: /cvsroot/phpweather/phpweather/doc/locale_en.html,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 Index: metar_parser.html =================================================================== RCS file: /cvsroot/phpweather/phpweather/doc/metar_parser.html,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 Index: phpdoc_elementlist.html =================================================================== RCS file: /cvsroot/phpweather/phpweather/doc/phpdoc_elementlist.html,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- phpdoc_elementlist.html 2001/03/24 16:40:42 1.2 +++ phpdoc_elementlist.html 2001/03/26 19:31:37 1.3 @@ -36,7 +36,7 @@ <td>base_object</td> <td width="100%" align="left" valign="top"> Class <a href="base_object.html">base_object</a>.<br> - Provides some basic capabilities like error-handling. + Provides some basic capabilities like error-handling and +handling of defaults. </td> </tr> @@ -134,7 +134,7 @@ <td>$db</td> <td width="100%" align="left" valign="top"> Variable in Class <a href="db_layer.html">db_layer</a><br> - Variable containing the database-object + Variable containing the database-object. </td> </tr> Index: phpweather.html =================================================================== RCS file: /cvsroot/phpweather/phpweather/doc/phpweather.html,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 _______________________________________________ PHPWeather-checkins mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/phpweather-checkins