original_string: function _generateId() {
          if ($this->getAttribute('id')) {
              return;
          }
  
          $id = $this->getName();
          $id = 'id_' . str_replace(array('qf_', '[', ']'), array('', '_', ''), $id);
          $id = clean_param($id, PARAM_ALPHANUMEXT);
          $this->updateAttributes(array('id' => $id));
      }
code: function _generateId() {
          if ($this->getAttribute('id')) {
              return;
          }
  
          $id = $this->getName();
          $id = 'id_' . str_replace(array('qf_', '[', ']'), array('', '_', ''), $id);
          $id = clean_param($id, PARAM_ALPHANUMEXT);
          $this->updateAttributes(array('id' => $id));
      }
code_tokens: function _generateId ( ) { if ( $ this -> getAttribute ( 'id' ) ) { return ; } $ id = $ this -> getName ( ) ; $ id = 'id_' . str_replace ( array ( 'qf_' , '[' , ']' ) , array ( '' , '_' , '' ) , $ id ) ; $ id = clean_param ( $ id , PARAM_ALPHANUMEXT ) ; $ this -> updateAttributes ( array ( 'id' => $ id ) ) ; }
docstring: Automatically generates and assigns an 'id' attribute for the element.
  
  Currently used to ensure that labels work on radio buttons and
  checkboxes. Per idea of Alexander Radivanovich.
  
  @access private
  @return void
docstring_tokens: Automatically generates and assigns an id attribute for the element .