• Main Page
  • Modules
  • Classes
  • Files
  • File List

controllers/api/task/SendThankYouLinkAction.inc.php

00001 <?php
00018 import('lib.pkp.classes.linkAction.LinkAction');
00019 
00020 class SendThankYouLinkAction extends LinkAction {
00021 
00027    function SendThankYouLinkAction(&$request, $modalTitle, $actionArgs) {
00028       // Instantiate the send thank you modal.
00029       $router =& $request->getRouter();
00030       import('lib.pkp.classes.linkAction.request.AjaxModal');
00031 
00032       $ajaxModal = new AjaxModal(
00033          $router->url($request, null, null, 'editThankReviewer', null, $actionArgs),
00034          __($modalTitle),
00035          'modal_email'
00036       );
00037 
00038       // Configure the link action.
00039       parent::LinkAction(
00040          'thankReviewer', $ajaxModal,
00041          __('common.accepted'),
00042          'accepted'
00043       );
00044    }
00045 }
00046 
00047 ?>

Generated on Mon Sep 17 2012 13:58:55 for Open Monograph Press by  doxygen 1.7.1