public function __construct($id, $title, $icon_url, $streaming_url, $number, $past_epg_days, $future_epg_days) { parent::__construct($id, $title, $icon_url, $streaming_url); $this->number = $number; $this->past_epg_days = $past_epg_days; $this->future_epg_days = $future_epg_days; }
public function __construct($id, $title, $icon_url, $has_archive, $is_protected, $buffering_ms, $timeshift_hours) { parent::__construct($id, $title, $icon_url, null); $this->has_archive = $has_archive; $this->is_protected = $is_protected; $this->buffering_ms = $buffering_ms; $this->timeshift_hours = $timeshift_hours; }