original_string: public function orIf($master = null)
      {
          if ($this->logicalOperator == "and") {
              throw new Exception("ValidationLogicCriteria: Cannot declare a logical operator more than once. (Specified orIf() after calling andIf()). Use a nested ValidationLogicCriteriaSet to combine conjunctive and disjuctive logic.");
          }
          if ($master) {
              $this->master = $master;
          }
          $this->logicalOperator = "or";
          return $this;
      }
code: public function orIf($master = null)
      {
          if ($this->logicalOperator == "and") {
              throw new Exception("ValidationLogicCriteria: Cannot declare a logical operator more than once. (Specified orIf() after calling andIf()). Use a nested ValidationLogicCriteriaSet to combine conjunctive and disjuctive logic.");
          }
          if ($master) {
              $this->master = $master;
          }
          $this->logicalOperator = "or";
          return $this;
      }
code_tokens: public function orIf ( $ master = null ) { if ( $ this -> logicalOperator == "and" ) { throw new Exception ( "ValidationLogicCriteria: Cannot declare a logical operator more than once. (Specified orIf() after calling andIf()). Use a nested ValidationLogicCriteriaSet to combine conjunctive and disjuctive logic." ) ; } if ( $ master ) { $ this -> master = $ master ; } $ this -> logicalOperator = "or" ; return $ this ; }
docstring: Adds a new criterion, and makes this set use disjunctive logic
  
  @param string $master The master form field
  @return ValidationLogicCriteria
docstring_tokens: Adds a new criterion and makes this set use disjunctive logic