public function close() { if (is_object(self::$dbLink)) { self::$dbLink->close(); self::$dbLink = null; $this->link = null; } }