add domain_uuid and user_uuid methods to return loaded IDs
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user