# mlsimport/7.0.4/enviroment/BridgeResoClass.php

MLSImport: IDX Plugin &amp; MLS Plugin for Real Estate Listings, version 7.0.4. 43 lines.

- Page: https://pluginprobe.com/plugins/mlsimport/7.0.4/code/enviroment/BridgeResoClass.php
- Raw: https://pluginprobe.com/plugins/mlsimport/7.0.4/raw/enviroment/BridgeResoClass.php
- Modified: 2026-07-25T14:20:50+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/mlsimport/7.0.4/code/enviroment/BridgeResoClass.php#L10-L20`.

```php
<?php 
/**
 * MLS provider adapter: Bridge (Bridge Data Output API, RESO standard).
 *
 * One of the per-provider adapters in enviroment/ that sit between an MLS data
 * source and the active theme importer. This class is a thin subtype of
 * ResoBase; it holds a reference to the theme importer so provider-specific
 * mapping can delegate to the theme adapter. Bridge currently adds no
 * behaviour of its own beyond holding that reference.
 */
if ( ! defined( 'ABSPATH' ) ) {
	// Block direct web access — only load when WordPress is bootstrapped.
	exit; // Exit if accessed directly
}

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of BridgeResoClass
 *
 * @author cretu
 */
class BridgeResoClass extends ResoBase {


		// Active theme adapter (e.g. ResidenceClass) this provider maps RESO fields through.
		public $theme_importer;

	/**
	 * Store the theme importer so RESO-to-theme mapping can delegate to it.
	 *
	 * @param object $theme_importer The active theme adapter instance.
	 */
	public function __construct( $theme_importer ) {
		// Keep the theme adapter reference for later field mapping.
		$this->theme_importer = $theme_importer;
	}
}

```
