本文整理汇总了PHP中public_function::updateFlowProcessPrcsPriv方法的典型用法代码示例。如果您正苦于以下问题:PHP public_function::updateFlowProcessPrcsPriv方法的具体用法?PHP public_function::updateFlowProcessPrcsPriv怎么用?PHP public_function::updateFlowProcessPrcsPriv使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类public_function
的用法示例。
在下文中一共展示了public_function::updateFlowProcessPrcsPriv方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: value
}
} else {
$insert_user_group_sql = "insert into blog_user_type(usertype,usertypename) value('{$usertype}','{$usertypename}')";
if ($usertypename == "" || $usertypename == null || $usertypename == "用户组名称") {
$info1 = "用户组名称";
$info2 = "用户组编号";
} else {
$select_user_type_sql = "select usertype,usertypename from blog_user_type where usertype='{$usertype}' or usertypename='{$usertypename}'";
if ($public_function->getnum($public_function->getresult($select_user_type_sql)) > 0) {
$info = "<font color='red'>该用户组名或编号已被使用</font>";
} else {
$insert_user_type_result = $public_function->getresult($insert_user_group_sql);
//给每个用户组基本授权
$mysql_insert_utype = mysql_insert_id();
//更新czj_flow_process//查询用户组信息
$public_function->updateFlowProcessPrcsPriv($usertype . ",");
$insert_user_group_menu_sql1 = "insert into blog_menu_user(menuid,usertype) values(1,'{$usertype}')";
$public_function->getresult($insert_user_group_menu_sql1);
$insert_user_group_menu_sql2 = "insert into blog_menu_user(menuid,usertype) values(2,'{$usertype}')";
$public_function->getresult($insert_user_group_menu_sql2);
$insert_user_group_menu_sql3 = "insert into blog_menu_user(menuid,usertype) values(3,'{$usertype}')";
$public_function->getresult($insert_user_group_menu_sql3);
//$insert_user_group_menu_sql4="insert into blog_menu_user(menuid,usertype) values(4,'$usertype')";
//$public_function->getresult($insert_user_group_menu_sql4);
$insert_user_group_menu_sql5 = "insert into blog_menu_user(menuid,usertype) values(5,'{$usertype}')";
$public_function->getresult($insert_user_group_menu_sql5);
$insert_user_group_menu_sql6 = "insert into blog_menu_user(menuid,usertype) values(6,'{$usertype}')";
$public_function->getresult($insert_user_group_menu_sql6);
//$insert_user_group_menu_sql9="insert into blog_menu_user(menuid,usertype) values(9,'$usertype')";
//$public_function->getresult($insert_user_group_menu_sql9);
$insert_user_group_menu_sql10 = "insert into blog_menu_user(menuid,usertype) values(10,'{$usertype}')";