public function conditions($conditions, $context) {
		if (!$conditions) {
			return [];
		}
		if ($code = $this->_isMongoCode($conditions)) {
			return $code;
		}
		$schema = null;
		$model = null;

		if ($context) {
			$schema = $context->schema();
			$model = $context->model();
		}
		return $this->_conditions($conditions, $model, $schema, $context);
	}
public function conditions($conditions, $context) {
		if (!$conditions) {
			return [];
		}
		if ($code = $this->_isMongoCode($conditions)) {
			return $code;
		}
		$schema = null;
		$model = null;

		if ($context) {
			$schema = $context->schema();
			$model = $context->model();
		}
		return $this->_conditions($conditions, $model, $schema, $context);
	}
public function conditions ( $ conditions , $ context ) { if ( ! $ conditions ) { return [ ] ; } if ( $ code = $ this -> _isMongoCode ( $ conditions ) ) { return $ code ; } $ schema = null ; $ model = null ; if ( $ context ) { $ schema = $ context -> schema ( ) ; $ model = $ context -> model ( ) ; } return $ this -> _conditions ( $ conditions , $ model , $ schema , $ context ) ; }
Maps incoming conditions with their corresponding MongoDB-native operators.

@param array $conditions Array of conditions
@param object $context Context with which this method was called; currently
inspects the return value of `$context->type()`.
@return array Transformed conditions
Maps incoming conditions with their corresponding MongoDB - native operators .