basic skeleton of control panel

This commit is contained in:
Adrian Preuß committed 2019-04-07 16:08:17 +02:00
1 parent 399e634a79
commit 5effea0c0c
92 files changed
+68296

No files matched your search

+35
View File
@@ -0,0 +1,35 @@
<?php
namespace fruithost;
class ModuleAuthor {
private $name = null;
private $email = null;
private $url = null;
public function __construct($object) {
if(!empty($object->name)) {
$this->name = $object->name;
}
if(!empty($object->email)) {
$this->email = $object->email;
}
if(!empty($object->url)) {
$this->url = $object->url;
}
}
public function getName() {
return $this->name;
}
public function getMail() {
return $this->email;
}
public function getWebsite() {
return $this->url;
}
}
?>