admGetSpaces

Description

Takes a category name and returns an array of spaces (CSpace structs) in that category.

Return Type

CSpace []

Returns an array of CSpace structures containing the space properties.

Example

CSpace [] spaces = admGetSpaces("Products"); for(CSpace space in spaces) { print(space.name); }

Prints name of each space in the Products category in the logs.

See also

Peacock