本文整理汇总了PHP中ReviewAssignment::getStageId方法的典型用法代码示例。如果您正苦于以下问题:PHP ReviewAssignment::getStageId方法的具体用法?PHP ReviewAssignment::getStageId怎么用?PHP ReviewAssignment::getStageId使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ReviewAssignment
的用法示例。
在下文中一共展示了ReviewAssignment::getStageId方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: fetch
/**
* Fetch the Edit Review Form form
* @param $request PKPRequest
* @see Form::fetch()
*/
function fetch($request)
{
$templateMgr = TemplateManager::getManager($request);
// Pass along various necessary parameters from request
$templateMgr->assign('stageId', $this->_reviewAssignment->getStageId());
$templateMgr->assign('reviewRoundId', $this->_reviewRound->getId());
$templateMgr->assign('submissionId', $this->_reviewAssignment->getSubmissionId());
$templateMgr->assign('reviewAssignmentId', $this->_reviewAssignment->getId());
return parent::fetch($request);
}
示例2: fetch
/**
* Fetch the Edit Review Form form
* @param $request PKPRequest
* @see Form::fetch()
*/
function fetch($request)
{
$templateMgr = TemplateManager::getManager($request);
$templateMgr->assign(array('stageId' => $this->_reviewAssignment->getStageId(), 'reviewRoundId' => $this->_reviewRound->getId(), 'submissionId' => $this->_reviewAssignment->getSubmissionId(), 'reviewAssignmentId' => $this->_reviewAssignment->getId()));
return parent::fetch($request);
}