Пример #1
0
 public function __construct($database, $username, $password)
 {
     // Initializing the format (.RDB)
     Initialize::currentFormat('.rdb');
     // Initializing the database
     Initialize::currentDatabase($database);
     // Initializing the username
     Initialize::currentUsername($username);
     // Initializing the password
     Initialize::currentPassword($password);
     // Initializing the database file
     Initialize::currentDatabaseFileName();
     // Initializing only the path, not including database itself
     Initialize::onlyPath("databases/");
     // Initializing the full path to database
     Initialize::databasePath(Compose::onlyPath() . Compose::currentDatabaseFileName());
 }