| 1 |
<?php |
| 2 |
/** |
| 3 |
* TresleResoClass — RESO provider adapter for the Trestle (CoreLogic) MLS data source. |
| 4 |
* |
| 5 |
* Extends ResoBase. Holds a reference to the active theme importer so provider-specific |
| 6 |
* data handling can delegate to the current theme adapter. Currently a thin stub. |
| 7 |
* (The class docblock below carries a copy-pasted "BridgeResoClass" heading.) |
| 8 |
* |
| 9 |
* @package MLSImport |
| 10 |
*/ |
| 11 |
// Abort if the file is accessed directly outside of WordPress. |
| 12 |
if ( ! defined( 'ABSPATH' ) ) { |
| 13 |
exit; // Exit if accessed directly |
| 14 |
} |
| 15 |
|
| 16 |
|
| 17 |
/* |
| 18 |
/** |
| 19 |
* BridgeResoClass File Description |
| 20 |
* |
| 21 |
* This file contains the TresleResoClass which extends from ResoBase. |
| 22 |
* It is used for [briefly describe the purpose of the class]. |
| 23 |
*/ |
| 24 |
|
| 25 |
class TresleResoClass extends ResoBase { |
| 26 |
|
| 27 |
// The theme importer instance this provider delegates to. |
| 28 |
public $theme_importer; |
| 29 |
|
| 30 |
|
| 31 |
/** |
| 32 |
* Constructor for TresleResoClass. |
| 33 |
* |
| 34 |
* @param [Type] $theme_importer Description of the theme_importer parameter. |
| 35 |
*/ |
| 36 |
public function __construct( $theme_importer ) { |
| 37 |
// Keep the theme importer for provider-specific handling. |
| 38 |
$this->theme_importer = $theme_importer; |
| 39 |
} |
| 40 |
} |
| 41 |
|