@@ -53,6 +53,9 @@ discard block |
||
53 | 53 | // // return $this->classes[$classname]['properties'][$property]['type']; |
54 | 54 | // } |
55 | 55 | |
56 | + /** |
|
57 | + * @param string $class |
|
58 | + */ |
|
56 | 59 | public function getClass($class, $property){ |
57 | 60 | // make the first letter of property as lowercase as all properties are lowercase |
58 | 61 | $property = lcfirst($property); |
@@ -109,6 +112,9 @@ discard block |
||
109 | 112 | // return $this->classes[$classname]['properties'][$property]['type']; |
110 | 113 | } |
111 | 114 | |
115 | + /** |
|
116 | + * @param string $class |
|
117 | + */ |
|
112 | 118 | public function getXmlName($class){ |
113 | 119 | if(isset($this->classes[$class]['xml_root_name'])){ |
114 | 120 | return $this->classes[$class]['xml_root_name']; |