protected function _parseConditionGroup($condition = null) {
		$result = 'AND';
		if (empty($condition)) {
			return $result;
		}

		$condition = (string)mb_convert_case($condition, MB_CASE_UPPER);
		if (in_array($condition, ['AND', 'OR', 'NOT'])) {
			$result = $condition;
		}

		return $result;
	}
protected function _parseConditionGroup($condition = null) {
		$result = 'AND';
		if (empty($condition)) {
			return $result;
		}

		$condition = (string)mb_convert_case($condition, MB_CASE_UPPER);
		if (in_array($condition, ['AND', 'OR', 'NOT'])) {
			$result = $condition;
		}

		return $result;
	}
protected function _parseConditionGroup ( $ condition = null ) { $ result = 'AND' ; if ( empty ( $ condition ) ) { return $ result ; } $ condition = ( string ) mb_convert_case ( $ condition , MB_CASE_UPPER ) ; if ( in_array ( $ condition , [ 'AND' , 'OR' , 'NOT' ] ) ) { $ result = $ condition ; } return $ result ; }
Return string of logical group condition.

@param string $condition Group condition, can be one of:
`AND`, `OR`, `NOT`.
@return string Group condition from input string,
or string `AND` on failure.
Return string of logical group condition .