add getAdditionalParams(), convert() returns false

This commit is contained in:
Uwe Steinmann 2021-10-08 12:11:10 +02:00
parent 895c76c42d
commit 1813ac32a0

View File

@ -49,6 +49,18 @@ abstract class SeedDMS_ConversionServiceBase {
return 'Conversion service';
}
public function getAdditionalParams() { /* {{{ */
return [];
} /* }}} */
/**
* This method does the conversion
*
* It either returns the content of converted file (if $target is null)
* or writes the converted file into $target and returns true on success
* or false on error.
*/
public function convert($infile, $target = null, $params = array()) {
return false;
}
}