当前位置: 首页>>代码示例>>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;未经允许,请勿转载。