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


PHP Web::checkUrl方法代码示例

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


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

示例1: role_report_user_allowed

function role_report_user_allowed(Web $w, $path)
{
    return $w->checkUrl($path, "report", null, "*");
}
开发者ID:itillawarra,项目名称:cmfive,代码行数:4,代码来源:report.roles.php

示例2: role_file_download_allowed

function role_file_download_allowed(Web $w, $path)
{
    return $w->checkUrl($path, "file", null, "index") || $w->checkUrl($path, "file", null, "path") || $w->checkUrl($path, "file", null, "atthumb") || $w->checkUrl($path, "file", null, "atdel") || $w->checkUrl($path, "file", null, "printview") || $w->checkUrl($path, "file", null, "atfile") || $w->checkUrl($path, "file", null, "thumb");
}
开发者ID:itillawarra,项目名称:cmfive,代码行数:4,代码来源:file.roles.php

示例3: role_bend_user_allowed

function role_bend_user_allowed(Web $w, $path)
{
    return $w->checkUrl($path, "bend", "workhours", ["index", "editworkentry", "enter", "ajax_getchildcategories", "list"]) || $w->checkUrl($path, "bend", "electricity", ["index"]) || $w->checkUrl($path, "bend", "", "index");
}
开发者ID:careck,项目名称:bendms,代码行数:4,代码来源:bend.roles.php

示例4: role_inbox_sender_allowed

function role_inbox_sender_allowed(Web $w, $path)
{
    return $w->checkUrl($path, "inbox", null, '*');
    //preg_match("/inbox(-.*)?\//",$path);
}
开发者ID:itillawarra,项目名称:cmfive,代码行数:5,代码来源:inbox.roles.php

示例5: role_task_user_allowed

function role_task_user_allowed(Web $w, $path)
{
    return $w->checkUrl($path, "task", null, "index") || $w->checkUrl($path, "task", null, "tasklist") || $w->checkUrl($path, "task", null, "edit") || $w->checkUrl($path, "task", null, "ajaxGetExtraDetails") || $w->checkUrl($path, "task", null, "ajaxGetFieldForm") || $w->checkUrl($path, "task", null, "addtime") || $w->checkUrl($path, "task", null, "edittime") || $w->checkUrl($path, "task", null, "updateusergroupnotify") || $w->checkUrl($path, "task", null, "updateusertasknotify") || $w->checkUrl($path, "task", null, "taskweek") || $w->checkUrl($path, "task", null, "taskAjaxSelectbyTaskGroup");
}
开发者ID:itillawarra,项目名称:cmfive,代码行数:4,代码来源:task.roles.php

示例6: role_comment_allowed

function role_comment_allowed(Web $w, $path)
{
    return $w->checkUrl($path, "admin", null, "commnet") || $w->checkUrl($path, "admin", null, "deletecomment") || $w->checkUrl($path, "admin", null, "ajaxSaveComment");
}
开发者ID:itillawarra,项目名称:cmfive,代码行数:4,代码来源:admin.roles.php


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