Form util classes + write Kurs Methode
This commit is contained in:
@@ -10,7 +10,7 @@ class AdminController
|
||||
private $db;
|
||||
private $validData = array();
|
||||
private $errors = array();
|
||||
private $labels = array("name" => "Name*", "preis" => "Preis*", "dauer" => "Dauer*", "rabatt" => "Rabatt", "kategorie" => "Kategorie", "beschreibung" => "Beschreibung");
|
||||
private $labels = array("name" => "Name*", "preis" => "€ Preis*", "dauer" => "Dauer* (Stunden)", "rabatt" => "Rabatt", "kategorie" => "Kategorie", "beschreibung" => "Beschreibung");
|
||||
|
||||
|
||||
public function __construct($view)
|
||||
@@ -30,7 +30,7 @@ class AdminController
|
||||
|
||||
public function showConfirmation()
|
||||
{
|
||||
|
||||
echo "<p>Erfolgreich erstellt!</p>";
|
||||
}
|
||||
|
||||
public function validateForm(){
|
||||
|
Reference in New Issue
Block a user