public function request($request, $hash_config = NULL, $useSimpleXml) { $response = Communication::httpRequest($request, $hash_config); if ($useSimpleXml) { $respObj = simplexml_load_string($response); } else { $respObj = XmlParser::domParser($response); } return $respObj; }
public function request($request, $hash_config = NULL) { $response = Communication::httpRequest($request, $hash_config); $respOb = XmlParser::domParser($response); return $respOb; }