public function __construct($handle = null) { $this->connection = $handle; $this->query = $this->result = null; $this->parameters = array(); //$this->numberRecords = 0; // probably no longer needed $this->fields = array(); $this->fieldNames = array(); $this->primaryKeys = array(); $this->foreignKeys = array(); $this->reverseForeignKeys = null; $this->logFile = null; $this->schema = null; dbClass::$instance = $this; // construct new dbClass::$instances element using host and database name? }