index 838377921b1509b6079aa7dd11a3734df44e0a9c..e0ca916ef09189fa7e64a337fc6435643e90a057 100644 (file)
}
$this->categories= array();
if (isset($this->xmlData['definition']['objectType'])) {
}
$this->categories= array();
if (isset($this->xmlData['definition']['objectType'])) {
+ if(isset($this->xmlData['definition']['objectType']['label'])) {
+ $this->xmlData['definition']['objectType']= array($this->xmlData['definition']['objectType']);
+ }
foreach ($this->xmlData['definition']['objectType'] as $index => $otype) {
$this->objectTypes[]= $this->xmlData['definition']['objectType'][$index];
if (isset($this->xmlData['definition']['objectType'][$index]['category'])){
foreach ($this->xmlData['definition']['objectType'] as $index => $otype) {
$this->objectTypes[]= $this->xmlData['definition']['objectType'][$index];
if (isset($this->xmlData['definition']['objectType'][$index]['category'])){