From 33613a85afc4b1481367fbe92a17ee59c240250b Mon Sep 17 00:00:00 2001 From: Sven Eisenhauer Date: Fri, 10 Nov 2023 15:11:48 +0100 Subject: add new repo --- .../Praktikum5_6/classes.inc | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 Bachelor/Entwicklung webbasierter Anwendungen/Praktikum5_6/classes.inc (limited to 'Bachelor/Entwicklung webbasierter Anwendungen/Praktikum5_6/classes.inc') diff --git a/Bachelor/Entwicklung webbasierter Anwendungen/Praktikum5_6/classes.inc b/Bachelor/Entwicklung webbasierter Anwendungen/Praktikum5_6/classes.inc new file mode 100644 index 0000000..34c7028 --- /dev/null +++ b/Bachelor/Entwicklung webbasierter Anwendungen/Praktikum5_6/classes.inc @@ -0,0 +1,52 @@ +nummer=$nummer; + $this->name=$name; + $this->bild=$bild; + $this->preis=$preis; + } + function getnummer() { + return $this->nummer; + } + function getname() { + return $this->name; + } + function getbild() { + return $this->bild; + } + function getpreis() { + return $this->preis; + } +} + +class Bestellung { + var $AuftNr; + var $SessionID; + var $adresse; + var $piz_name; + var $zustand; + + function Bestellung($AuftNr,$SessionID,$adresse,$piz_name,$zustand) { + $this->AuftNr = $AuftNr; + $this->SessionID = $SessionID; + $this->adresse = $adresse; + $this->piz_name = $piz_name; + $this->zustand = $zustand; + } + function getpiz_name() { + return $this->piz_name; + } + function getauftnr() { + return $this->AuftNr; + } + function getzustand() { + return $this->zustand; + } +} +?> \ No newline at end of file -- cgit v1.2.3