|
@@ 1470-1473 (lines=4) @@
|
| 1467 |
|
// minOccurs="0" maxOccurs="unbounded" /> |
| 1468 |
|
// </sequence> |
| 1469 |
|
// </complexType> |
| 1470 |
|
if ($this->currentComplexType && $this->complexTypes[$this->currentComplexType]['phpType'] == 'array') { |
| 1471 |
|
$this->xdebug('arrayType for unusual array is ' . $attrs['type']); |
| 1472 |
|
$this->complexTypes[$this->currentComplexType]['arrayType'] = $attrs['type']; |
| 1473 |
|
} |
| 1474 |
|
$this->currentElement = $attrs['name']; |
| 1475 |
|
$ename = $attrs['name']; |
| 1476 |
|
} elseif (isset($attrs['ref'])) { |
|
@@ 1544-1549 (lines=6) @@
|
| 1541 |
|
$this->xdebug('restriction ' . $attrs['base']); |
| 1542 |
|
if ($this->currentSimpleType) { |
| 1543 |
|
$this->simpleTypes[$this->currentSimpleType]['type'] = $attrs['base']; |
| 1544 |
|
} elseif ($this->currentComplexType) { |
| 1545 |
|
$this->complexTypes[$this->currentComplexType]['restrictionBase'] = $attrs['base']; |
| 1546 |
|
if (strstr($attrs['base'],':') == ':Array') { |
| 1547 |
|
$this->complexTypes[$this->currentComplexType]['phpType'] = 'array'; |
| 1548 |
|
} |
| 1549 |
|
} |
| 1550 |
|
break; |
| 1551 |
|
case 'schema': |
| 1552 |
|
$this->schemaInfo = $attrs; |