original_string: public function isMet($intDynamicPosition = 0)
      {
          $blnResult = false;
  
          switch ($this->__comparisontype) {
              default:
              case ValidForm::VFORM_MATCH_ANY:
  				/* @var $objComparison Comparison */
  				foreach ($this->__comparisons as $objComparison) {
                      if ($objComparison->check($intDynamicPosition)) {
                          $blnResult = true; // One of the comparisons is true, that's good enough.
                          break;
                      }
                  }
  
                  break;
  
              case ValidForm::VFORM_MATCH_ALL:
                  $blnFailed = false;
  				/* @var $objComparison Comparison */
                  foreach ($this->__comparisons as $objComparison) {
                      if (!$objComparison->check($intDynamicPosition)) {
                          $blnFailed = true;
                          break;
                      }
                  }
  
                  $blnResult = !$blnFailed;
  
                  break;
          }
  
          return $blnResult;
      }
code: public function isMet($intDynamicPosition = 0)
      {
          $blnResult = false;
  
          switch ($this->__comparisontype) {
              default:
              case ValidForm::VFORM_MATCH_ANY:
  				/* @var $objComparison Comparison */
  				foreach ($this->__comparisons as $objComparison) {
                      if ($objComparison->check($intDynamicPosition)) {
                          $blnResult = true; // One of the comparisons is true, that's good enough.
                          break;
                      }
                  }
  
                  break;
  
              case ValidForm::VFORM_MATCH_ALL:
                  $blnFailed = false;
  				/* @var $objComparison Comparison */
                  foreach ($this->__comparisons as $objComparison) {
                      if (!$objComparison->check($intDynamicPosition)) {
                          $blnFailed = true;
                          break;
                      }
                  }
  
                  $blnResult = !$blnFailed;
  
                  break;
          }
  
          return $blnResult;
      }
code_tokens: public function isMet ( $ intDynamicPosition = 0 ) { $ blnResult = false ; switch ( $ this -> __comparisontype ) { default : case ValidForm :: VFORM_MATCH_ANY : /* @var $objComparison Comparison */ foreach ( $ this -> __comparisons as $ objComparison ) { if ( $ objComparison -> check ( $ intDynamicPosition ) ) { $ blnResult = true ; // One of the comparisons is true, that's good enough. break ; } } break ; case ValidForm :: VFORM_MATCH_ALL : $ blnFailed = false ; /* @var $objComparison Comparison */ foreach ( $ this -> __comparisons as $ objComparison ) { if ( ! $ objComparison -> check ( $ intDynamicPosition ) ) { $ blnFailed = true ; break ; } } $ blnResult = ! $ blnFailed ; break ; } return $ blnResult ; }
docstring: Verify if the condition is met
  
  @param int $intDynamicPosition Dynamic position of the field to verify
  @return bool True if it is met, false if not
  @throws \Exception
docstring_tokens: Verify if the condition is met