|
@@ 467-471 (lines=5) @@
|
| 464 |
|
} |
| 465 |
|
|
| 466 |
|
if (isset($calendar->eras)) { |
| 467 |
|
if (isset($calendar->eras->eraNames)) { |
| 468 |
|
foreach ($this->getChildsOrAlias($calendar->eras->eraNames) as $era) { |
| 469 |
|
$data['calendars'][$calendarName]['eras']['wide'][$era->getAttribute('type')] = $this->unescape($era->getValue()); |
| 470 |
|
} |
| 471 |
|
} |
| 472 |
|
if (isset($calendar->eras->eraAbbr)) { |
| 473 |
|
foreach ($this->getChildsOrAlias($calendar->eras->eraAbbr) as $era) { |
| 474 |
|
$data['calendars'][$calendarName]['eras']['abbreviated'][$era->getAttribute('type')] = $this->unescape($era->getValue()); |
|
@@ 472-476 (lines=5) @@
|
| 469 |
|
$data['calendars'][$calendarName]['eras']['wide'][$era->getAttribute('type')] = $this->unescape($era->getValue()); |
| 470 |
|
} |
| 471 |
|
} |
| 472 |
|
if (isset($calendar->eras->eraAbbr)) { |
| 473 |
|
foreach ($this->getChildsOrAlias($calendar->eras->eraAbbr) as $era) { |
| 474 |
|
$data['calendars'][$calendarName]['eras']['abbreviated'][$era->getAttribute('type')] = $this->unescape($era->getValue()); |
| 475 |
|
} |
| 476 |
|
} |
| 477 |
|
if (isset($calendar->eras->eraNarrow)) { |
| 478 |
|
foreach ($this->getChildsOrAlias($calendar->eras->eraNarrow) as $era) { |
| 479 |
|
$data['calendars'][$calendarName]['eras']['narrow'][$era->getAttribute('type')] = $this->unescape($era->getValue()); |
|
@@ 477-481 (lines=5) @@
|
| 474 |
|
$data['calendars'][$calendarName]['eras']['abbreviated'][$era->getAttribute('type')] = $this->unescape($era->getValue()); |
| 475 |
|
} |
| 476 |
|
} |
| 477 |
|
if (isset($calendar->eras->eraNarrow)) { |
| 478 |
|
foreach ($this->getChildsOrAlias($calendar->eras->eraNarrow) as $era) { |
| 479 |
|
$data['calendars'][$calendarName]['eras']['narrow'][$era->getAttribute('type')] = $this->unescape($era->getValue()); |
| 480 |
|
} |
| 481 |
|
} |
| 482 |
|
} |
| 483 |
|
|
| 484 |
|
if (isset($calendar->dateFormats)) { |