mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 09:35:00 +00:00
add getAdditionalParams(), convert() returns false
This commit is contained in:
parent
895c76c42d
commit
1813ac32a0
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user