code: function(layers, options) {
          OpenLayers.Control.prototype.initialize.apply(this, [options]);
          
          if(this.scope === null) {
              this.scope = this;
          }
          this.initLayer(layers);
          var callbacks = {
              click: this.clickFeature,
              clickout: this.clickoutFeature
          };
          if (this.hover) {
              callbacks.over = this.overFeature;
              callbacks.out = this.outFeature;
          }
               
          this.callbacks = OpenLayers.Util.extend(callbacks, this.callbacks);
          this.handlers = {
              feature: new OpenLayers.Handler.Feature(
                  this, this.layer, this.callbacks,
                  {geometryTypes: this.geometryTypes}
              )
          };
  
          if (this.box) {
              this.handlers.box = new OpenLayers.Handler.Box(
                  this, {done: this.selectBox},
                  {boxDivClassName: "olHandlerBoxSelectFeature"}
              ); 
          }
      }
docs: Constructor: OpenLayers.Control.SelectFeature
  Create a new control for selecting features.
  
  Parameters:
  layers - {<OpenLayers.Layer.Vector>}, or an array of vector layers. The
  layer(s) this control will select features from.
  options - {Object}