code: function(features) {
          if(!this.modifiers.multiple && !this.modifiers.toggle) {
              this.unselectAll();
          }
          if(!(OpenLayers.Util.isArray(features))) {
              features = [features];
          }
          
          var cont = this.events.triggerEvent("beforefeaturesselected", {
              features: features
          });
          if(cont !== false) {
              var selectedFeatures = [];
              var feature;
              for(var i=0, len=features.length; i<len; ++i) {
                  feature = features[i];
                  if(this.features[feature.fid || feature.id]) {
                      if(this.modifiers.toggle) {
                          this.unselect(this.features[feature.fid || feature.id]);
                      }
                  } else {
                      cont = this.events.triggerEvent("beforefeatureselected", {
                          feature: feature
                      });
                      if(cont !== false) {
                          this.features[feature.fid || feature.id] = feature;
                          selectedFeatures.push(feature);
                  
                          this.events.triggerEvent("featureselected",
                              {feature: feature});
                      }
                  }
              }
              this.events.triggerEvent("featuresselected", {
                  features: selectedFeatures
              });
          }
      }
docs: Method: select
  Add feature to the hash of selected features and trigger the
  featureselected and featuresselected events.
  
  Parameters:
  features - {<OpenLayers.Feature.Vector>} or an array of features