当前位置: 首页>>代码示例>>PHP>>正文


PHP Modules::get_order_statusses方法代码示例

本文整理汇总了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) {
开发者ID:CristianCCIT,项目名称:shop4office,代码行数:67,代码来源:Flat_module.php

示例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};
开发者ID:CristianCCIT,项目名称:shop4office,代码行数:67,代码来源:Icepay_module.php

示例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};
开发者ID:CristianCCIT,项目名称:shop4office,代码行数:67,代码来源:Ogone_module.php

示例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'];
开发者ID:CristianCCIT,项目名称:shop4office,代码行数:67,代码来源:Coupon_module.php


注:本文中的Modules::get_order_statusses方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。