NextDom\Rest\CmdRest
Class CmdRest
Synopsis
class CmdRest
{
- // methods
- public static void getAll()
- public static array getByEqLogic()
- private static array prepareResults()
- private static array getSpecialData()
- public static array getVisibleByEqLogic()
- public static bool exec()
Methods
private
- getSpecialData() — Get specials data depends of type
- prepareResults() — Prepare result for response\n Associative array with following keys : - id - name - type - subType - icon - genericType - template - cmdValue - value - visible - unite
public
- exec() — Execute command Options must be stored in $_POST of the request.
- getAll()
- getByEqLogic() — Get all commands linked to an eqLogic
- getVisibleByEqLogic() — Get all commands visible linked to an eqLogic