CommonSense PHP API Library
Service Class Reference

List of all members.

Public Member Functions

 Service (stdClass $data, Api $api)
 getID ()
 getName ()
 getData_fields ()
 disconnectSensor ($sensorID)

Detailed Description

sense dashboard - Service.php

This file is part of sense dashboard.

Author:
Remi Appels <remi@sense-os.nl> The class Service handels all the service actions

public

Author:
Remi Appels <remi@sense-os.nl>

Member Function Documentation

Service::disconnectSensor ( sensorID)

This method disconnects the parent sensor from the service. The service will be stopped if it's not used by other sensors.

public

Parameters:
intsensorID
Returns:
mixed
Service::Service ( stdClass $  data,
Api api 
)

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables