Skip to content
Snippets Groups Projects
Commit b810f2ab authored by Demian Katz's avatar Demian Katz
Browse files

Add isOpenAccess method.

parent 0a9cc3ae
No related merge requests found
...@@ -637,4 +637,14 @@ class Summon extends DefaultRecord ...@@ -637,4 +637,14 @@ class Summon extends DefaultRecord
{ {
return (bool)($this->fields['hasFullText'] ?? false); return (bool)($this->fields['hasFullText'] ?? false);
} }
/**
* Is this an open access record?
*
* @return bool
*/
public function isOpenAccess()
{
return (bool)($this->fields['IsOpenAccess'] ?? false);
}
} }
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