Example #1
0
 /**
  *
  */
 public function __construct()
 {
     global $g_information_service_settings_WorldCat;
     WLPlugInformationServiceWorldCat::$s_settings = $g_information_service_settings_WorldCat;
     parent::__construct();
     $this->info['NAME'] = 'WorldCat';
     $this->description = _t('Provides access to WorldCat data');
 }
 /**
  *
  */
 public function Detail()
 {
     if (!$this->request->user->canDoAction('can_import_worldcat')) {
         return;
     }
     $o_wc = new WLPlugInformationServiceWorldCat();
     $this->view->setVar('detail', $o_wc->getExtendedInformation(array(), $this->request->getParameter('url', pString)));
     $this->render("ajax_worldcat_detail_json.php");
 }