From 685c49edbf713a5eeb0fcc0257086a9b75d455e7 Mon Sep 17 00:00:00 2001 From: Shaunak Sontakke Date: Fri, 29 Sep 2017 17:26:58 -0600 Subject: [PATCH] Update JAXB.class.php --- JAXB.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/JAXB.class.php b/JAXB.class.php index e6e66a8..80c1ab0 100644 --- a/JAXB.class.php +++ b/JAXB.class.php @@ -77,8 +77,8 @@ private function createClass($element){ } $attribute .= "\tprivate \$$attrName;\n"; - $accessors .= "\tfunction get$attrName(){\n\t\treturn \$this->$attrName;\n\t}\n"; - $mutators .= "\tfunction set$attrName(\$value){\n\t\treturn \$this->$attrName = \$value;\n\t}\n"; + $accessors .= "\tpublic function get$attrName(){\n\t\treturn \$this->$attrName;\n\t}\n"; + $mutators .= "\tpublic function set$attrName(\$value){\n\t\treturn \$this->$attrName = \$value;\n\t}\n"; $attributeList .= $attribute; } @@ -200,4 +200,4 @@ private function convertToXML($object,$dom){ } } -?> \ No newline at end of file +?>