mirror of
https://github.com/fruithost/Panel.git
synced 2026-11-09 05:26:28 +09:00
basic skeleton of control panel
This commit is contained in:
1 parent
399e634a79
commit
5effea0c0c
92 files changed
+68296
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in new issue
Block a user