/** * Constructor. * Creates the object that handles the concrete database access. * */ private function __construct() { if (self::$mDatabase == NULL) { global $smwgDIIP; require_once $smwgDIIP . '/specials/WebServices/storage/SMW_WSStorageSQL.php'; self::$mDatabase = new WSStorageSQL(); } }