original_string: public function getDynamicCount()
      {
          $intReturn = 0;
  
          if ($this->__dynamic) {
              $objCounters = $this->getCountersRecursive($this->getFields());
  
              foreach ($objCounters as $objCounter) {
                  $intCounterValue = $objCounter->getValidator()->getValue();
                  if ($intCounterValue > $intReturn) {
                      $intReturn = $intCounterValue;
                  }
              }
  
              if ($intReturn > 0) {
                  // Equalize all counter values inside this area
                  foreach ($objCounters as $objCounter) {
                      $objCounter->setDefault($intReturn);
                  }
              }
          }
  
          return $intReturn;
      }
code: public function getDynamicCount()
      {
          $intReturn = 0;
  
          if ($this->__dynamic) {
              $objCounters = $this->getCountersRecursive($this->getFields());
  
              foreach ($objCounters as $objCounter) {
                  $intCounterValue = $objCounter->getValidator()->getValue();
                  if ($intCounterValue > $intReturn) {
                      $intReturn = $intCounterValue;
                  }
              }
  
              if ($intReturn > 0) {
                  // Equalize all counter values inside this area
                  foreach ($objCounters as $objCounter) {
                      $objCounter->setDefault($intReturn);
                  }
              }
          }
  
          return $intReturn;
      }
code_tokens: public function getDynamicCount ( ) { $ intReturn = 0 ; if ( $ this -> __dynamic ) { $ objCounters = $ this -> getCountersRecursive ( $ this -> getFields ( ) ) ; foreach ( $ objCounters as $ objCounter ) { $ intCounterValue = $ objCounter -> getValidator ( ) -> getValue ( ) ; if ( $ intCounterValue > $ intReturn ) { $ intReturn = $ intCounterValue ; } } if ( $ intReturn > 0 ) { // Equalize all counter values inside this area foreach ( $ objCounters as $ objCounter ) { $ objCounter -> setDefault ( $ intReturn ) ; } } } return $ intReturn ; }
docstring: Get the dynamic counter value if this is an dynamic area.
  @return integer Defaults to 0 if not an dynamic area. If dynamic, this returns the number of times the user
  duplicated this area.
docstring_tokens: Get the dynamic counter value if this is an dynamic area .