Exemple #1
0
 /**
  *
  */
 public function __construct()
 {
     global $g_information_service_settings_TGN;
     WLPlugInformationServiceTGN::$s_settings = $g_information_service_settings_TGN;
     parent::__construct();
     $this->info['NAME'] = 'TGN';
     $this->description = _t('Provides access to Getty Linked Open Data TGN service');
 }
 public function testGetExtendedInfoWithGibberish()
 {
     $o_service = new WLPlugInformationServiceTGN();
     $o_service->getExtendedInformation(array(), 'gibberish');
 }
 public function testGetSearchIndexing()
 {
     $o_service = new WLPlugInformationServiceTGN();
     $o_service->getDataForSearchIndexing(array(), 'http://vocab.getty.edu/tgn/7015849');
 }