function dr_url($url, $query = [], $self = SELF) {

return \Phpcmf\Service::L('router')->url($url, $query, $self);

}

function dr_furl($name) {

return \Phpcmf\Service::L('router')->furl($name);

}

function dr_get_tag_url($name, $mid = '') {

return \Phpcmf\Service::L('router')->get_tag_url($name, $mid);

}

function dr_comment_url($id, $moddir = '') {

return \Phpcmf\Service::L('router')->comment_url($id, $moddir);

}

function dr_form_show_url($table, $id, $page = 0) {

return \Phpcmf\Service::L('router')->form_show_url($table, $id, $page);

}

function dr_oauth_url($name, $type, $gourl = '') {

return \Phpcmf\Service::L('router')->oauth_url($name, $type, $gourl);

}

function dr_member_url($url, $query = [], $self = 'index.php') {

return \Phpcmf\Service::L('router')->member_url($url, $query, $self);

}

function dr_search_url($params = [], $name = '', $value = '', $moddir = '') {

return \Phpcmf\Service::L('router')->search_url($params, $name, $value, $moddir);

}

标签: none

添加新评论