19 declare(strict_types=1);
44 if (self::$instance) {
45 return self::$instance;
57 $this->copyright_selection_active = $status;
58 $this->
settings->set(
'copyright_selection_active', (
string) $status);
68 $this->oai_pmh_active = $status;
69 $this->
settings->set(
'oai_pmh_active', (
string) $status);
80 $this->
settings->set(
'oai_repository_name', $oai_repository_name);
91 $this->
settings->set(
'oai_identifier_prefix', $oai_identifier_prefix);
102 $this->
settings->set(
'oai_contact_mail', $oai_contact_mail);
109 $this->copyright_selection_active = (bool) $this->
settings->get(
'copyright_selection_active',
'0');
110 $this->oai_pmh_active = (bool) $this->
settings->get(
'oai_pmh_active',
'0');
111 $this->oai_repository_name = (string) $this->
settings->get(
'oai_repository_name',
'');
112 $this->oai_identifier_prefix = (string) $this->
settings->get(
'oai_identifier_prefix',
'');
113 $this->oai_contact_mail = (string) $this->
settings->get(
'oai_contact_mail',
'');
activateOAIPMH(bool $status)
string $oai_identifier_prefix
activateCopyrightSelection(bool $status)
saveOAIContactMail(string $oai_contact_mail)
isCopyrightSelectionActive()
saveOAIRepositoryName(string $oai_repository_name)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
bool $copyright_selection_active
saveOAIIdentifierPrefix(string $oai_identifier_prefix)
string $oai_repository_name