mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
55 lines
1019 B
PHP
55 lines
1019 B
PHP
![]() |
<?php
|
||
|
/**
|
||
|
* Implementation of conversion service base class
|
||
|
*
|
||
|
* @category DMS
|
||
|
* @package SeedDMS
|
||
|
* @license GPL 2
|
||
|
* @version @version@
|
||
|
* @author Uwe Steinmann <uwe@steinmann.cx>
|
||
|
* @copyright Copyright (C) 2021 Uwe Steinmann
|
||
|
* @version Release: @package_version@
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* Implementation of conversion service base class
|
||
|
*
|
||
|
* @category DMS
|
||
|
* @package SeedDMS
|
||
|
* @author Uwe Steinmann <uwe@steinmann.cx>
|
||
|
* @copyright Copyright (C) 2021 Uwe Steinmann
|
||
|
* @version Release: @package_version@
|
||
|
*/
|
||
|
abstract class SeedDMS_ConversionServiceBase {
|
||
|
/**
|
||
|
* mimetype original file
|
||
|
*/
|
||
|
public $from;
|
||
|
|
||
|
/**
|
||
|
* mimetype converted file
|
||
|
*/
|
||
|
public $to;
|
||
|
|
||
|
/**
|
||
|
* logger
|
||
|
*/
|
||
|
protected $logger;
|
||
|
|
||
|
public function __construct() {
|
||
|
$this->from = null;
|
||
|
$this->to = null;
|
||
|
}
|
||
|
|
||
|
public function setLogger($logger) {
|
||
|
$this->logger = $logger;
|
||
|
}
|
||
|
|
||
|
public function getInfo() {
|
||
|
return 'Conversion service';
|
||
|
}
|
||
|
|
||
|
public function convert($infile, $target = null, $params = array()) {
|
||
|
}
|
||
|
}
|