NextDom\Rest\SummaryRest
Class RoomRest
Synopsis
class SummaryRest
{
- // methods
- public static void getAll()
- public static void getDefaultRoomTree()
- public static array getRoomTree()
- private static array prepareResult()
- private static array addEqLogicsInformations()
Methods
private
- addEqLogicsInformations() — Add eqLogics data in rooms
- prepareResult() — Prepare result for response\n Associative array with following keys : - id - name - icon - eqLogics (if exists) - children (if exists)
public
- getAll() — Get all rooms and data
- getDefaultRoomTree() — Get tree of rooms from room defined by the user or root room
- getRoomTree() — Get tree of rooms from specific room