From 1292c3a871c9f9108ba0cdb8d420a51de61e62df Mon Sep 17 00:00:00 2001 From: beaubbe Date: Fri, 21 Feb 2020 15:32:44 -0500 Subject: [PATCH] Add param_pool param to exposeData function --- data-sources/datasource.remote.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/data-sources/datasource.remote.php b/data-sources/datasource.remote.php index 6261356..3b79319 100644 --- a/data-sources/datasource.remote.php +++ b/data-sources/datasource.remote.php @@ -66,8 +66,10 @@ public static function prepareGateway(&$gateway) * @since Remote Datasource 2.0 * @param string $data * the parsed xml string data returned by the Gateway by reference + * @param array $param_pool + * the pool of parameters */ - public function exposeData(&$data) + public function exposeData(&$data, array &$param_pool = null) { } @@ -933,7 +935,7 @@ public function execute(array &$param_pool = null) } // Visit the data - $this->exposeData($data); + $this->exposeData($data, $param_pool); // If `$writeToCache` is set to false, invalidate the old cache if it existed. if (is_array($cachedData) && !empty($cachedData) && $writeToCache === false) {