Files
handbrake-cluster-webui/lib/RippingCluster/Rips/SourceSubtitleTrack.class.php
Ben Roberts 8f88fba0ca Added set accessors to Source objects
For Source plugins that can't parse all the required information before
creating the object, set accessors are needed to populate the
information afterwards.
2010-10-12 19:06:27 +01:00

47 lines
748 B
PHP

<?php
class RippingCluster_Rips_SourceSubtitleTrack {
protected $id;
protected $name;
protected $language;
protected $format;
public function __construct($id, $name, $language, $format) {
$this->id = $id;
$this->name = $name;
$this->language = $language;
$this->format = $format;
}
public function id() {
return $this->id;
}
public function name() {
return $this->name;
}
public function setName($name) {
$this->name = $name;
}
public function language() {
return $this->language;
}
public function setLanguage($language) {
$this->language = $language;
}
public function format() {
return $this->format;
}
public function setFormat($format) {
$this->format = $format;
}
};
?>