summaryrefslogtreecommitdiffstats
path: root/Bachelor/Entwicklung webbasierter Anwendungen/Praktikum5_6/classes.inc
diff options
context:
space:
mode:
authorSven Eisenhauer <sven@sven-eisenhauer.net>2023-11-10 15:11:48 +0100
committerSven Eisenhauer <sven@sven-eisenhauer.net>2023-11-10 15:11:48 +0100
commit33613a85afc4b1481367fbe92a17ee59c240250b (patch)
tree670b842326116b376b505ec2263878912fca97e2 /Bachelor/Entwicklung webbasierter Anwendungen/Praktikum5_6/classes.inc
downloadStudium-33613a85afc4b1481367fbe92a17ee59c240250b.tar.gz
Studium-33613a85afc4b1481367fbe92a17ee59c240250b.tar.bz2
add new repoHEADmaster
Diffstat (limited to 'Bachelor/Entwicklung webbasierter Anwendungen/Praktikum5_6/classes.inc')
-rw-r--r--Bachelor/Entwicklung webbasierter Anwendungen/Praktikum5_6/classes.inc52
1 files changed, 52 insertions, 0 deletions
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 @@
+<?php
+class Pizza {
+ var $nummer;
+ var $name;
+ var $bild;
+ var $preis;
+
+ function Pizza($nummer,$name,$bild,$preis) {
+ $this->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