本文整理汇总了PHP中rating::clear_unread_count方法的典型用法代码示例。如果您正苦于以下问题:PHP rating::clear_unread_count方法的具体用法?PHP rating::clear_unread_count怎么用?PHP rating::clear_unread_count使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类rating
的用法示例。
在下文中一共展示了rating::clear_unread_count方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: rating
<?php
require_once 'config.php';
require_once 'class/rating.php';
$renderObj = new rating();
$page_number = (int) (!isset($_GET['page']) ? 1 : $_GET['page']);
//$renderObj->sample_get_book_details_id(1);
$user_id = $_SESSION['userinfo']->id != '' ? $_SESSION['userinfo']->id : 0;
//$record = $renderObj->get_manager_work_list($user_id);
$record = $renderObj->pagination("get_manager_work_list_paginate", $page_number, $user_id);
$team_member = $renderObj->get_all_member($user_id);
$renderObj->clear_unread_count();
/*if ($_SERVER['REQUEST_METHOD'] === 'POST') {
$page_number = (int) (!isset($_GET['page']) ? 1 :$_GET['page']);
$user_id = ($_SESSION['userinfo']->id != '' ? $_SESSION['userinfo']->id: 0);
//echo "<pre>";print_r($_POST);die;
$record = $renderObj->pagination("get_manager_work_list_paginate",$page_number,$user_id,$_POST);
echo "<pre>";print_r($record);die("=====");
}*/
//$status = $renderObj->get_status();
//echo "<pre>";print_r($team_member);die;
require_once 'header.php';
?>
<!-- Page Content -->
<div class="container">
<div class="container">
<div class="row">