当前位置: 首页>>代码示例>>PHP>>正文


PHP notifications::getAllSbrTip方法代码示例

本文整理汇总了PHP中notifications::getAllSbrTip方法的典型用法代码示例。如果您正苦于以下问题:PHP notifications::getAllSbrTip方法的具体用法?PHP notifications::getAllSbrTip怎么用?PHP notifications::getAllSbrTip使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在notifications的用法示例。


在下文中一共展示了notifications::getAllSbrTip方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: isset

        $last_emp_new_messages_pid = $_SESSION['lst_emp_new_messages']['pid'];
    }
} else {
    $last_emp_new_messages_pid = false;
}
$_SESSION['lst_emp_new_messages']['cnt'] = $cnt_emp_new_messages;*/
//$asw_w = 205; // ширина переключателя аккаунтов (см. использование здесь и в acc_switch.php).
$anti_login = $_SESSION['anti_uid'] ? $_SESSION['anti_login'] : 'Логин';
$projects_active = $grey_main && $kind != 8 && $kind != 2 && $kind != 4;
$konkurs_active = $grey_main && $kind == 2;
$vacancy_active = $grey_main && $kind == 4;
$grey_catalog = isset($grey_catalog) && @$grey_catalog == 1;
//Уведомления ЛС
$tip_msg = notifications::getMessTip();
//Уведомления по БС
$tip_sbr = notifications::getAllSbrTip();
$link_sbr = '/' . sbr::NEW_TEMPLATE_SBR . '/';
//Уведомления гуповое по проектам и заказам
//$tip_group = notifications::getEmpGroupTip();
//Уведомления и ссылки для Проектов
$tip_prj = notifications::getProjectsTipEmp();
//Уведомления и ссылки для Заказов ТУ
if (@$_SESSION['tu_orders']) {
    $tip_tu = notifications::getTServicesOrdersTip();
}
$account_sum_is_plus = $_SESSION['ac_sum'] >= 0;
$account_sum_format = view_account_format();
?>
<script type="text/javascript">
var notification_delay = '<?php 
echo NOTIFICATION_DELAY;
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:31,代码来源:personal_emp.php

示例2: array

 // новые сообщения
 if (in_array('msg', $op)) {
     $out['msg'] = array();
     $tip = notifications::getMessTip(true);
     if ($tip === null) {
         $out['msg']['success'] = false;
     } else {
         $out['msg']['success'] = true;
         $out['msg']['count'] = $tip['count'];
         $out['msg']['count_html'] = view_event_count_format($tip['count']);
         $out['msg']['tip'] = iconv('CP1251', 'UTF-8', $tip['tip']);
     }
 }
 // события в сбр
 if (in_array('sbr', $op)) {
     $tip = notifications::getAllSbrTip();
     if ($tip === null) {
         $out['sbr']['success'] = false;
     } else {
         $out['sbr']['success'] = true;
         $out['sbr']['count'] = $tip['count'];
         $out['sbr']['count_html'] = view_event_count_format($tip['count']);
         $out['sbr']['alert'] = $tip['alert'];
         $out['sbr']['tip'] = iconv('CP1251', 'UTF-8', $tip['tip']);
     }
 }
 // новые события через класс bar_notify
 $barNotify = new bar_notify(get_uid(0));
 $barNotifies = $barNotify->getNotifies();
 if (in_array('bill', $op)) {
     $out['bill']['success'] = true;
开发者ID:kapai69,项目名称:fl-ru-damp,代码行数:31,代码来源:notification.php


注:本文中的notifications::getAllSbrTip方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。