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


PHP RequestUtil::CM方法代码示例

本文整理汇总了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;
 }
开发者ID:guohao214,项目名称:xinya,代码行数:9,代码来源:PaginationUtil.php

示例2: validation_errors

        <a class="crumb-name" href="<?php 
echo UrlUtil::createBackendUrl('coupon/index');
?>
">优惠券管理</a>
        <span class="crumb-step">&gt;</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>
开发者ID:guohao214,项目名称:xinya,代码行数:30,代码来源:addCoupon.php

示例3: validation_errors

        <a class="crumb-name" href="<?php 
echo UrlUtil::createBackendUrl('coupon/index');
?>
">优惠券管理</a>
        <span class="crumb-step">&gt;</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>
开发者ID:guohao214,项目名称:xinya,代码行数:30,代码来源:updateExchangeGoods.php

示例4: validation_errors

        <a class="crumb-name" href="<?php 
echo UrlUtil::createBackendUrl('coupon/index');
?>
">优惠券管理</a>
        <span class="crumb-step">&gt;</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>
开发者ID:guohao214,项目名称:xinya,代码行数:30,代码来源:addExchangeGoods.php

示例5: validation_errors

        <a class="crumb-name" href="<?php 
echo UrlUtil::createBackendUrl('couponCode/index');
?>
">优惠码管理</a>
        <span class="crumb-step">&gt;</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>
开发者ID:guohao214,项目名称:xinya,代码行数:30,代码来源:updateCouponCode.php

示例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) {
        ?>
开发者ID:guohao214,项目名称:xinya,代码行数:31,代码来源:updateBeauticianWorkTime.php

示例7: validation_errors

        <a class="crumb-name" href="<?php 
echo UrlUtil::createBackendUrl('slider/index');
?>
">幻灯片/福利管理</a>
        <span class="crumb-step">&gt;</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>
开发者ID:guohao214,项目名称:xinya,代码行数:31,代码来源:updateSlider.php

示例8: validation_errors

        <a class="crumb-name" href="<?php 
echo UrlUtil::createBackendUrl('project/index');
?>
">项目管理</a>
        <span class="crumb-step">&gt;</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 
开发者ID:guohao214,项目名称:xinya,代码行数:31,代码来源:updateProject.php

示例9: validation_errors

        <span class="crumb-step">&gt;</span>
        <a class="crumb-name" href="<?php 
echo UrlUtil::createBackendUrl('category/index');
?>
">分类管理</a>
        <span class="crumb-step">&gt;</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>
开发者ID:guohao214,项目名称:xinya,代码行数:31,代码来源:updateCategory.php

示例10: validation_errors

        <a class="crumb-name" href="<?php 
echo UrlUtil::createBackendUrl('article/index');
?>
">文章管理</a>
        <span class="crumb-step">&gt;</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>
开发者ID:guohao214,项目名称:xinya,代码行数:31,代码来源:updateArticle.php

示例11: validation_errors

        <a class="crumb-name" href="<?php 
echo UrlUtil::createBackendUrl('user/index');
?>
">账户管理</a>
        <span class="crumb-step">&gt;</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>
开发者ID:guohao214,项目名称:xinya,代码行数:31,代码来源:changePassword.php

示例12: validation_errors

        <span class="crumb-step">&gt;</span>
        <a class="crumb-name" href="<?php 
echo UrlUtil::createBackendUrl('beautician/index');
?>
">美容师管理</a>
        <span class="crumb-step">&gt;</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>

开发者ID:guohao214,项目名称:xinya,代码行数:29,代码来源:updateBeautician.php

示例13: validation_errors

        <a class="crumb-name" href="<?php 
echo UrlUtil::createBackendUrl('shop/index');
?>
">店铺管理</a>
        <span class="crumb-step">&gt;</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>
开发者ID:guohao214,项目名称:xinya,代码行数:31,代码来源:updateShop.php


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