コード例 #1
0
 /**
  * Get an array of publication detail lines combining information from
  * getPublicationDates(), getPublishers() and getPlacesOfPublication().
  *
  * @access  public
  * @return  array
  */
 function getPublicationDetails()
 {
     if (isset($this->eContentRecord)) {
         return array($this->eContentRecord->publishLocation . ' ' . $this->eContentRecord->publisher . ' ' . $this->eContentRecord->publishDate);
     } else {
         return parent::getPhysicalDescriptions();
     }
 }
コード例 #2
0
ファイル: EadRecord.php プロジェクト: bharatm/NDL-VuFind
 /**
  * Get an array of physical descriptions of the item.
  *
  * @return array
  * @access protected
  */
 protected function getPhysicalDescriptions()
 {
     $physDesc = parent::getPhysicalDescriptions();
     if (isset($this->fields['material'])) {
         $physDesc = array_merge($physDesc, $this->fields['material']);
     }
     return $physDesc;
 }