openmediavault  4.0 (Arrakis)
The open network attached storage solution
Public Member Functions | List of all members
OMV\DataModel\DataModel Class Reference
Inheritance diagram for OMV\DataModel\DataModel:
OMV\Config\DataModel OMV\Rpc\DataModel

Public Member Functions

 __construct ($model)
 
 getModel ()
 
 getId ()
 
 getAlias ()
 
 getTitle ()
 
 getDescription ()
 

Constructor & Destructor Documentation

◆ __construct()

OMV\DataModel\DataModel::__construct (   $model)
Parameters
jsonThe data model as JSON object.

Member Function Documentation

◆ getAlias()

OMV\DataModel\DataModel::getAlias ( )

Get the model identifier alias.

Returns
The model identifier alias.

◆ getDescription()

OMV\DataModel\DataModel::getDescription ( )

Get the model description.

Returns
The model description.

◆ getId()

OMV\DataModel\DataModel::getId ( )

Get the model identifier, e.g. 'conf.service.rsyncd.module'.

Returns
The model identifier.

◆ getModel()

OMV\DataModel\DataModel::getModel ( )

Get the data model as JSON object.

Returns
The data model as JSON object.

◆ getTitle()

OMV\DataModel\DataModel::getTitle ( )

Get the model title, e.g. 'SSH certificate'.

Returns
The model titel.

The documentation for this class was generated from the following file: