本文整理匯總了PHP中rating::get_team_member_requests方法的典型用法代碼示例。如果您正苦於以下問題:PHP rating::get_team_member_requests方法的具體用法?PHP rating::get_team_member_requests怎麽用?PHP rating::get_team_member_requests使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類rating
的用法示例。
在下文中一共展示了rating::get_team_member_requests方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1:
$page_number = (int) (!isset($_GET['page']) ? 1 : $_GET['page']);
$user_id = $_SESSION['userinfo']->id != '' ? $_SESSION['userinfo']->id : 0;
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
$comment_key = "comment_" . $_POST['ptr'];
$_POST['comment'] = $_POST[$comment_key];
if ($_POST['status'] == 0) {
$record = $renderObj->decline($_POST);
$chk = 17;
} else {
if ($_POST['status'] == 1) {
$record = $renderObj->save_emp_rating($_POST);
$chk = 16;
}
}
}
$pending_requests = $renderObj->get_team_member_requests($user_id);
require_once 'header.php';
?>
<script type="text/javascript">
$(document).ready(function(){
$("a.red-btn-request").addClass("red-btn-active");
$('.request-accordian-bot').click(function(){
$(this).parent().find('.request-accordian-top').slideToggle(600);
$(this).parent().find('.accordian-arrow').toggleClass('accordian-arrow-down');
});
$('.logo-rht-txt').mouseover(function(){
$('ul.dropdown').show();
});
$('.logo-rht-txt').mouseout(function(){
$('ul.dropdown').hide();
});