/** Initialize the class * @constructor imdb_budget * @param string id IMDBID to use for data retrieval * @param optional object mdb_config override default config */ function __construct($id, mdb_config $config = null) { parent::__construct($id, $config); $this->revision = preg_replace('|^.*?(\\d+).*$|', '$1', '$Revision: 691 $'); $this->setid($id); $this->reset_vars(); }
/** Initialize the class * @constructor imdb_budget * @param string id IMDBID to use for data retrieval */ function __construct($id) { parent::__construct($id); $this->revision = preg_replace('|^.*?(\\d+).*$|', '$1', '$Revision: 482 $'); $this->setid($id); $this->reset_vars(); }
/** Initialize class * @constructor pilot * @param string id IMDBID to use for data retrieval */ function __construct($id) { parent::__construct($id); if (empty($this->pilot_apikey)) { trigger_error('Please provide a valid api key or contact api@moviepilot.de.', E_USER_WARNING); } $this->revision = preg_replace('|^.*?(\\d+).*$|', '$1', '$Revision: 481 $'); if (PILOT_IMDBFALLBACK) { $this->imdb = new imdb($id); } $this->setid($id); }
/** Initialize class * @constructor pilot * @param string id IMDBID to use for data retrieval */ function __construct($id) { parent::__construct($id); if (empty($this->pilot_apikey)) { trigger_error('Please provide a valid api key or contact api@moviepilot.de.', E_USER_WARNING); } $this->revision = preg_replace('|^.*?(\\d+).*$|', '$1', '$Revision: 318 $'); if (mdb_config::pilot_imdbfill) { $this->imdb = new imdb_person($id); } $this->setid($id); }
/** Initialize the class * @constructor imdb_movielist */ function __construct() { parent::__construct('0000001'); $this->revision = preg_replace('|^.*?(\\d+).*$|', '$1', '$Revision: 295 $'); $this->reset_vars(); }
/** * @param mdb_config $config OPTIONAL override default config */ public function __construct(mdb_config $config = null) { parent::__construct('0000001', $config); $this->revision = preg_replace('|^.*?(\\d+).*$|', '$1', '$Revision$'); }