本文整理匯總了PHP中CExtranet::IsExtranetUser方法的典型用法代碼示例。如果您正苦於以下問題:PHP CExtranet::IsExtranetUser方法的具體用法?PHP CExtranet::IsExtranetUser怎麽用?PHP CExtranet::IsExtranetUser使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類CExtranet
的用法示例。
在下文中一共展示了CExtranet::IsExtranetUser方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: IntVal
}
$arParams["gf"] = IntVal($arParams["gf"]);
if (strlen(trim($arParams["nt"])) > 0) {
$arParams["NAME_TEMPLATE"] = trim($arParams["nt"]);
$arParams["NAME_TEMPLATE"] = str_replace(array("#NOBR#", "#/NOBR#", "#COMMA#"), array("", "", ","), $arParams["NAME_TEMPLATE"]);
} else {
$arParams["NAME_TEMPLATE"] = str_replace("#COMMA#", ",", CSite::GetNameFormat(false));
}
$arParams['NAME_TEMPLATE'] .= $bIntranet ? ' <#EMAIL#>' : '';
$arParams['NAME_TEMPLATE'] .= " [#ID#]";
if (trim($arParams["sl"]) != "N") {
$bUseLogin = true;
} else {
$bUseLogin = false;
}
if (strlen($arParams["ex"]) > 0 && $arParams["ex"] == "E" && strlen($arParams["site"]) > 0 && CModule::IncludeModule('extranet') && CExtranet::IsExtranetUser()) {
$arUsersInMyGroupsID = CExtranet::GetMyGroupsUsers($arParams["site"]);
$arPublicUsersID = CExtranet::GetPublicUsers();
$arUsersToFilter = array_merge($arUsersInMyGroupsID, $arPublicUsersID);
} elseif (strlen($arParams["ex"]) > 0 && $arParams["ex"] == "EA" && $GLOBALS["APPLICATION"]->GetGroupRight("socialnetwork", false, "Y", "Y", array($arParams["site"], false)) >= "K" && CModule::IncludeModule('extranet')) {
$arExtranetUsersID = CExtranet::GetExtranetGroupUsers();
$arIntranetUsersID = CExtranet::GetIntranetUsers();
$arUsersToFilter = array_diff($arExtranetUsersID, $arIntranetUsersID);
} elseif (strlen($arParams["ex"]) > 0 && $arParams["ex"] == "EA" && CModule::IncludeModule('extranet')) {
$arUsersInMyGroupsID = CExtranet::GetMyGroupsUsers($arParams["site"]);
$arIntranetUsersID = CExtranet::GetIntranetUsers();
$arUsersToFilter = array_diff($arUsersInMyGroupsID, $arIntranetUsersID);
} elseif (CModule::IncludeModule('extranet') && CExtranet::IsIntranetUser($arParams["site"])) {
$arUsersToFilter = CExtranet::GetIntranetUsers();
} elseif (CModule::IncludeModule('extranet')) {
require_once $_SERVER["DOCUMENT_ROOT"] . BX_ROOT . "/modules/main/include/epilog_after.php";