/** Read the config * @constructor pilotsearch */ function __construct() { parent::__construct(''); if (empty($this->pilot_apikey)) { trigger_error('Please provide a valid api key or contact api@moviepilot.de.', E_USER_WARNING); } $this->search_episodes(FALSE); }
/** Initialize class * @constructor movieposterdb * @param string id IMDBID to use for data retrieval * @param optional integer limit maximum amount of images to retrieve * (default: 20). Can be changed via set_limit() * @param optional boolean recurse whether to recurse if multiple versions * are available (default: TRUE). Can be changed via set_recurse() */ function __construct($id, $limit = 20, $recurse = TRUE) { parent::__construct($id); $this->setid($id); $this->reset_vars(); $this->set_limit($limit); $this->set_recurse($recurse); $this->urlparams = array('poster' => 'cid=1', 'cover' => 'cid=2', 'textless' => 'cid=3', 'logo' => 'cid=4', 'other' => 'cid=5', 'custom' => 'cid=6', 'unset' => 'cid=9'); $this->reset_lang(); }
/** Initialize class * @constructor movieposterdb * @param string id IMDBID to use for data retrieval * @param optional integer limit maximum amount of images to retrieve * (default: 20). Can be changed via set_limit() * @param optional boolean recurse whether to recurse if multiple versions * are available (default: TRUE). Can be changed via set_recurse() */ function __construct($id, $limit = 20, $recurse = TRUE) { parent::__construct($id); $this->setid($id); $this->reset_lang(); if ($this->force_agent) { $this->user_agent = $this->force_agent; } elseif (in_array('HTTP_USER_AGENT', array_keys($_SERVER))) { $this->user_agent = $_SERVER['HTTP_USER_AGENT']; } else { $this->user_agent = $this->default_agent; } $this->image_exts = array('jpg', 'png', 'gif', 'bmp'); }
/** Initialize class * @constructor movieposterdb * @param string id IMDBID to use for data retrieval * @param optional integer limit maximum amount of images to retrieve * (default: 20). Can be changed via set_limit() * @param optional boolean recurse whether to recurse if multiple versions * are available (default: TRUE). Can be changed via set_recurse() */ function __construct($id, $limit = 20, $recurse = TRUE, mdb_config $config = null) { parent::__construct($config); $this->setid($id); $this->reset_lang(); $this->revision = preg_replace('|^.*?(\\d+).*$|', '$1', '$Revision$'); if ($this->force_agent) { $this->user_agent = $this->force_agent; } elseif (in_array('HTTP_USER_AGENT', array_keys($_SERVER))) { $this->user_agent = $_SERVER['HTTP_USER_AGENT']; } else { $this->user_agent = $this->default_agent; } $this->image_exts = array('jpg', 'png', 'gif', 'bmp'); }
/** Initialize class * @constructor movieposterdb * @param string id IMDBID to use for data retrieval * @param optional integer limit maximum amount of images to retrieve * (default: 20). Can be changed via set_limit() * @param optional boolean recurse whether to recurse if multiple versions * are available (default: TRUE). Can be changed via set_recurse() */ function __construct($id, $limit = 20, $recurse = TRUE) { parent::__construct($id); $this->setid($id); $this->reset_vars(); $this->set_limit($limit); $this->set_recurse($recurse); $this->urlparams = array('poster' => 'cid=1', 'cover' => 'cid=2', 'textless' => 'cid=3', 'logo' => 'cid=4', 'other' => 'cid=5', 'custom' => 'cid=6', 'unset' => 'cid=9'); $this->reset_lang(); if ($this->force_agent) { $this->user_agent = $this->force_agent; } elseif (in_array('HTTP_USER_AGENT', array_keys($_SERVER))) { $this->user_agent = $_SERVER['HTTP_USER_AGENT']; } else { $this->user_agent = $this->default_agent; } $this->image_exts = array('jpg', 'png', 'gif', 'bmp'); }
/** Initialize class * @constructor imdb_person * @param string id IMDBID to use for data retrieval */ function __construct($id) { parent::__construct($id); $this->revision = preg_replace('|^.*?(\\d+).*$|', '$1', '$Revision: 270 $'); $this->setid($id); }
/** Read the config * @constructor imdbsearch */ function __construct() { parent::__construct(''); $this->search_episodes(FALSE); $this->last_results = 0; }
/** Initialize class * @constructor person_base * @param string id IMDBID to use for data retrieval */ function __construct($id) { parent::__construct($id); }
/** Initialize class * @constructor movie_base * @param string id IMDBID to use for data retrieval */ function __construct($id) { parent::__construct($id); $this->reset_vars(); }
/** * Initialize class * @param string $id IMDBID to use for data retrieval * @param mdb_config $config *optional* override default config */ function __construct($id, mdb_config $config = null) { parent::__construct($config); $this->reset_vars(); }
/** Read the config * @constructor imdbsearch */ function __construct() { parent::__construct(''); $this->search_episodes(FALSE); }