protected function _createCompareExpression( $op, array $pair )
	{
		if( ( list( $name, $value ) = each( $pair ) ) === false ) {
			throw new MW_Common_Exception( sprintf( 'Invalid compare condition array "%1$s"', json_encode( $pair ) ) );
		}

		return $this->compare( $op, $name, $value );
	}
protected function _createCompareExpression( $op, array $pair )
	{
		if( ( list( $name, $value ) = each( $pair ) ) === false ) {
			throw new MW_Common_Exception( sprintf( 'Invalid compare condition array "%1$s"', json_encode( $pair ) ) );
		}

		return $this->compare( $op, $name, $value );
	}
protected function _createCompareExpression ( $ op , array $ pair ) { if ( ( list ( $ name , $ value ) = each ( $ pair ) ) === false ) { throw new MW_Common_Exception ( sprintf ( 'Invalid compare condition array "%1$s"' , json_encode ( $ pair ) ) ) ; } return $ this -> compare ( $ op , $ name , $ value ) ; }
Creates a "compare" expression.

@param string $op One of the "compare" operators
@param array $pair Associative list containing one name/value pair
@throws MW_Common_Exception If no name/value pair is available
Creates a compare expression .