public function __construct() { $this->authenticator = new DIM_Authenticator(); $this->versioning = new DIM_Versioning(); $this->state = new DIM_StateManager("server"); $this->logger = new DIM_Logger(); parent::__construct(); }
public function __construct() { parent::__construct(); }
public function __construct() { $this->database = new Database_IO($this->getDatabaseSettings()); parent::__construct(); }
public function __construct() { $this->state = new DIM_StateManager("client"); $this->logger = new DIM_Logger(); parent::__construct(); }
public function __construct() { $this->databaseInfo = $this->getDatabaseSettings(); $this->logger = new DIM_Logger(); parent::__construct(); }
public static function testSettings($settings) { $config = new DIM_Base(); if ($config->getDatabaseSettings() != null) { switch ($settings["mode"]["mode"]) { case "client": return DIM_Client::testClientSettings($settings["client"]); break; case "server": // PASSED - no settings needed return true; break; case "disabled": // PASSED - no settings needed return true; break; default: // FAILED - something weird happened! return false; break; } } else { return false; } }