This commit is contained in:
Spitzer_Daniel
2023-03-22 16:56:02 +01:00
parent e44e1440d3
commit 657c7ea3c0
3 changed files with 6 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
<?php
class Device extends mfBaseModel
{
private $editor;
@@ -34,6 +35,7 @@ class Device extends mfBaseModel
return null;
}
}
return $this->$name;
}
}

View File

@@ -1,6 +1,8 @@
<?php
class DeviceController extends mfBaseController
{
protected function init()
{
$this->needlogin = true;

View File

@@ -1,4 +1,5 @@
<?php
class DeviceModel
{
public $name = null;
@@ -22,6 +23,7 @@ class DeviceModel
public static function find($data)
{
}
public static function create(array $data)