|
|
|
File: /www/gimpster.com/php/phpweather/db/db_common.php
PHP Weather - PHP Weather
db_common
base_object | +-- db_common
Common class for all the database-types.
|
private class db_common extends base_object
Common class for all the database-types.
It contains some properties most database-types need, like $is_connected, $link_id and $result_id.
| Authors | Martin Geisler <gimpster@gimpster.com> |
| Version | db_common.html,v 1.6 2001/06/27 11:35:43 gimpster Exp |
|
| |
|
Direct known subclasses: db_dba, db_mysql, db_pgsql, db_null
|
|
|
|
|
|
|
|
Public Field Summary |
| boolean |
$is_connectedMaintains the status of the database-connection. |
|
Private Field Summary |
| integer |
$link_idcontains the link_id used when querying. |
| integer |
$result_idcontains the result_id used when fetching rows from a result-set. |
|
Public Method Details |
db_common |
|
public void db_common( array $input )
|
| |
Initializes the database-object.
$is_connected, $link_id and $result_id is set to false, to indicate that we're not connected.
|
| Parameter |
|
| array |
$input |
|
|
initial properties of the object |
|
| Returns |
void |
| See Also |
$is_connected, $link_id, $result_id |
|
|
Public Field Details |
$is_connected |
|
public boolean $is_connected
>><<
Maintains the status of the database-connection.
|
|
|
Private Field Details |
$link_id |
|
private integer $link_id
>><<
contains the link_id used when querying.
|
|
$result_id |
|
private integer $result_id
>><<
contains the result_id used when fetching rows from a result-set.
|
|
|
|
|
|
| PHPDoc 1.0beta |