protected function getCriterionForConditions($conditions, $operator = null)
    {
        $operator = (null === $operator) ? Criteria::LOGICAL_AND : $operator;
        $this->combine($conditions, $operator, 'propel_temp_name');
        $criterion = $this->namedCriterions['propel_temp_name'];
        unset($this->namedCriterions['propel_temp_name']);

        return $criterion;
    }
protected function getCriterionForConditions($conditions, $operator = null)
    {
        $operator = (null === $operator) ? Criteria::LOGICAL_AND : $operator;
        $this->combine($conditions, $operator, 'propel_temp_name');
        $criterion = $this->namedCriterions['propel_temp_name'];
        unset($this->namedCriterions['propel_temp_name']);

        return $criterion;
    }
protected function getCriterionForConditions ( $ conditions , $ operator = null ) { $ operator = ( null === $ operator ) ? Criteria :: LOGICAL_AND : $ operator ; $ this -> combine ( $ conditions , $ operator , 'propel_temp_name' ) ; $ criterion = $ this -> namedCriterions [ 'propel_temp_name' ] ; unset ( $ this -> namedCriterions [ 'propel_temp_name' ] ) ; return $ criterion ; }
Creates a Criterion object based on a list of existing condition names and a comparator

@param array  $conditions The list of condition names, e.g. array('cond1', 'cond2')
@param string $operator   An operator, Criteria::LOGICAL_AND (default) or Criteria::LOGICAL_OR

@return AbstractCriterion A Criterion or ModelCriterion object
Creates a Criterion object based on a list of existing condition names and a comparator