public function __construct() { parent::__construct(); $this->connector = new MySqlConnector(); if (empty(self::$dbstring)) { self::$dbstring = $this->connector->dbConnect(); } }