You are here

public static function Braintree_Xml::buildXmlFromArray in Commerce Braintree 7

Parameters

array $array:

Return value

string

9 calls to Braintree_Xml::buildXmlFromArray()
Braintree_Http::_buildXml in braintree_php/lib/Braintree/Http.php
Braintree_Xml_GeneratorTest::testCreatesArrays in braintree_php/tests/unit/Xml_GeneratorTest.php
Braintree_Xml_GeneratorTest::testCreatesArraysWithBooleans in braintree_php/tests/unit/Xml_GeneratorTest.php
Braintree_Xml_GeneratorTest::testEscapingSpecialChars in braintree_php/tests/unit/Xml_GeneratorTest.php
Braintree_Xml_GeneratorTest::testHandlesEmptyArrays in braintree_php/tests/unit/Xml_GeneratorTest.php

... See full list

File

braintree_php/lib/Braintree/Xml.php, line 39

Class

Braintree_Xml
superclass for Braintree XML parsing and generation

Code

public static function buildXmlFromArray($array) {
  return Braintree_Xml_Generator::arrayToXml($array);
}