本文整理汇总了PHP中Shop::getCountryChooser方法的典型用法代码示例。如果您正苦于以下问题:PHP Shop::getCountryChooser方法的具体用法?PHP Shop::getCountryChooser怎么用?PHP Shop::getCountryChooser使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Shop
的用法示例。
在下文中一共展示了Shop::getCountryChooser方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
<?php
echo $form->error($billingAddress, 'zipcode');
?>
<?php
echo $form->textField($billingAddress, 'city', array('size' => 32, 'maxlength' => 45));
?>
<?php
echo $form->error($billingAddress, 'city');
?>
</div>
<div class="row">
<?php
echo Shop::getCountryChooser($form, $billingAddress);
?>
</div>
</div>
</fieldset>
<br />
<hr />
<h3> <?php
echo Shop::t('Payment method');
?>
</h3>
<p> <?php
echo Shop::t('Choose your Payment method');
?>
</p>
示例2: array
?>
<?php
echo $form->error($address, 'zipcode');
?>
<?php
echo $form->textField($address, 'city', array('size' => 32, 'maxlength' => 45));
?>
<?php
echo $form->error($address, 'city');
?>
</div>
<div class="row">
<?php
echo Shop::getCountryChooser($form, $address);
?>
</div>
<?php
if (Shop::module()->useWithYum && $customer->isNewRecord) {
?>
<?php
echo CHtml::label(Shop::t('Register an account'), 'register');
?>
<?php
echo CHtml::checkbox('register', true);
?>
示例3: array
<div class="row">
<?php
echo $form->labelEx($deliveryAddress, 'city');
echo $form->textField($deliveryAddress, 'zipcode', array('size' => 10, 'maxlength' => 45));
echo $form->error($deliveryAddress, 'zipcode');
?>
<?php
echo $form->textField($deliveryAddress, 'city', array('size' => 32, 'maxlength' => 45));
echo $form->error($deliveryAddress, 'city');
?>
</div>
<div class="row">
<?php
echo Shop::getCountryChooser($form, $deliveryAddress);
?>
</div>
</div>
</fieldset>
<br />
<hr />
<h3> <?php
echo Shop::t('Shipping Method');
?>
</h3>
<p> <?php
echo Shop::t('Choose your Shipping method');
?>
</p>