get Function

Top  Previous  Next

Gets an object from the Scheduler database.

Syntax

Scheduler.Condition.get(ID)

Scheduler.Condition.get(name)

Scheduler.DaySchedule.get(ID)

Scheduler.DaySchedule.get(name)

Scheduler.Device.get(ID)

Scheduler.Device.get(name)

Scheduler.DeviceGroup.get(ID)

Scheduler.DeviceGroup.get(name)

Scheduler.Schedule.get(ID)

Scheduler.Schedule.get(name)

Scheduler.Setting.get(ID)

Scheduler.Setting.get(name)

Scheduler.TimeSchedule.get(ID)

Scheduler.TimeSchedule.get(name)

Arguments

IDThe integer ID of the object.
nameA string with the name of the object.

Return Value

An instance object if successful, otherwise undefined.

Remarks

If the argument to get is a string, it is assumed to be a name; otherwise, it is assumed to be an ID.

Examples

 

See Also