add domain_uuid and user_uuid methods to return loaded IDs

This commit is contained in:
Tim Fry 2024-11-26 02:29:58 -04:00
parent 9f2e4c4ba3
commit b083d687f4
1 changed files with 16 additions and 0 deletions

View File

@ -94,6 +94,22 @@ class settings {
return $this->database;
}
/**
* Returns the domain_uuid that was used to load the settings
* @return string domain_uuid or an empty string
*/
public function domain_uuid(): string {
return $this->domain_uuid;
}
/**
* Returns the user_uuid that was used to load the settings
* @return string user_uuid or an empty string
*/
public function user_uuid(): string {
return $this->user_uuid;
}
/**
* Reloads the settings from the database
*/