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.
This commit is contained in:
@@ -22,14 +22,26 @@ class RippingCluster_Rips_SourceSubtitleTrack {
|
||||
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;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user