Packageindex Classtrees Modulegroups Elementlist Report XML Files

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.

AuthorsMartin Geisler <gimpster@gimpster.com>
Versiondb_common.html,v 1.6 2001/06/27 11:35:43 gimpster Exp

 
Direct known subclasses: db_dba, db_mysql, db_pgsql, db_null

Methods inherited from base_object

base_object, error, debug, print_properties

Public Method Summary

void

db_common(array $input)

Initializes the database-object.

Fields inherited from base_object

$properties, $version

Public Field Summary

boolean

$is_connected

Maintains the status of the database-connection.

Private Field Summary

integer

$link_id

contains the link_id used when querying.
integer

$result_id

contains 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.



Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta