當前位置: 首頁>>代碼示例>>PHP>>正文


PHP ProofreaderAction::proofreadEmail方法代碼示例

本文整理匯總了PHP中ProofreaderAction::proofreadEmail方法的典型用法代碼示例。如果您正苦於以下問題:PHP ProofreaderAction::proofreadEmail方法的具體用法?PHP ProofreaderAction::proofreadEmail怎麽用?PHP ProofreaderAction::proofreadEmail使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在ProofreaderAction的用法示例。


在下文中一共展示了ProofreaderAction::proofreadEmail方法的9個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: completeProofreader

 /**
  * Sets proofreader completion date
  * @param $args array
  * @param $request PKPRequest
  */
 function completeProofreader($args, &$request)
 {
     $articleId = (int) $request->getUserVar('articleId');
     $this->validate($request, $articleId);
     $this->setupTemplate(true);
     if (ProofreaderAction::proofreadEmail($articleId, 'PROOFREAD_COMPLETE', $request, $request->getUserVar('send') ? '' : $request->url(null, 'proofreader', 'completeProofreader'))) {
         $request->redirect(null, null, 'submission', $articleId);
     }
 }
開發者ID:yuricampos,項目名稱:ojs,代碼行數:14,代碼來源:SubmissionProofreadHandler.inc.php

示例2: completeProofreader

 /**
  * Sets proofreader completion date
  */
 function completeProofreader($args)
 {
     $articleId = Request::getUserVar('articleId');
     SubmissionProofreadHandler::validate($articleId);
     parent::setupTemplate(true);
     if (ProofreaderAction::proofreadEmail($articleId, 'PROOFREAD_COMPLETE', Request::getUserVar('send') ? '' : Request::url(null, 'proofreader', 'completeProofreader'))) {
         Request::redirect(null, null, 'submission', $articleId);
     }
 }
開發者ID:Jouper,項目名稱:jouper,代碼行數:12,代碼來源:SubmissionProofreadHandler.inc.php

示例3: thankLayoutEditorProofreader

 /**
  * Thank layout editor for proofreading
  */
 function thankLayoutEditorProofreader($args)
 {
     $articleId = Request::getUserVar('articleId');
     $send = Request::getUserVar('send') ? 1 : 0;
     list($journal, $submission) = SubmissionEditHandler::validate($articleId, SECTION_EDITOR_ACCESS_EDIT);
     parent::setupTemplate(true, $articleId, 'editing');
     import('submission.proofreader.ProofreaderAction');
     if (ProofreaderAction::proofreadEmail($articleId, 'PROOFREAD_LAYOUT_ACK', $send ? '' : Request::url(null, null, 'thankLayoutEditorProofreader'))) {
         Request::redirect(null, null, 'submissionEditing', $articleId);
     }
 }
開發者ID:LiteratimBi,項目名稱:jupitertfn,代碼行數:14,代碼來源:SubmissionEditHandler.inc.php

示例4: authorProofreadingComplete

 /**
  * Set the author proofreading date completion
  */
 function authorProofreadingComplete($args)
 {
     $articleId = Request::getUserVar('articleId');
     $this->validate($articleId);
     $this->setupTemplate(true);
     $send = isset($args[0]) && $args[0] == 'send' ? true : false;
     import('classes.submission.proofreader.ProofreaderAction');
     if (ProofreaderAction::proofreadEmail($articleId, 'PROOFREAD_AUTHOR_COMPLETE', $send ? '' : Request::url(null, 'author', 'authorProofreadingComplete', 'send'))) {
         Request::redirect(null, null, 'submissionEditing', $articleId);
     }
 }
開發者ID:master3395,項目名稱:CBPPlatform,代碼行數:14,代碼來源:TrackSubmissionHandler.inc.php

示例5: layoutEditorProofreadingComplete

 /**
  * Sets the date of layout editor proofreading completion
  */
 function layoutEditorProofreadingComplete($args)
 {
     $articleId = Request::getUserVar('articleId');
     list($journal, $submission) = SubmissionLayoutHandler::validate($articleId);
     parent::setupTemplate(true, $articleId);
     $send = false;
     if (isset($args[0])) {
         $send = Request::getUserVar('send') ? true : false;
     }
     import('submission.proofreader.ProofreaderAction');
     if (ProofreaderAction::proofreadEmail($articleId, 'PROOFREAD_LAYOUT_COMPLETE', $send ? '' : Request::url(null, 'layoutEditor', 'layoutEditorProofreadingComplete', 'send'))) {
         Request::redirect(null, null, 'submission', $articleId);
     }
 }
開發者ID:LiteratimBi,項目名稱:jupitertfn,代碼行數:17,代碼來源:SubmissionLayoutHandler.inc.php

示例6: authorProofreadingComplete

 /**
  * Set the author proofreading date completion
  * @param $args array
  * @param $request PKPRequest
  */
 function authorProofreadingComplete($args, $request)
 {
     $articleId = (int) $request->getUserVar('articleId');
     $this->validate($request, $articleId);
     $this->setupTemplate(true, $articleId);
     $send = $request->getUserVar('send') ? true : false;
     import('classes.submission.proofreader.ProofreaderAction');
     if (ProofreaderAction::proofreadEmail($articleId, 'PROOFREAD_AUTHOR_COMPLETE', $request, $send ? '' : $request->url(null, 'copyeditor', 'authorProofreadingComplete', 'send'))) {
         $request->redirect(null, null, 'submission', $articleId);
     }
 }
開發者ID:EreminDm,項目名稱:water-cao,代碼行數:16,代碼來源:SubmissionCopyeditHandler.inc.php

示例7: thankLayoutEditorProofreader

 /**
  * Thank layout editor for proofreading
  * @param $args array
  * @param $request PKPRequest
  */
 function thankLayoutEditorProofreader($args, $request)
 {
     $articleId = (int) $request->getUserVar('articleId');
     $send = $request->getUserVar('send');
     $this->validate($articleId, SECTION_EDITOR_ACCESS_EDIT);
     $this->setupTemplate(true, $articleId, 'editing');
     import('classes.submission.proofreader.ProofreaderAction');
     if (ProofreaderAction::proofreadEmail($articleId, 'PROOFREAD_LAYOUT_ACK', $request, $send ? '' : $request->url(null, null, 'thankLayoutEditorProofreader'))) {
         $request->redirect(null, null, 'submissionEditing', $articleId);
     }
 }
開發者ID:EreminDm,項目名稱:water-cao,代碼行數:16,代碼來源:SubmissionEditHandler.inc.php

示例8: completeProofreader

 /**
  * Sets proofreader completion date
  * @param $args array
  * @param $request PKPRequest
  */
 function completeProofreader($args, &$request)
 {
     $articleId = (int) $request->getUserVar('articleId');
     $this->validate($request, $articleId);
     $this->setupTemplate($request, true);
     // set the date notified for this signoff so proofreading can no longer be initiated.
     $signoffDao =& DAORegistry::getDAO('SignoffDAO');
     $signoff = $signoffDao->build('SIGNOFF_PROOFREADING_PROOFREADER', ASSOC_TYPE_ARTICLE, $articleId);
     $signoff->setDateNotified(Core::getCurrentDate());
     $signoffDao->updateObject($signoff);
     $signoff = $signoffDao->build('SIGNOFF_PROOFREADING_LAYOUT', ASSOC_TYPE_ARTICLE, $articleId);
     $signoff->setDateCompleted(Core::getCurrentDate());
     $signoffDao->updateObject($signoff);
     if (ProofreaderAction::proofreadEmail($articleId, 'PROOFREAD_COMPLETE', $request, $request->getUserVar('send') ? '' : $request->url(null, 'layoutEditor', 'completeProofreader'))) {
         $request->redirect(null, null, 'submission', $articleId);
     }
 }
開發者ID:yuricampos,項目名稱:ojs,代碼行數:22,代碼來源:LayoutEditorHandler.inc.php

示例9: layoutEditorProofreadingComplete

 /**
  * Sets the date of layout editor proofreading completion
  * @param $args array
  * @param $request Request
  */
 function layoutEditorProofreadingComplete($args, $request)
 {
     $articleId = (int) $request->getUserVar('articleId');
     list($journal, $submission) = $this->validate($request, $articleId);
     $this->setupTemplate(true, $articleId);
     $send = false;
     if (isset($args[0])) {
         $send = $request->getUserVar('send') ? true : false;
     }
     import('classes.submission.proofreader.ProofreaderAction');
     if (ProofreaderAction::proofreadEmail($articleId, 'PROOFREAD_LAYOUT_COMPLETE', $request, $send ? '' : $request->url(null, 'layoutEditor', 'layoutEditorProofreadingComplete', 'send'))) {
         $request->redirect(null, null, 'submission', $articleId);
     }
 }
開發者ID:yuricampos,項目名稱:ojs,代碼行數:19,代碼來源:SubmissionLayoutHandler.inc.php


注:本文中的ProofreaderAction::proofreadEmail方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。