Devices:
• Übersicht Pop/Adressen/Koordinaten Verlinkungen Pop: • Fontsize in Übersicht auf 13px geändert für bessere Übersicht • Neue Features: o Poprackverwaltung v1 CRUD o Poprackmodulverwaltung V1 CRUD
This commit is contained in:
25
application/Poprackmodule/Poprackmodule.php
Normal file
25
application/Poprackmodule/Poprackmodule.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
class Poprackmodule extends mfBaseModel
|
||||
{
|
||||
private $poprack;
|
||||
|
||||
public function getProperty($name)
|
||||
{
|
||||
if ($this->$name == null) {
|
||||
|
||||
$classname = ucfirst($name);
|
||||
$idfield = $name . "_id";
|
||||
$this->$name = new $classname($this->$idfield);
|
||||
|
||||
if ($this->$name->id) {
|
||||
return $this->$name;
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
return $this->$name;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user