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


PHP UrlUtil::createBackendUrl方法代码示例

本文整理汇总了PHP中UrlUtil::createBackendUrl方法的典型用法代码示例。如果您正苦于以下问题:PHP UrlUtil::createBackendUrl方法的具体用法?PHP UrlUtil::createBackendUrl怎么用?PHP UrlUtil::createBackendUrl使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在UrlUtil的用法示例。


在下文中一共展示了UrlUtil::createBackendUrl方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: __construct

 public function __construct()
 {
     parent::__construct();
     if (!UserUtil::getUserId()) {
         ResponseUtil::redirect(UrlUtil::createBackendUrl('login'));
     }
     $controller = strtolower($this->router->class);
     $method = strtolower($this->router->method);
     if (UserUtil::isShopKeeper()) {
         if (!array_key_exists($controller, $this->shopKeeperPermissions)) {
             $this->message('你没有权限执行本步骤!');
         }
         $methods = $this->shopKeeperPermissions[$controller];
         if ($methods == '*') {
             return true;
         } else {
             if (!in_array($method, $methods)) {
                 $this->message('你没有权限执行本步骤!');
             } else {
                 return true;
             }
         }
     }
 }
开发者ID:guohao214,项目名称:xinya,代码行数:24,代码来源:BackendController.php

示例2:

        ?>
</td>
                            <td>
                                <a class="link-view btn btn-success"
                                   href="<?php 
        echo UrlUtil::createBackendUrl('article/articleDetail/' . $article['article_id']);
        ?>
">详情</a>
                                <a class="link-update btn btn-warning"
                                   href="<?php 
        echo UrlUtil::createBackendUrl('article/updateArticle/' . $article['article_id']);
        ?>
">修改</a>
                                <a class="link-del btn btn-danger"
                                   href="<?php 
        echo UrlUtil::createBackendUrl('article/deleteArticle/' . $article['article_id']);
        ?>
">删除</a>
                            </td>
                        </tr>
                    <?php 
    }
    ?>
                </table>
                <div class="list-page"><?php 
    echo $pages;
    ?>
</div>
            <?php 
} else {
    ?>
开发者ID:guohao214,项目名称:xinya,代码行数:31,代码来源:index.php

示例3:

                <th><i class="require-red">*</i>过期时间:</th>
                <td>
                    <input class="common-text required" name="expire_time"
                           value="<?php 
echo $exchangeGoods['expire_time'];
?>
" size="20" type="text">
                </td>
            </tr>

            <tr>
                <th></th>
                <td>
                    <input class="btn btn-primary btn6 mr10" value="提交" type="submit">
                    <a class="btn btn6" href="<?php 
echo UrlUtil::createBackendUrl('exchangeGoods/index');
?>
">返回</a>
                </td>
            </tr>
            </tbody>
        </table>
        </form>
    </div>

    <script>
        $(document).ready(function() {
            $('[name="expire_time"], [name="start_time"]').datetimepicker({
                lang:'ch',
                timepicker:false,
                format:'Y-m-d',
开发者ID:guohao214,项目名称:xinya,代码行数:31,代码来源:updateExchangeGoods.php

示例4: form_open

    .appointment-time {
        height: 60px;
    }
</style>
<div class="crumb-wrap">
    <div class="crumb-list"><i class="icon-font"></i>
        <a 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">
        <?php 
echo form_open(UrlUtil::createBackendUrl('offlineAppointment/appointment'));
?>
        <input type="hidden" name="appointment_times" value="">
        <table class="insert-tab" width="100%">
            <tbody>

            <tr>
                <th><i class="require-red">*</i>预约商品:</th>
                <td>
                    <input type="hidden" name="project_id" value="<?php 
echo $project['project_id'];
?>
">
                    <input type="hidden" name="use_time" value="<?php 
echo $project['use_time'];
?>
开发者ID:guohao214,项目名称:xinya,代码行数:31,代码来源:appointment.php

示例5: set_value

                <th width="120"><i class="require-red">*</i>备注:</th>
                <td>
                    <input class="common-text required" name="ps" size="50"
                           value="<?php 
echo set_value('ps');
?>
" type="text">
                </td>
            </tr>

            <tr>
                <th></th>
                <td>
                    <input class="btn btn-primary btn6 mr10" value="提交" type="submit">
                    <a class="btn btn6" href="<?php 
echo UrlUtil::createBackendUrl("beautician/rest?beautician_id={$beautician_id}");
?>
">返回</a>
                </td>
            </tr>
            </tbody>
        </table>
        </form>
    </div>

    <script>
        $(document).ready(function() {
            $('[name="rest_day"]').datetimepicker({
                lang:'ch',
                timepicker:false,
                format:'Y-m-d',
开发者ID:guohao214,项目名称:xinya,代码行数:31,代码来源:addBeauticianRest.php

示例6:

<div class="crumb-wrap">
    <div class="crumb-list"><i class="icon-font"></i>
        <a href="<?php 
echo UrlUtil::createBackendUrl('project/index');
?>
">首页</a>
        <span class="crumb-step">&gt;</span>
        <a class="crumb-name" href="<?php 
echo UrlUtil::createBackendUrl("order/index/{$limit}");
?>
">订单管理</a>
        <span class="crumb-step">&gt;</span><span>订单详情</span></div>
</div>
<div class="result-wrap">
    <div class="result-content">
        <h1 class="table-title">订单详情</h1>
        <table class="insert-tab" width="100%">
            <tbody>
            <tr>
                <th width="120">订单号:</th>
                <td width="400">
                    <?php 
echo $order['order_no'];
?>
                </td>
                <th width="120">预约日期:</th>
                <td>
                    <?php 
echo $order['appointment_day'];
?>
                </td>
开发者ID:guohao214,项目名称:xinya,代码行数:31,代码来源:orderDetail.php

示例7:

                        <td><?php 
        echo $beauticianRest['start_time'];
        ?>
</td>
                        <td><?php 
        echo $beauticianRest['end_time'];
        ?>
</td>
                        <td><?php 
        echo $beauticianRest['ps'];
        ?>
</td>
                        <td>
                            <a class="link-del btn btn-danger"
                               href="<?php 
        echo UrlUtil::createBackendUrl("beautician/deleteBeauticianRest/{$beautician_rest_id}");
        ?>
">删除</a>
                        </td>
                    </tr>
                <?php 
    }
    ?>
            </table>
            <div class="list-page"><?php 
    echo $pages;
    ?>
</div>
        </div>
    <?php 
} else {
开发者ID:guohao214,项目名称:xinya,代码行数:31,代码来源:rest.php

示例8: logout

 /**
  * 退出
  */
 public function logout()
 {
     session_destroy();
     ResponseUtil::redirect(UrlUtil::createBackendUrl('login'));
 }
开发者ID:guohao214,项目名称:xinya,代码行数:8,代码来源:Login.php

示例9:

    ?>
                <li>
                    <a href="#"><i class="icon-font">&#xe018;</i>系统管理</a>
                    <ul class="sub-menu">
                        <!--<li><a href="<?php 
    echo UrlUtil::createBackendUrl('setting/cleanCache');
    ?>
"><i
                                    class="icon-font">&#xe037;</i>清理缓存</a></li>-->
                        <li><a href="<?php 
    echo UrlUtil::createBackendUrl('tool/index');
    ?>
">
                                <i class="icon-font">&#xe046;</i>数据备份</a></li>
                        <li><a href="<?php 
    echo UrlUtil::createBackendUrl('workTime/index');
    ?>
"><i class="icon-font">&#xe017;</i>工作时间设置</a></li>
                        <!--<li><a href=""><i class="icon-font">&#xe045;</i>数据还原</a></li>-->
                    </ul>
                </li>
                <?php 
}
?>
            </ul>
        </div>
    </div>
    <div class="main-wrap"><?php 
echo $content;
?>
</div>
开发者ID:guohao214,项目名称:xinya,代码行数:31,代码来源:layout.php

示例10:

        echo $timeKey;
        ?>
"<?php 
        echo $selected;
        ?>
>&nbsp;<?php 
        echo $setting;
        ?>
 &nbsp;&nbsp;
                    <?php 
    }
    ?>
                </td>
            </tr>
            <?php 
}
?>
            <tr>
                <th></th>
                <td>
                    <input class="btn btn-primary btn6 mr10" value="提交" type="submit">
                    <a class="btn btn6" href="<?php 
echo UrlUtil::createBackendUrl('beautician/index');
?>
">返回</a>
                </td>
            </tr>
            </tbody>
        </table>
        </form>
    </div>
开发者ID:guohao214,项目名称:xinya,代码行数:31,代码来源:updateBeauticianWorkTime.php

示例11:

                <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>

            <tr>
                <th><i class="require-red">*</i>确认密码:</th>
                <td><input class="common-text"  name="re_password" size="20" type="password"></td>
            </tr>

            <tr>
                <th></th>
                <td>
                    <input class="btn btn-primary btn6 mr10" value="提交" type="submit">
                    <a class="btn btn6" href="<?php 
echo UrlUtil::createBackendUrl('user/index');
?>
">返回</a>
                </td>
            </tr>
            </tbody>
        </table>
        </form>
    </div>
开发者ID:guohao214,项目名称:xinya,代码行数:31,代码来源:changePassword.php

示例12: defaultValue

<div class="crumb-wrap">
    <div class="crumb-list"><i class="icon-font"></i><a href="<?php 
echo UrlUtil::createBackendUrl('customer/index');
?>
">首页</a><span
            class="crumb-step">&gt;</span><span class="crumb-name">客户管理</span></div>
</div>
<div class="search-wrap">
    <div class="search-content">
        <form action="<?php 
echo UrlUtil::createBackendUrl('customer/index');
?>
?" method="get">
            <table class="search-tab">
                <tr>
                    <th width="70">微信昵称:</th>
                    <td><input class="common-text" placeholder="微信昵称" type="text"
                               name="nick_name" value="<?php 
echo defaultValue($params['nick_name']);
?>
"></td>

                    <td><input class="btn btn-primary btn2" type="submit"></td>
                </tr>
            </table>
        </form>
    </div>
</div>
<div class="result-wrap">
        <div class="result-content">
            <?php 
开发者ID:guohao214,项目名称:xinya,代码行数:31,代码来源:index.php

示例13:

            </tr>

            <tr>
                <th><i class="require-red">*</i>分类:</th>
                <td>
                    <select name="slider_type" class="select">
                        <option value="幻灯片">幻灯片</option>
                        <option value="福利栏">福利栏</option>
                    </select>
                </td>
            </tr>

            <tr>
                <th><i class="require-red">*</i>图片:</th>
                <td><input name="pic" id="" type="file" class="common-text"></td>
            </tr>

            <tr>
                <th></th>
                <td>
                    <input class="btn btn-primary btn6 mr10" value="提交" type="submit">
                    <a class="btn btn6" href="<?php 
echo UrlUtil::createBackendUrl('slider/index');
?>
">返回</a>
                </td>
            </tr>
            </tbody>
        </table>
        </form>
    </div>
开发者ID:guohao214,项目名称:xinya,代码行数:31,代码来源:addSlider.php

示例14: set_value

                           value="<?php 
echo set_value('category_name') ? set_value('category_name') : $category_name;
?>
" type="text">
                </td>
            </tr>

            <tr>
                <th><i class="require-red">*</i>排序:</th>
                <td>
                    <input class="common-text required" name="order_sort" size="10"
                           value="<?php 
echo set_value('order_sort') ? set_value('order_sort') : $order_sort;
?>
" type="text">
                </td>
            </tr>
            <tr>
                <th></th>
                <td>
                    <input class="btn btn-primary btn6 mr10" value="提交" type="submit">
                    <a class="btn btn6" href="<?php 
echo UrlUtil::createBackendUrl('category/index');
?>
">返回</a>
                </td>
            </tr>
            </tbody>
        </table>
        </form>
    </div>
开发者ID:guohao214,项目名称:xinya,代码行数:31,代码来源:updateCategory.php

示例15:

}
?>
                    </select>
                </td>
            </tr>

            <tr>
                <th><i class="require-red">*</i>选择项目:</th>
                <td>
                    <select class="select" name="project_id" id="project_id">
                    </select>
                </td>
            </tr>


            <tr>
                <th></th>
                <td>
                    <input class="btn btn-primary btn6 mr10" value="提交" type="submit">
                    <a class="btn btn6" href="<?php 
echo UrlUtil::createBackendUrl('ProjectProperty/projectForNewUserList');
?>
">返回</a>
                </td>
            </tr>
            </tbody>
        </table>
        </form>
    </div>

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


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