コード例 #1
0
 /**
  *
  */
 public function __construct($ps_source = null, $pa_options = null)
 {
     parent::__construct($ps_source, $pa_options);
     $this->ops_title = _t('PBCore Instantiation Reader');
     $this->ops_display_name = _t('PBCore Instantiation');
     $this->ops_description = _t('Imports PBCore XML instantiations');
     $this->opa_formats = array('pbcoreinst');
     // must be all lowercase to allow for case-insensitive matching
 }
コード例 #2
0
ファイル: OmekaReader.php プロジェクト: samrahman/providence
 /**
  *
  */
 public function __construct($ps_source = null, $pa_options = null)
 {
     parent::__construct($ps_source, $pa_options);
     $this->ops_title = _t('Omeka XML Reader');
     $this->ops_display_name = _t('Omeka XML');
     $this->ops_description = _t('Reads Omeka XML files');
     $this->opa_formats = array('omeka');
     // must be all lowercase to allow for case-insensitive matching
 }
コード例 #3
0
 /**
  *
  */
 public function __construct($ps_source = null, $pa_options = null)
 {
     parent::__construct($ps_source, $pa_options);
     $this->ops_title = _t('FMPro DSOResult XML Reader');
     $this->ops_display_name = _t('FMPro DSOResult');
     $this->ops_description = _t('Reads Filemaker Pro DSOResult-format XML files');
     $this->opa_formats = array('fmpdso');
     // must be all lowercase to allow for case-insensitive matching
 }
コード例 #4
0
 /**
  *
  */
 public function __construct($ps_source = null, $pa_options = null)
 {
     parent::__construct($ps_source, $pa_options);
     $this->ops_title = _t('RDF (Resource Description Framework / DublinCore) XML Reader');
     $this->ops_display_name = _t('RDF XML');
     $this->ops_description = _t('Reads RDF XML files');
     $this->opa_formats = array('rdf');
     // must be all lowercase to allow for case-insensitive matching
 }
コード例 #5
0
 /**
  *
  */
 public function __construct($ps_source = null, $pa_options = null)
 {
     parent::__construct($ps_source, $pa_options);
     $this->ops_title = _t('WorldCat data reader');
     $this->ops_display_name = _t('WorldCat');
     $this->ops_description = _t('Reads data from WorldCat via web services');
     $this->opa_formats = array('worldcat');
     // must be all lowercase to allow for case-insensitive matching
     if ($vs_api_key = caGetOption('APIKey', $pa_options, null)) {
         $this->ops_api_key = $vs_api_key;
     } else {
         $o_config = Configuration::load();
         $this->ops_api_key = $o_config->get('worldcat_api_key');
     }
 }
コード例 #6
0
 /**
  *
  */
 public function __construct($ps_source = null, $pa_options = null)
 {
     parent::__construct($ps_source, $pa_options);
     $this->ops_title = _t('WorldCat data reader');
     $this->ops_display_name = _t('WorldCat');
     $this->ops_description = _t('Reads data from WorldCat via web services');
     $this->opa_formats = array('worldcat');
     // must be all lowercase to allow for case-insensitive matching
     $o_config = Configuration::load();
     if ($vs_api_key = caGetOption('APIKey', $pa_options, null)) {
         $this->ops_api_key = $vs_api_key;
     } else {
         $this->ops_api_key = $o_config->get('worldcat_api_key');
     }
     $this->opb_z3950_available = function_exists("yaz_connect");
     # TODO: check for CURL
     if ($vs_z3950_user = caGetOption('user', $pa_options, null)) {
         $this->ops_z3950_user = $vs_z3950_user;
     } else {
         $this->ops_z3950_user = $o_config->get('worldcat_z39.50_user');
     }
     if ($vs_z3950_password = caGetOption('password', $pa_options, null)) {
         $this->ops_z3950_password = $vs_z3950_password;
     } else {
         $this->ops_z3950_password = $o_config->get('worldcat_z39.50_password');
     }
 }
コード例 #7
0
 /**
  *
  */
 public function __construct($ps_source = null, $pa_options = null)
 {
     parent::__construct($ps_source, $pa_options);
     $this->ops_title = _t('ULAN data reader');
     $this->ops_display_name = _t('ULAN');
     $this->ops_description = _t('Reads data from ULAN via linked open data service');
     $this->opa_formats = array('ulan');
     // must be all lowercase to allow for case-insensitive matching
 }