list Function

Top  Previous  Next

Gets a list of all objects of a specific type in the Scheduler database.

Syntax

Scheduler.Condition.list()

Scheduler.Device.list([type])

Scheduler.DeviceGroup.list([type])

Scheduler.Schedule.list()

Scheduler.Setting.list()

Arguments

typeAn optional integer to match against the object's type property.

Return Value

An array of integers that are IDs of instance objects.

Remarks

If type is given (Device and DeviceGroup only), then only objects whose type property matches type will be included.

Examples

 

See Also