k
This commit is contained in:
18
dev_mvc/controller/data/Thread.php
Normal file
18
dev_mvc/controller/data/Thread.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
class Thread{
|
||||
static $threadArray = [];
|
||||
public $id;
|
||||
public $titel;
|
||||
public $text;
|
||||
public $user;
|
||||
public $board;
|
||||
public function Thread($id, $titel, $text, $user){
|
||||
$this->id = $id;
|
||||
$this->titel = $titel;
|
||||
$this->text = $text;
|
||||
$this->user = $user;
|
||||
array_push(Thread::$threadArray, $this);
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user