本文整理汇总了PHP中Chat::getUnreadChatMessageCount方法的典型用法代码示例。如果您正苦于以下问题:PHP Chat::getUnreadChatMessageCount方法的具体用法?PHP Chat::getUnreadChatMessageCount怎么用?PHP Chat::getUnreadChatMessageCount使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Chat
的用法示例。
在下文中一共展示了Chat::getUnreadChatMessageCount方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
$themecolor = $expld[6];
//$json["name"]=$name;
$appdisplayname = $setting->getAppDisplayName($appID);
$json["name"] = $appdisplayname;
if ($profile_image != "") {
$json["userProfilePic"] = AbstractDB::PROFILE_IMAGE . $profile_image;
} else {
$json["userProfilePic"] = "";
}
$rsupdt = $usr->makeonline($memberID, $_REQUEST["deviceToken"], $_REQUEST["deviceType"]);
// check app is imported from another app
$appid = $setting->chkAppIsImported($appID);
//$businessJoinURL = $setting->getAppJoinBusinessurl($appid);
$businessJoinURL = $setting->getAppJoinBusinessurl($appID);
// changed to 20th Aug 14
$chatcount = $chat->getUnreadChatMessageCount($memberID);
// get app's contact details
$contact = $setting->getAppContactDetails($appID);
// get left sidebar navigation menu
if ($role == "TL") {
$navigation_menu = $setting->getNavigationMenuTL($appid, $appID, $role);
} else {
$navigation_menu = $setting->getNavigationMenu($appid, $appID, $role);
}
//$navigation_menu = $setting->getNavigationMenu($appid,$appID,$role);
// get app's sharing setting data
$sharingsetting = $setting->getAppShareSettingData($appid);
//$newscount = $usr->getUnreadNewsCount($memberID,"member");
$bgrs = $usr->getAppBackground($appid);
$rec = $usr->numofrows();
if ($rec > 0) {