original_string: public function rebuildIndex()
      {
          $this->rowsIndexByLabel = array();
          $this->rebuildIndexContinuously = true;
  
          foreach ($this->rows as $id => $row) {
              $label = $row->getColumn('label');
              if ($label !== false) {
                  $this->rowsIndexByLabel[$label] = $id;
              }
          }
  
          if ($this->summaryRow) {
              $label = $this->summaryRow->getColumn('label');
              if ($label !== false) {
                  $this->rowsIndexByLabel[$label] = DataTable::ID_SUMMARY_ROW;
              }
          }
  
          $this->indexNotUpToDate = false;
      }
code: public function rebuildIndex()
      {
          $this->rowsIndexByLabel = array();
          $this->rebuildIndexContinuously = true;
  
          foreach ($this->rows as $id => $row) {
              $label = $row->getColumn('label');
              if ($label !== false) {
                  $this->rowsIndexByLabel[$label] = $id;
              }
          }
  
          if ($this->summaryRow) {
              $label = $this->summaryRow->getColumn('label');
              if ($label !== false) {
                  $this->rowsIndexByLabel[$label] = DataTable::ID_SUMMARY_ROW;
              }
          }
  
          $this->indexNotUpToDate = false;
      }
code_tokens: public function rebuildIndex ( ) { $ this -> rowsIndexByLabel = array ( ) ; $ this -> rebuildIndexContinuously = true ; foreach ( $ this -> rows as $ id => $ row ) { $ label = $ row -> getColumn ( 'label' ) ; if ( $ label !== false ) { $ this -> rowsIndexByLabel [ $ label ] = $ id ; } } if ( $ this -> summaryRow ) { $ label = $ this -> summaryRow -> getColumn ( 'label' ) ; if ( $ label !== false ) { $ this -> rowsIndexByLabel [ $ label ] = DataTable :: ID_SUMMARY_ROW ; } } $ this -> indexNotUpToDate = false ; }
docstring: Rebuilds the index used to lookup a row by label
  @internal
docstring_tokens: Rebuilds the index used to lookup a row by label