Edit page working
This commit is contained in:
@@ -30,6 +30,10 @@ class MessageHandler {
|
||||
$this->addMessage('error', $message);
|
||||
}
|
||||
|
||||
public function notice($message){
|
||||
$this->addMessage('notice', $message);
|
||||
}
|
||||
|
||||
// Get all messages of a specific type
|
||||
public function getMessages($type) {
|
||||
return $this->messages[$type] ?? [];
|
||||
|
||||
Reference in New Issue
Block a user