本文整理匯總了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}')";