add method getInfo()

This commit is contained in:
Uwe Steinmann 2021-10-08 13:11:20 +02:00
parent 31db5f69fe
commit 90555f9728

View File

@ -28,6 +28,10 @@ class SeedDMS_ConversionServiceTextToText extends SeedDMS_ConversionServiceBase
$this->to = $to; $this->to = $to;
} }
public function getInfo() {
return "Pass through document contents";
}
public function convert($infile, $target = null, $params = array()) { public function convert($infile, $target = null, $params = array()) {
if($target) { if($target) {
file_put_contents($target, file_get_contents($infile)); file_put_contents($target, file_get_contents($infile));