Skip to content
Snippets Groups Projects
Commit 6e5b552c authored by André Lahmann's avatar André Lahmann
Browse files

refs #6826:

* added getRecordType() to SolrDefaultFincTrait
parent 69f47f5f
Branches
Tags
No related merge requests found
...@@ -423,6 +423,17 @@ trait SolrDefaultFincTrait ...@@ -423,6 +423,17 @@ trait SolrDefaultFincTrait
return $array; return $array;
} }
/**
* Get the recordtype of the current Record
*
* @return string
*/
public function getRecordType()
{
return isset($this->fields['recordtype']) ?
$this->fields['recordtype'] : '';
}
/** /**
* Get percentage of relevance of a title. First implementaion for TUBAF. * Get percentage of relevance of a title. First implementaion for TUBAF.
* *
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment