original_string: protected function getDivisor($row)
      {
          if (!is_null($this->totalValueUsedAsDivisor)) {
              return $this->totalValueUsedAsDivisor;
          } elseif ($this->getDivisorFromSummaryRow) {
              $summaryRow = $this->table->getRowFromId(DataTable::ID_SUMMARY_ROW);
              return $summaryRow->getColumn($this->columnNameUsedAsDivisor);
          } else {
              return $row->getColumn($this->columnNameUsedAsDivisor);
          }
      }
code: protected function getDivisor($row)
      {
          if (!is_null($this->totalValueUsedAsDivisor)) {
              return $this->totalValueUsedAsDivisor;
          } elseif ($this->getDivisorFromSummaryRow) {
              $summaryRow = $this->table->getRowFromId(DataTable::ID_SUMMARY_ROW);
              return $summaryRow->getColumn($this->columnNameUsedAsDivisor);
          } else {
              return $row->getColumn($this->columnNameUsedAsDivisor);
          }
      }
code_tokens: protected function getDivisor ( $ row ) { if ( ! is_null ( $ this -> totalValueUsedAsDivisor ) ) { return $ this -> totalValueUsedAsDivisor ; } elseif ( $ this -> getDivisorFromSummaryRow ) { $ summaryRow = $ this -> table -> getRowFromId ( DataTable :: ID_SUMMARY_ROW ) ; return $ summaryRow -> getColumn ( $ this -> columnNameUsedAsDivisor ) ; } else { return $ row -> getColumn ( $ this -> columnNameUsedAsDivisor ) ; } }
docstring: Returns the divisor to use when calculating the new column value. Can
  be overridden by descendent classes to customize behavior.
  
  @param Row $row The row being modified.
  @return int|float
docstring_tokens: Returns the divisor to use when calculating the new column value . Can be overridden by descendent classes to customize behavior .