本文整理汇总了PHP中RequestUtil::CM方法的典型用法代码示例。如果您正苦于以下问题:PHP RequestUtil::CM方法的具体用法?PHP RequestUtil::CM怎么用?PHP RequestUtil::CM使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类RequestUtil
的用法示例。
在下文中一共展示了RequestUtil::CM方法的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
public function __construct($totalSize = 0, $config = 'pagination')
{
$config = ConfigUtil::loadConfig($config);
$instance = get_instance();
$config['total_rows'] = $totalSize;
$config['base_url'] = RequestUtil::CM();
$instance->load->library('pagination', $config);
$this->pagination = $instance->pagination;
}
示例2: validation_errors
<a class="crumb-name" href="<?php
echo UrlUtil::createBackendUrl('coupon/index');
?>
">优惠券管理</a>
<span class="crumb-step">></span><span>新增优惠券</span></div>
</div>
<div class="result-wrap">
<div class="result-content">
<div class="error">
<?php
echo validation_errors();
?>
</div>
<?php
echo form_open(RequestUtil::CM());
?>
<table class="insert-tab" width="100%">
<tbody>
<tr>
<th><i class="require-red">*</i>优惠券名称:</th>
<td>
<input class="common-text required" name="coupon_name"
value="<?php
echo set_value('coupon_name');
?>
" size="50" type="text">
</td>
</tr>
示例3: validation_errors
<a class="crumb-name" href="<?php
echo UrlUtil::createBackendUrl('coupon/index');
?>
">优惠券管理</a>
<span class="crumb-step">></span><span>新增优惠券</span></div>
</div>
<div class="result-wrap">
<div class="result-content">
<div class="error">
<?php
echo validation_errors();
?>
</div>
<?php
echo form_open_multipart(RequestUtil::CM(array($exchangeGoods['exchange_goods_id'], $limit)));
?>
<table class="insert-tab" width="100%">
<tbody>
<tr>
<th><i class="require-red">*</i>兑换商品名称:</th>
<td>
<input class="common-text required" name="exchange_goods_name"
value="<?php
echo $exchangeGoods['exchange_goods_name'];
?>
" size="50" type="text">
</td>
</tr>
示例4: validation_errors
<a class="crumb-name" href="<?php
echo UrlUtil::createBackendUrl('coupon/index');
?>
">优惠券管理</a>
<span class="crumb-step">></span><span>新增优惠券</span></div>
</div>
<div class="result-wrap">
<div class="result-content">
<div class="error">
<?php
echo validation_errors();
?>
</div>
<?php
echo form_open_multipart(RequestUtil::CM());
?>
<table class="insert-tab" width="100%">
<tbody>
<tr>
<th><i class="require-red">*</i>兑换商品名称:</th>
<td>
<input class="common-text required" name="exchange_goods_name"
value="<?php
echo set_value('exchange_goods_name');
?>
" size="50" type="text">
</td>
</tr>
示例5: validation_errors
<a class="crumb-name" href="<?php
echo UrlUtil::createBackendUrl('couponCode/index');
?>
">优惠码管理</a>
<span class="crumb-step">></span><span>修改优惠码</span></div>
</div>
<div class="result-wrap">
<div class="result-content">
<div class="error">
<?php
echo validation_errors();
?>
</div>
<?php
echo form_open(RequestUtil::CM(array($coupon['coupon_code_id'], $limit)));
?>
<table class="insert-tab" width="100%">
<tbody>
<tr>
<th><i class="require-red">*</i>优惠码:</th>
<td>
<input class="common-text required" name="coupon_code" maxlength="6"
value="<?php
echo $coupon['coupon_code'];
?>
" size="20" type="text">(6位)
</td>
</tr>
示例6: validation_errors
<div class="result-content">
<div class="error">
<?php
echo validation_errors();
?>
</div>
<div class="result-title">
<div class="result-list">
<h1><?php
echo $beautician['name'];
?>
的工作时间</h1>
</div>
</div>
<?php
echo form_open(RequestUtil::CM(array('beautician_id' => $beauticianId)));
?>
<table class="insert-tab" width="100%">
<tbody>
<?php
foreach ($beauticianWorkTime as $key => $workTime) {
?>
<tr>
<th><?php
echo DateUtil::inWeekName($key);
?>
:</th>
<td>
<?php
foreach ($timeSetting as $timeKey => $setting) {
?>
示例7: validation_errors
<a class="crumb-name" href="<?php
echo UrlUtil::createBackendUrl('slider/index');
?>
">幻灯片/福利管理</a>
<span class="crumb-step">></span><span>修改</span></div>
</div>
<div class="result-wrap">
<div class="result-content">
<div class="error">
<?php
echo validation_errors();
?>
</div>
<?php
echo form_open_multipart(RequestUtil::CM(array('sliderId' => $slider['slider_id'])));
?>
<table class="insert-tab" width="100%">
<tbody>
<tr>
<th><i class="require-red">*</i>标题:</th>
<td>
<input class="common-text required" name="title"
value="<?php
echo $slider['title'];
?>
" size="50" type="text">
</td>
</tr>
<tr>
示例8: validation_errors
<a class="crumb-name" href="<?php
echo UrlUtil::createBackendUrl('project/index');
?>
">项目管理</a>
<span class="crumb-step">></span><span>修改项目</span></div>
</div>
<div class="result-wrap">
<div class="result-content">
<div class="error">
<?php
echo validation_errors();
?>
</div>
<?php
echo form_open_multipart(RequestUtil::CM(array('project_id' => $project['project_id'], 'limit' => $limit)));
?>
<table class="insert-tab" width="100%">
<tbody>
<tr>
<th width="120"><i class="require-red">*</i>分类:</th>
<td>
<select name="category_id" class="required select">
<option value="">请选择分类</option>
<?php
foreach ($categories as $key => $category) {
?>
<?php
$checked = $key == $project['category_id'] ? ' selected' : '';
?>
<option value="<?php
示例9: validation_errors
<span class="crumb-step">></span>
<a class="crumb-name" href="<?php
echo UrlUtil::createBackendUrl('category/index');
?>
">分类管理</a>
<span class="crumb-step">></span><span>新增分类</span></div>
</div>
<div class="result-wrap">
<div class="result-content">
<div class="error">
<?php
echo validation_errors();
?>
</div>
<?php
echo form_open(RequestUtil::CM(array($category_id)));
?>
<table class="insert-tab" width="100%">
<tbody>
<tr>
<th><i class="require-red">*</i>分类标题:</th>
<td>
<input class="common-text required" name="category_name" size="50"
value="<?php
echo set_value('category_name') ? set_value('category_name') : $category_name;
?>
" type="text">
</td>
</tr>
<tr>
示例10: validation_errors
<a class="crumb-name" href="<?php
echo UrlUtil::createBackendUrl('article/index');
?>
">文章管理</a>
<span class="crumb-step">></span><span>修改文章</span></div>
</div>
<div class="result-wrap">
<div class="result-content">
<div class="error">
<?php
echo validation_errors();
?>
</div>
<?php
echo form_open(RequestUtil::CM(array('article_id' => $article['article_id'])));
?>
<table class="insert-tab" width="100%">
<tbody>
<tr>
<th><i class="require-red">*</i>标题:</th>
<td>
<input class="common-text required" name="title"
value="<?php
echo $article['title'];
?>
" size="50" type="text">
</td>
</tr>
<tr>
<th><i class="require-red">*</i>别名:</th>
示例11: validation_errors
<a class="crumb-name" href="<?php
echo UrlUtil::createBackendUrl('user/index');
?>
">账户管理</a>
<span class="crumb-step">></span><span>修改密码</span></div>
</div>
<div class="result-wrap">
<div class="result-content">
<div class="error">
<?php
echo validation_errors();
?>
</div>
<?php
echo form_open(RequestUtil::CM(array('user_id' => $user['user_id'])));
?>
<table class="insert-tab" width="100%">
<tbody>
<tr>
<th><i class="require-red">*</i>账户名:</th>
<td><?php
echo $user['user_name'];
?>
</td>
</tr>
<tr>
<th><i class="require-red">*</i>密码:</th>
<td><input class="common-text" name="password" size="20" type="password"></td>
</tr>
示例12: validation_errors
<span class="crumb-step">></span>
<a class="crumb-name" href="<?php
echo UrlUtil::createBackendUrl('beautician/index');
?>
">美容师管理</a>
<span class="crumb-step">></span><span>修改美容师</span></div>
</div>
<div class="result-wrap">
<div class="result-content">
<div class="error">
<?php
echo validation_errors();
?>
</div>
<?php
echo form_open_multipart(RequestUtil::CM(array('beautician_id' => $beautician['beautician_id'])));
?>
<table class="insert-tab" width="100%">
<tbody>
<tr>
<th><i class="require-red">*</i>姓名:</th>
<td>
<input class="common-text required" name="name" size="30"
value="<?php
echo $beautician['name'];
?>
" type="text">
</td>
</tr>
示例13: validation_errors
<a class="crumb-name" href="<?php
echo UrlUtil::createBackendUrl('shop/index');
?>
">店铺管理</a>
<span class="crumb-step">></span><span>新增店铺</span></div>
</div>
<div class="result-wrap">
<div class="result-content">
<div class="error">
<?php
echo validation_errors();
?>
</div>
<?php
echo form_open_multipart(RequestUtil::CM(array('shop_id' => $shop['shop_id'])));
?>
<table class="insert-tab" width="100%">
<tbody>
<tr>
<th><i class="require-red">*</i>店铺名:</th>
<td>
<input class="common-text required" name="shop_name"
value="<?php
echo $shop['shop_name'];
?>
" size="50" type="text">
</td>
</tr>
<tr>