本文整理汇总了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