blob: 34c7028d686831088aaf522cda4039fc13861f26 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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;
}
}
?>
|