* [MOD] Improved plugins handling by moving items' data to new database table.

* [MOD] Added plugins upgrade process

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2019-01-22 01:18:03 +01:00
parent 5dcc450326
commit 0fbaccf8a1
27 changed files with 1829 additions and 108 deletions

View File

@@ -31,5 +31,21 @@ namespace SP\DataModel;
*/
abstract class DataModelBase
{
/**
* is utilized for reading data from inaccessible members.
*
* @param $name string
*
* @return mixed
* @link https://php.net/manual/en/language.oop5.overloading.php#language.oop5.overloading.members
*/
public function __get($name)
{
if (property_exists($this, $name)) {
return $this->{$name};
}
return null;
}
}