コード例 #1
0
ファイル: Home.php プロジェクト: victorfcm/VuFind-Plus
 /**
  * @param PublicEContentDriver $recordDriver
  */
 function loadCitations($recordDriver)
 {
     global $interface;
     $citationCount = 0;
     $formats = $recordDriver->getCitationFormats();
     foreach ($formats as $current) {
         $interface->assign(strtolower($current), $recordDriver->getCitation($current));
         $citationCount++;
     }
     $interface->assign('citationCount', $citationCount);
 }