This commit is contained in:
Spitzer_Daniel
2023-04-06 18:12:22 +02:00
parent e44e1440d3
commit 657c7ea3c0
3 changed files with 6 additions and 0 deletions
+2
View File
@@ -1,4 +1,5 @@
<?php <?php
class Device extends mfBaseModel class Device extends mfBaseModel
{ {
private $editor; private $editor;
@@ -34,6 +35,7 @@ class Device extends mfBaseModel
return null; return null;
} }
} }
return $this->$name; return $this->$name;
} }
} }
+2
View File
@@ -1,6 +1,8 @@
<?php <?php
class DeviceController extends mfBaseController class DeviceController extends mfBaseController
{ {
protected function init() protected function init()
{ {
$this->needlogin = true; $this->needlogin = true;
+2
View File
@@ -1,4 +1,5 @@
<?php <?php
class DeviceModel class DeviceModel
{ {
public $name = null; public $name = null;
@@ -22,6 +23,7 @@ class DeviceModel
public static function find($data) public static function find($data)
{ {
} }
public static function create(array $data) public static function create(array $data)