-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathklasy.php
More file actions
51 lines (45 loc) · 707 Bytes
/
klasy.php
File metadata and controls
51 lines (45 loc) · 707 Bytes
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
<?php
class User
{
function __construct($a, $b, $c, $d, $e, $f)
{
$this->id = $a;
$this->login = $b;
$this->haslo = $c;
$this->email = $d;
$this->nick = $e;
$this->typkonta = $f;
}
function Wys_nick()
{
echo $this->nick;
}
function Return_typ()
{
return $this->typkonta;
}
}
class Pytanie
{
function __construct($a, $b, $c, $d, $e, $f, $g, $h, $i, $j, $k)
{
$this->id = $a;
$this->tresc = $b;
$this->a = $d;
$this->b = $e;
$this->c = $f;
$this->d = $g;
$this->poprawna = $h;
$this->id_kategorii = $i;
$this->kategoria_nazwa = $i;
$this->zalacznik = $j;
}
}
class Kategoria
{
function __construct($a, $b)
{
$this->id = $a;
$this->nazwa = $b;
}
}