本文整理匯總了PHP中Review::setPeerReviewStatus方法的典型用法代碼示例。如果您正苦於以下問題:PHP Review::setPeerReviewStatus方法的具體用法?PHP Review::setPeerReviewStatus怎麽用?PHP Review::setPeerReviewStatus使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Review
的用法示例。
在下文中一共展示了Review::setPeerReviewStatus方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: intval
}
echo json_encode($result);
break;
// updates wizard step for user_review_id
// updates wizard step for user_review_id
case 'update_wizard':
$user_review_id = intval($_REQUEST['user_review_id']);
$wizard_step = intval($_REQUEST['wizard_step']);
$review->updateWizardStep($user_review_id, $wizard_step);
break;
// set the peer review status
// set the peer review status
case 'peer_review_status':
$user_review_id = intval($_REQUEST['user_review_id']);
$user_review_peer_status = intval($_REQUEST['user_review_peer_status']);
$review->setPeerReviewStatus($user_review_id, $user_review_peer_status);
break;
// marks review as completed
// marks review as completed
case 'review_completed':
$user_review_id = intval($_REQUEST['user_review_id']);
$review->setReviewCompleted($user_review_id);
break;
// marks review as started
// marks review as started
case 'review_started':
$user_review_id = intval($_REQUEST['user_review_id']);
$review->setReviewStarted($user_review_id);
break;
// reset current review of other user
// reset current review of other user