/**
  * Check if a custom template exists with the given email key for a journal.
  * @param $emailKey string
  * @param $journalId int
  * @return boolean
  */
 function customTemplateExistsByKey($emailKey, $journalId)
 {
     return parent::customTemplateExistsByKey($emailKey, ASSOC_TYPE_JOURNAL, $journalId);
 }
 /**
  * Check if a custom template exists with the given email key for a press.
  * @param $emailKey string
  * @param $pressId int
  * @return boolean
  */
 function customTemplateExistsByKey($emailKey, $pressId)
 {
     return parent::customTemplateExistsByKey($emailKey, ASSOC_TYPE_PRESS, $pressId);
 }
Exemple #3
0
 /**
  * Check if a custom template exists with the given email key for a conference.
  * @param $emailKey string
  * @param $conferenceId int
  * @return boolean
  */
 function customTemplateExistsByKey($emailKey, $conferenceId)
 {
     return parent::customTemplateExistsByKey($emailKey, ASSOC_TYPE_CONFERENCE, $conferenceId);
 }
 /**
  * Check if a custom template exists with the given email key for a journal.
  * @param $emailKey string
  * @return boolean
  */
 function customTemplateExistsByKey($emailKey)
 {
     return parent::customTemplateExistsByKey($emailKey, 0, 0);
 }