コード例 #1
0
ファイル: tmdb.class.php プロジェクト: horrabin/opendb
 function tmdb($site_type)
 {
     parent::SitePlugin($site_type);
     $this->apikey = $this->_site_plugin_conf_r['tmdb_apikey'];
     $jsonData = json_decode($this->fetchURI($this->baseURL . 'configuration?api_key=' . $this->apikey), true);
     if (!is_null($jsonData)) {
         $this->imgBase = $jsonData['images']['base_url'];
         $this->imgResultsSize = $jsonData['images']['poster_sizes'][0];
         if (is_numeric($this->_site_plugin_conf_r['cover_width'])) {
             $this->_site_plugin_conf_r['cover_width'] = 'w' . $this->_site_plugin_conf_r['cover_width'];
         }
     }
 }
コード例 #2
0
 function odbamazonecs($site_type)
 {
     parent::SitePlugin($site_type);
     $this->siteAttributeType = strtolower(fetch_site_attribute_type($site_type));
     $siteDomain = ifempty($this->getConfigValue('amazon_site_domain'), 'com');
     $accessKey = $this->getConfigValue('amazon_access_key', 0);
     $secretKey = $this->getConfigValue('amazon_secret_key', 0);
     // Can not continue if no amazon access key has been set
     if ($accessKey != '' && $secretKey != '') {
         $this->isConfigured = TRUE;
         $this->client = new AmazonECS($accessKey, $secretKey, $siteDomain, 'aztag-20');
         $this->client->returnType(AmazonECS::RETURN_TYPE_ARRAY);
     }
 }
コード例 #3
0
ファイル: amazon.class.php プロジェクト: horrabin/opendb
 function amazon($site_type)
 {
     parent::SitePlugin($site_type);
     $this->asinId = $this->sites[$site_type]['asinId'];
     $this->url = $this->sites[$site_type]['url'];
 }
コード例 #4
0
ファイル: iblist.class.php プロジェクト: horrabin/opendb
 function iblist($site_type)
 {
     parent::SitePlugin($site_type);
 }
コード例 #5
0
ファイル: emusic.class.php プロジェクト: horrabin/opendb
 function emusic($site_type)
 {
     parent::SitePlugin($site_type);
 }
コード例 #6
0
ファイル: mobygames.class.php プロジェクト: horrabin/opendb
 function mobygames($site_type)
 {
     parent::SitePlugin($site_type);
 }
コード例 #7
0
ファイル: hminfo.class.php プロジェクト: horrabin/opendb
 function hminfo($site_type)
 {
     parent::SitePlugin($site_type);
 }
コード例 #8
0
ファイル: michaeld.class.php プロジェクト: horrabin/opendb
 function michaeld($site_type)
 {
     parent::SitePlugin($site_type);
 }
コード例 #9
0
ファイル: imdbphp.class.php プロジェクト: robboor/opendb
 function imdbphp($site_type)
 {
     parent::SitePlugin($site_type);
 }
コード例 #10
0
ファイル: mangaupdat.class.php プロジェクト: horrabin/opendb
 function mangaupdat($site_type)
 {
     parent::SitePlugin($site_type);
 }
コード例 #11
0
ファイル: dvdfr.class.php プロジェクト: horrabin/opendb
 function dvdfr($site_type)
 {
     parent::SitePlugin($site_type);
 }
コード例 #12
0
ファイル: dvdempire.class.php プロジェクト: horrabin/opendb
 function dvdempire($site_type)
 {
     parent::SitePlugin($site_type);
 }
コード例 #13
0
ファイル: cmbkdbt.class.php プロジェクト: horrabin/opendb
 function cmbkdbt($site_type)
 {
     parent::SitePlugin($site_type);
 }
コード例 #14
0
ファイル: moviemeter.class.php プロジェクト: horrabin/opendb
 function moviemeter($site_type)
 {
     parent::SitePlugin($site_type);
 }
コード例 #15
0
ファイル: gbooks.class.php プロジェクト: horrabin/opendb
 function gbooks($site_type)
 {
     parent::SitePlugin($site_type);
 }
コード例 #16
0
ファイル: freedb.class.php プロジェクト: horrabin/opendb
 function freedb($site_type)
 {
     parent::SitePlugin($site_type);
 }