Devices
extends Model
in package
Table of Contents
Properties
- $allowedFields : mixed
- $primaryKey : mixed
- $table : mixed
Methods
- getDevices() : mixed
Properties
$allowedFields
protected
mixed
$allowedFields
= ['id', 'group_id', 'name', 'mac', 'protocol', 'sleep', 'map_x', 'map_y']
$primaryKey
protected
mixed
$primaryKey
= 'id'
$table
protected
mixed
$table
= 'devices'
Methods
getDevices()
public
getDevices([mixed $id_or_mac = null ]) : mixed
Parameters
- $id_or_mac : mixed = null