original_string: function removeOption($value)
      {
          $key=array_search($value, $this->_values);
          if ($key!==FALSE and $key!==null) {
              unset($this->_values[$key]);
          }
          foreach ($this->_options as $key=>$option){
              if ($option['attr']['value']==$value){
                  unset($this->_options[$key]);
                  // we must reindex the options because the ugly code in quickforms' select.php expects that keys are 0,1,2,3... !?!?
                  $this->_options = array_merge($this->_options);
                  return;
              }
          }
      }
code: function removeOption($value)
      {
          $key=array_search($value, $this->_values);
          if ($key!==FALSE and $key!==null) {
              unset($this->_values[$key]);
          }
          foreach ($this->_options as $key=>$option){
              if ($option['attr']['value']==$value){
                  unset($this->_options[$key]);
                  // we must reindex the options because the ugly code in quickforms' select.php expects that keys are 0,1,2,3... !?!?
                  $this->_options = array_merge($this->_options);
                  return;
              }
          }
      }
code_tokens: function removeOption ( $ value ) { $ key = array_search ( $ value , $ this -> _values ) ; if ( $ key !== FALSE and $ key !== null ) { unset ( $ this -> _values [ $ key ] ) ; } foreach ( $ this -> _options as $ key => $ option ) { if ( $ option [ 'attr' ] [ 'value' ] == $ value ) { unset ( $ this -> _options [ $ key ] ) ; // we must reindex the options because the ugly code in quickforms' select.php expects that keys are 0,1,2,3... !?!? $ this -> _options = array_merge ( $ this -> _options ) ; return ; } } }
docstring: Removes an OPTION from the SELECT
  
  @param string $value Value for the OPTION to remove
  @return void
docstring_tokens: Removes an OPTION from the SELECT