Skip to content

Commit

Permalink
feat(BusinessMaps) add getDestinationFields function in Mapping file
Browse files Browse the repository at this point in the history
  • Loading branch information
xhildashazivari committed Sep 1, 2022
1 parent 389365d commit 59294b7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/cbMap/processmap/Mapping.php
Expand Up @@ -261,5 +261,10 @@ public static function postProcess($function, $value) {
}
return $value;
}

public function getDestinationFields() {
$mapping=$this->convertMap2Array();
return array_keys($mapping['fields']);
}
}
?>

0 comments on commit 59294b7

Please sign in to comment.