Returns an array of the components in the specified layer.
Parameters:
layer
Returns: an array of Components contained in that layer
Diagram: Layers