예제 #1
0
</td>
    </tr>
    <tr>
        <th>Default Currency</th>
        <?php 
    $defaultCurrency = \app\models\NumberFormatterInfo::getDefaultCurrency($locale);
    ?>
        <td><?php 
    echo $defaultCurrency ? $defaultCurrency . ' (' . \app\models\NumberFormatterInfo::getDefaultCurrencySymbol($locale) . ')' : '<em>none</em>';
    ?>
</td>
        <td><?php 
    echo $defaultCurrency ? ResourceInfo::getCurrencyName($defaultCurrency, Yii::$app->language) : '<em>none</em>';
    ?>
</td>
        <td><?php 
    echo $defaultCurrency ? ResourceInfo::getCurrencyName($defaultCurrency, $locale) : '<em>none</em>';
    ?>
</td>
    </tr>
</table>


<h2 id="icu-data-default">ICU Data <small><a href="#icu-data-default">#</a></small></h2>

<?php 
    echo $this->render('_icuData', ['icuData' => ResourceInfo::defaultData($locale)]);
    ?>

<?php 
}