Exemplo n.º 1
0
 /**
  * Get a sortable title for the record (i.e. no leading articles).
  *
  * @return string
  */
 public function getSortTitle()
 {
     $field = $this->getMarcRecord()->getField('245');
     if ($field) {
         $title = $field->getSubfield('a');
         if ($title) {
             $skip = $field->getIndicator(2);
             return substr($title->getData(), $skip);
         }
     }
     return parent::getSortTitle();
 }