NextDom\Rest\RoomRest
Class RoomRest
Synopsis
class RoomRest
{
- // methods
- public static void getDefaultTree()
- public static array getTree()
- private static array prepareResult()
- public static array get()
- public static array getRoots()
- public static array getRoomsSummary()
- public static bool|string getRoomSummary()
Methods
private
- prepareResult() — Prepare result for response\n Associative array with following keys : - id - name - icon - father (if exists) - id - name - icon - children (if exists)
public
- get() — Get room data
- getDefaultTree() — Get tree of rooms from room defined by the user or root room
- getRoomSummary() — Get HTML room summary
- getRoomsSummary() — Get HTML summary from list of rooms passed in argument separated by ;
- getRoots() — Get roots rooms
- getTree() — Get tree of rooms from specific room