code: function(components){
          if(!(OpenLayers.Util.isArray(components))) {
              components = [components];
          }
          for(var i=0, len=components.length; i<len; i++) {
              this.addComponent(components[i]);
          }
      }
docs: APIMethod: addComponents
  Add components to this geometry.
  
  Parameters:
  components - {Array(<OpenLayers.Geometry>)} An array of geometries to add