Add project creation

The projects page will also display a few random projects now
This commit is contained in:
2017-10-22 17:57:55 +02:00
parent 68bba332f1
commit 1da1785e46
23 changed files with 311 additions and 53 deletions

35
src/pvv/side/project.php Normal file
View File

@@ -0,0 +1,35 @@
<?php
namespace pvv\side;
class Project{
private $id, $name, $owner, $owneruname, $descr, $active;
public function __construct($id, $name, $descr, $owner, $owneruname, $active){
$this->id = $id;
$this->name = $name;
$this->descr = $descr;
$this->owner = $owner;
$this->owneruname = $owneruname;
$this->active = $active;
}
public function getID(){
return $this->id;
}
public function getName(){
return $this->name;
}
public function getDescription(){
return $this->descr;
}
public function getOwner(){
return $this->owner;
}
public function getOwnerUName(){
return $this->owneruname;
}
}