|
@@ 574-576 (lines=3) @@
|
| 571 |
|
if (isset($zone->long->generic)) { |
| 572 |
|
$data['timeZoneNames']['zones'][$zoneName]['long']['generic'] = $this->unescape($zone->long->generic->getValue()); |
| 573 |
|
} |
| 574 |
|
if (isset($zone->long->standard)) { |
| 575 |
|
$data['timeZoneNames']['zones'][$zoneName]['long']['standard'] = $this->unescape($zone->long->standard->getValue()); |
| 576 |
|
} |
| 577 |
|
if (isset($zone->long->daylight)) { |
| 578 |
|
$data['timeZoneNames']['zones'][$zoneName]['long']['daylight'] = $this->unescape($zone->long->daylight->getValue()); |
| 579 |
|
} |
|
@@ 580-582 (lines=3) @@
|
| 577 |
|
if (isset($zone->long->daylight)) { |
| 578 |
|
$data['timeZoneNames']['zones'][$zoneName]['long']['daylight'] = $this->unescape($zone->long->daylight->getValue()); |
| 579 |
|
} |
| 580 |
|
if (isset($zone->short->generic)) { |
| 581 |
|
$data['timeZoneNames']['zones'][$zoneName]['short']['generic'] = $this->unescape($zone->short->generic->getValue()); |
| 582 |
|
} |
| 583 |
|
if (isset($zone->short->standard)) { |
| 584 |
|
$data['timeZoneNames']['zones'][$zoneName]['short']['standard'] = $this->unescape($zone->short->standard->getValue()); |
| 585 |
|
} |
|
@@ 583-585 (lines=3) @@
|
| 580 |
|
if (isset($zone->short->generic)) { |
| 581 |
|
$data['timeZoneNames']['zones'][$zoneName]['short']['generic'] = $this->unescape($zone->short->generic->getValue()); |
| 582 |
|
} |
| 583 |
|
if (isset($zone->short->standard)) { |
| 584 |
|
$data['timeZoneNames']['zones'][$zoneName]['short']['standard'] = $this->unescape($zone->short->standard->getValue()); |
| 585 |
|
} |
| 586 |
|
if (isset($zone->short->daylight)) { |
| 587 |
|
$data['timeZoneNames']['zones'][$zoneName]['short']['daylight'] = $this->unescape($zone->short->daylight->getValue()); |
| 588 |
|
} |
|
@@ 586-588 (lines=3) @@
|
| 583 |
|
if (isset($zone->short->standard)) { |
| 584 |
|
$data['timeZoneNames']['zones'][$zoneName]['short']['standard'] = $this->unescape($zone->short->standard->getValue()); |
| 585 |
|
} |
| 586 |
|
if (isset($zone->short->daylight)) { |
| 587 |
|
$data['timeZoneNames']['zones'][$zoneName]['short']['daylight'] = $this->unescape($zone->short->daylight->getValue()); |
| 588 |
|
} |
| 589 |
|
if (isset($zone->exemplarCity)) { |
| 590 |
|
$data['timeZoneNames']['zones'][$zoneName]['exemplarCity'] = $this->unescape($zone->exemplarCity->getValue()); |
| 591 |
|
} |
|
@@ 670-672 (lines=3) @@
|
| 667 |
|
} |
| 668 |
|
} |
| 669 |
|
} elseif ($itemLength->getName() == 'currencySpacing') { |
| 670 |
|
if (isset($itemLength->beforeCurrency->currencyMatch)) { |
| 671 |
|
$data['numbers']['currencySpacing']['beforeCurrency']['currencyMatch'] = $this->unescape($itemLength->beforeCurrency->currencyMatch->getValue()); |
| 672 |
|
} |
| 673 |
|
if (isset($itemLength->beforeCurrency->surroundingMatch)) { |
| 674 |
|
$data['numbers']['currencySpacing']['beforeCurrency']['surroundingMatch'] = $this->unescape($itemLength->beforeCurrency->surroundingMatch->getValue()); |
| 675 |
|
} |
|
@@ 673-675 (lines=3) @@
|
| 670 |
|
if (isset($itemLength->beforeCurrency->currencyMatch)) { |
| 671 |
|
$data['numbers']['currencySpacing']['beforeCurrency']['currencyMatch'] = $this->unescape($itemLength->beforeCurrency->currencyMatch->getValue()); |
| 672 |
|
} |
| 673 |
|
if (isset($itemLength->beforeCurrency->surroundingMatch)) { |
| 674 |
|
$data['numbers']['currencySpacing']['beforeCurrency']['surroundingMatch'] = $this->unescape($itemLength->beforeCurrency->surroundingMatch->getValue()); |
| 675 |
|
} |
| 676 |
|
if (isset($itemLength->beforeCurrency->insertBetween)) { |
| 677 |
|
$data['numbers']['currencySpacing']['beforeCurrency']['insertBetween'] = $this->unescape($itemLength->beforeCurrency->insertBetween->getValue()); |
| 678 |
|
} |
|
@@ 676-678 (lines=3) @@
|
| 673 |
|
if (isset($itemLength->beforeCurrency->surroundingMatch)) { |
| 674 |
|
$data['numbers']['currencySpacing']['beforeCurrency']['surroundingMatch'] = $this->unescape($itemLength->beforeCurrency->surroundingMatch->getValue()); |
| 675 |
|
} |
| 676 |
|
if (isset($itemLength->beforeCurrency->insertBetween)) { |
| 677 |
|
$data['numbers']['currencySpacing']['beforeCurrency']['insertBetween'] = $this->unescape($itemLength->beforeCurrency->insertBetween->getValue()); |
| 678 |
|
} |
| 679 |
|
if (isset($itemLength->afterCurrency->currencyMatch)) { |
| 680 |
|
$data['numbers']['currencySpacing']['afterCurrency']['currencyMatch'] = $this->unescape($itemLength->afterCurrency->currencyMatch->getValue()); |
| 681 |
|
} |
|
@@ 679-681 (lines=3) @@
|
| 676 |
|
if (isset($itemLength->beforeCurrency->insertBetween)) { |
| 677 |
|
$data['numbers']['currencySpacing']['beforeCurrency']['insertBetween'] = $this->unescape($itemLength->beforeCurrency->insertBetween->getValue()); |
| 678 |
|
} |
| 679 |
|
if (isset($itemLength->afterCurrency->currencyMatch)) { |
| 680 |
|
$data['numbers']['currencySpacing']['afterCurrency']['currencyMatch'] = $this->unescape($itemLength->afterCurrency->currencyMatch->getValue()); |
| 681 |
|
} |
| 682 |
|
if (isset($itemLength->afterCurrency->surroundingMatch)) { |
| 683 |
|
$data['numbers']['currencySpacing']['afterCurrency']['surroundingMatch'] = $this->unescape($itemLength->afterCurrency->surroundingMatch->getValue()); |
| 684 |
|
} |
|
@@ 682-684 (lines=3) @@
|
| 679 |
|
if (isset($itemLength->afterCurrency->currencyMatch)) { |
| 680 |
|
$data['numbers']['currencySpacing']['afterCurrency']['currencyMatch'] = $this->unescape($itemLength->afterCurrency->currencyMatch->getValue()); |
| 681 |
|
} |
| 682 |
|
if (isset($itemLength->afterCurrency->surroundingMatch)) { |
| 683 |
|
$data['numbers']['currencySpacing']['afterCurrency']['surroundingMatch'] = $this->unescape($itemLength->afterCurrency->surroundingMatch->getValue()); |
| 684 |
|
} |
| 685 |
|
if (isset($itemLength->afterCurrency->insertBetween)) { |
| 686 |
|
$data['numbers']['currencySpacing']['afterCurrency']['insertBetween'] = $this->unescape($itemLength->afterCurrency->insertBetween->getValue()); |
| 687 |
|
} |
|
@@ 685-687 (lines=3) @@
|
| 682 |
|
if (isset($itemLength->afterCurrency->surroundingMatch)) { |
| 683 |
|
$data['numbers']['currencySpacing']['afterCurrency']['surroundingMatch'] = $this->unescape($itemLength->afterCurrency->surroundingMatch->getValue()); |
| 684 |
|
} |
| 685 |
|
if (isset($itemLength->afterCurrency->insertBetween)) { |
| 686 |
|
$data['numbers']['currencySpacing']['afterCurrency']['insertBetween'] = $this->unescape($itemLength->afterCurrency->insertBetween->getValue()); |
| 687 |
|
} |
| 688 |
|
} else { |
| 689 |
|
throw new AgaviException('unknown childtag "' . $itemLength->getName() . '" in currencyFormats tag'); |
| 690 |
|
} |