*/
private $protocolInstance = null;
+ /**
+ * A database wrapper instance
+ */
+ private $databaseInstance = null;
+
/**
* The real class name
*/
- private $realClass = 'BaseFrameworkSystem';
+ private $realClass = 'BaseFrameworkSystem';
/**
* Thousands seperator
return $this->protocolInstance;
}
+ /**
+ * Setter for BaseDatabaseWrapper instance
+ *
+ * @param $wrapperInstance An instance of an BaseDatabaseWrapper
+ * @return void
+ */
+ public final function setWrapperInstance (BaseDatabaseWrapper $wrapperInstance) {
+ $this->wrapperInstance = $wrapperInstance;
+ }
+
+ /**
+ * Getter for BaseDatabaseWrapper instance
+ *
+ * @return $wrapperInstance An instance of an BaseDatabaseWrapper
+ */
+ public final function getWrapperInstance () {
+ return $this->wrapperInstance;
+ }
+
/**
* Setter for socket resource
*