|
@@ 1578-1583 (lines=6) @@
|
| 1575 |
|
// minOccurs="0" maxOccurs="unbounded"> |
| 1576 |
|
// </sequence> |
| 1577 |
|
// </complexType> |
| 1578 |
|
if ($this->currentComplexType |
| 1579 |
|
&& $this->complexTypes[$this->currentComplexType]['phpType'] === 'array') { |
| 1580 |
|
$this->xdebug('arrayType for unusual array is ' . $attrs['type']); |
| 1581 |
|
$this->complexTypes[$this->currentComplexType]['arrayType'] = $attrs['type']; |
| 1582 |
|
} |
| 1583 |
|
$this->currentElement = $attrs['name']; |
| 1584 |
|
$ename = $attrs['name']; |
| 1585 |
|
} elseif (isset($attrs['ref'])) { |
| 1586 |
|
$this->xdebug('processing element as ref to ' . $attrs['ref']); |
|
@@ 1659-1664 (lines=6) @@
|
| 1656 |
|
$this->xdebug('restriction ' . $attrs['base']); |
| 1657 |
|
if ($this->currentSimpleType) { |
| 1658 |
|
$this->simpleTypes[$this->currentSimpleType]['type'] = $attrs['base']; |
| 1659 |
|
} elseif ($this->currentComplexType) { |
| 1660 |
|
$this->complexTypes[$this->currentComplexType]['restrictionBase'] = $attrs['base']; |
| 1661 |
|
if (strstr($attrs['base'], ':') === ':Array') { |
| 1662 |
|
$this->complexTypes[$this->currentComplexType]['phpType'] = 'array'; |
| 1663 |
|
} |
| 1664 |
|
} |
| 1665 |
|
break; |
| 1666 |
|
case 'schema': |
| 1667 |
|
$this->schemaInfo = $attrs; |