/**
  * @see xfCriterion
  */
 public function optimize()
 {
     if ($this->boost == 1) {
         return $this->getCriterion()->optimize();
     }
     return parent::optimize();
 }
 /**
  * @see xfCriterion
  */
 public function toString()
 {
     return 'PROHIBITED {' . parent::toString() . '}';
 }
 /**
  * @see xfCriterion
  */
 public function translate(xfCriterionTranslator $translator)
 {
     $translator->setNextField($this->field);
     parent::translate($translator);
 }
 /**
  * @see xfCriterion
  */
 public function translate(xfCriterionTranslator $translator)
 {
     $translator->setNextRequired();
     parent::translate($translator);
 }