Ejemplo n.º 1
0
 /**
  * Display an HTML-formatted citation. We register String::strtoupper modifier
  * in order to convert author names to uppercase.
  * @param $article Article
  * @param $issue Issue
  * @param $journal Journal
  */
 function displayCitation(&$article, &$issue, &$journal)
 {
     $templateMgr =& TemplateManager::getManager();
     $templateMgr->register_modifier('mb_upper', array('String', 'strtoupper'));
     return parent::displayCitation($article, $issue, $journal);
 }
Ejemplo n.º 2
0
 /**
  * Display an HTML-formatted citation. We register PKPString::strtoupper modifier
  * in order to convert author names to uppercase.
  * @param $article Article
  * @param $issue Issue
  * @param $journal Journal
  */
 function displayCitation(&$article, &$issue, &$journal)
 {
     $templateMgr = TemplateManager::getManager($this->getRequest());
     $templateMgr->register_modifier('mb_upper', array('PKPString', 'strtoupper'));
     $templateMgr->register_modifier('abnt_date_format', array($this, 'abntDateFormat'));
     $templateMgr->register_modifier('abnt_date_format_with_day', array($this, 'abntDateFormatWithDay'));
     return parent::displayCitation($article, $issue, $journal);
 }