CommonSense PHP API Library
Data Class Reference

List of all members.

Public Member Functions

 Data (stdClass $data, Api $api)
 getID ()
 getSensorId ()
 getValue ()
 getDate ()
 getWeek ()
 getMonth ()
 getYear ()
 delete ()
 getFileLocation ()
 deleteFile ()

Detailed Description

sense dashboard - Data.php

This file is part of sense dashboard.

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

public

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

Member Function Documentation

Data::Data ( stdClass $  data,
Api api 
)

This method deletes a data point

public

Returns:
mixed

This method deletes the file that is uploaded and stored under the name given in this sensor data value.

public

Returns:
mixed

The response header will contain a location header with the location of the file.

public

Returns:
json object

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