本文整理汇总了PHP中Modules::get_order_statusses方法的典型用法代码示例。如果您正苦于以下问题:PHP Modules::get_order_statusses方法的具体用法?PHP Modules::get_order_statusses怎么用?PHP Modules::get_order_statusses使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Modules
的用法示例。
在下文中一共展示了Modules::get_order_statusses方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: administrator
//.........这里部分代码省略.........
<input type="text" name="description[<?php
echo $instance_data['id'];
?>
]" value="<?php
echo $instance_data['description'];
?>
" class="input-xxlarge" id="<?php
echo $instance;
?>
_description" />
<span class="help-block"><?php
echo Translate('Omschrijving gebruikt in de checkout, samen met de titel');
?>
</span>
</div>
</div>
<div class="control-group">
<label class="control-label" for="<?php
echo $instance;
?>
_order_status_id"><?php
echo Translate('Bestel status');
?>
</label>
<div class="controls">
<select name="order_status_id[<?php
echo $instance_data['id'];
?>
]" class="input-xlarge" id="<?php
echo $instance;
?>
_order_status_id">
<?php
$statusses = parent::get_order_statusses();
foreach ($statusses as $id => $name) {
echo '<option value="' . $id . '"' . ($instance_data['order_status_id'] == $id ? ' selected="selected"' : '') . '>' . $name . '</option>';
}
?>
</select>
<span class="help-block"><?php
echo Translate('De status na het plaatsen van de bestelling met deze methode.');
?>
</span>
</div>
</div>
<div class="control-group">
<label class="control-label"><?php
echo Translate('Zone');
?>
</label>
<div class="controls">
<label class="checkbox inline"><?php
echo Translate('All');
?>
<input type="checkbox" name="zone[<?php
echo $instance_data['id'];
?>
][*]" value="*" <?php
echo $instance_data['zone'] == '*' ? ' checked="checked"' : '';
?>
/>
</label>
<?php
$selected_zones = explode(';', $instance_data['zone']);
$zones = parent::get_all_zones();
foreach ($zones as $zone_id => $zone_name) {
示例2: administrator
//.........这里部分代码省略.........
<input type="text" name="description[<?php
echo $instance_data['id'];
?>
]" value="<?php
echo $instance_data['description'];
?>
" class="input-xxlarge" id="<?php
echo $instance;
?>
_description" />
<span class="help-block"><?php
echo Translate('Omschrijving gebruikt in de checkout, samen met de titel');
?>
</span>
</div>
</div>
<div class="control-group">
<label class="control-label" for="<?php
echo $instance;
?>
_order_status_id"><?php
echo Translate('Bestel status');
?>
</label>
<div class="controls">
<select name="order_status_id[<?php
echo $instance_data['id'];
?>
]" class="input-xlarge" id="<?php
echo $instance;
?>
_order_status_id">
<?php
$statusses = parent::get_order_statusses();
foreach ($statusses as $id => $name) {
echo '<option value="' . $id . '"' . ($instance_data['order_status_id'] == $id ? ' selected="selected"' : '') . '>' . $name . '</option>';
}
?>
</select>
<span class="help-block"><?php
echo Translate('De status na het plaatsen van de bestelling met deze methode.');
?>
</span>
</div>
</div>
<div class="control-group">
<label class="control-label"><?php
echo Translate('Verzendmethode');
?>
</label>
<div class="controls">
<label class="checkbox inline"><?php
echo Translate('All');
?>
<input type="checkbox" name="shipping_module[<?php
echo $instance_data['id'];
?>
][*]" <?php
echo $instance_data['shipping_module'] == '*' ? ' checked="checked"' : '';
?>
/>
</label>
<?php
$shipping_modules = explode(';', $instance_data['shipping_module']);
foreach ($Modules->modules['shipping'] as $module) {
global ${$module};
示例3: administrator
//.........这里部分代码省略.........
<input type="text" name="description[<?php
echo $instance_data['id'];
?>
]" value="<?php
echo $instance_data['description'];
?>
" class="input-xxlarge" id="<?php
echo $instance;
?>
_description" />
<span class="help-block"><?php
echo Translate('Omschrijving gebruikt in de checkout, samen met de titel');
?>
</span>
</div>
</div>
<div class="control-group">
<label class="control-label" for="<?php
echo $instance;
?>
_order_status_id"><?php
echo Translate('Bestel status');
?>
</label>
<div class="controls">
<select name="order_status_id[<?php
echo $instance_data['id'];
?>
]" class="input-xlarge" id="<?php
echo $instance;
?>
_order_status_id">
<?php
$statusses = parent::get_order_statusses();
foreach ($statusses as $id => $name) {
echo '<option value="' . $id . '"' . ($instance_data['order_status_id'] == $id ? ' selected="selected"' : '') . '>' . $name . '</option>';
}
?>
</select>
<span class="help-block"><?php
echo Translate('De status na het plaatsen van de bestelling met deze methode.');
?>
</span>
</div>
</div>
<div class="control-group">
<label class="control-label"><?php
echo Translate('Verzendmethode');
?>
</label>
<div class="controls">
<label class="checkbox inline"><?php
echo Translate('All');
?>
<input type="checkbox" name="shipping_module[<?php
echo $instance_data['id'];
?>
][*]" <?php
echo $instance_data['shipping_module'] == '*' ? ' checked="checked"' : '';
?>
/>
</label>
<?php
$shipping_modules = explode(';', $instance_data['shipping_module']);
foreach ($Modules->modules['shipping'] as $module) {
global ${$module};
示例4: administrator
//.........这里部分代码省略.........
echo $this->config['status'] == 'false' ? ' active' : '';
?>
"><?php
echo Translate('Niet actief');
?>
</button>
</div>
</div>
</div>
<div class="control-group">
<label class="control-label" for="description"><?php
echo Translate('Omschrijving');
?>
</label>
<div class="controls">
<input type="text" name="description" value="<?php
echo $this->config['description'];
?>
" class="input-xxlarge" id="description" />
<span class="help-block"><?php
echo Translate('Omschrijving gebruikt in de checkout, samen met de titel');
?>
</span>
</div>
</div>
<div class="control-group">
<label class="control-label" for="order_status_id"><?php
echo Translate('Bestel status');
?>
</label>
<div class="controls">
<select name="order_status_id" class="input-xlarge" id="order_status_id">
<?php
$statusses = parent::get_order_statusses();
foreach ($statusses as $id => $name) {
echo '<option value="' . $id . '"' . ($this->config['order_status_id'] == $id ? ' selected="selected"' : '') . '>' . $name . '</option>';
}
?>
</select>
<span class="help-block"><?php
echo Translate('De status na het plaatsen van de bestelling met deze methode.');
?>
</span>
</div>
</div>
<div class="control-group">
<label class="control-label"><?php
echo Translate('Verzendmethode');
?>
</label>
<div class="controls">
<label class="checkbox inline"><?php
echo Translate('All');
?>
<input type="checkbox" name="shipping_module[*]" <?php
echo $this->config['shipping_module'] == '*' ? ' checked="checked"' : '';
?>
/>
</label>
<?php
$shipping_modules = explode(';', $this->config['shipping_module']);
foreach ($Modules->modules['shipping'] as $module) {
global ${$module};
if (isset(${$module}->instances)) {
foreach (${$module}->instances as $shipping_instance => $shipping_instance_data) {
echo '<label class="checkbox inline">' . $shipping_instance_data['title'];