|
@@ 1569-1574 (lines=6) @@
|
| 1566 |
|
// minOccurs="0" maxOccurs="unbounded" /> |
| 1567 |
|
// </sequence> |
| 1568 |
|
// </complexType> |
| 1569 |
|
if ($this->currentComplexType |
| 1570 |
|
&& $this->complexTypes[$this->currentComplexType]['phpType'] === 'array' |
| 1571 |
|
) { |
| 1572 |
|
$this->xdebug('arrayType for unusual array is ' . $attrs['type']); |
| 1573 |
|
$this->complexTypes[$this->currentComplexType]['arrayType'] = $attrs['type']; |
| 1574 |
|
} |
| 1575 |
|
$this->currentElement = $attrs['name']; |
| 1576 |
|
$ename = $attrs['name']; |
| 1577 |
|
} elseif (isset($attrs['ref'])) { |
|
@@ 1651-1656 (lines=6) @@
|
| 1648 |
|
$this->xdebug('restriction ' . $attrs['base']); |
| 1649 |
|
if ($this->currentSimpleType) { |
| 1650 |
|
$this->simpleTypes[$this->currentSimpleType]['type'] = $attrs['base']; |
| 1651 |
|
} elseif ($this->currentComplexType) { |
| 1652 |
|
$this->complexTypes[$this->currentComplexType]['restrictionBase'] = $attrs['base']; |
| 1653 |
|
if (strstr($attrs['base'], ':') === ':Array') { |
| 1654 |
|
$this->complexTypes[$this->currentComplexType]['phpType'] = 'array'; |
| 1655 |
|
} |
| 1656 |
|
} |
| 1657 |
|
break; |
| 1658 |
|
case 'schema': |
| 1659 |
|
$this->schemaInfo = $attrs; |