Kommentare BenutzerController
This commit is contained in:
		@@ -16,6 +16,7 @@ class BenutzerController{
 | 
				
			|||||||
        $this->db = new BenutzerModel();
 | 
					        $this->db = new BenutzerModel();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    // Updated einen Benutzer
 | 
				
			||||||
    public function updateBenutzer($elternId, $data){
 | 
					    public function updateBenutzer($elternId, $data){
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        $result = $this->db->updateBenutzer($benutzerId, $data);
 | 
					        $result = $this->db->updateBenutzer($benutzerId, $data);
 | 
				
			||||||
@@ -24,6 +25,7 @@ class BenutzerController{
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    // Fügt einen Benutzer in die Datenbank hinzu
 | 
				
			||||||
    public function insertBenutzer($data){
 | 
					    public function insertBenutzer($data){
 | 
				
			||||||
        $result = $this->db->insertBenutzer($data)
 | 
					        $result = $this->db->insertBenutzer($data)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user