call constructor of parent

This commit is contained in:
Uwe Steinmann 2023-01-05 08:05:46 +01:00
parent 99e7623ea0
commit f48f649249
6 changed files with 7 additions and 0 deletions

View File

@ -92,6 +92,7 @@ class SeedDMS_ConversionServiceExec extends SeedDMS_ConversionServiceBase {
} /* }}} */
public function __construct($from, $to, $cmd, $timeout=5) {
parent::__construct();
$this->from = $from;
$this->to = $to;
$this->cmd = $cmd;

View File

@ -29,6 +29,7 @@ class SeedDMS_ConversionServiceImageToImage extends SeedDMS_ConversionServiceBas
public $timeout;
public function __construct($from, $to) { /* {{{ */
parent::__construct();
$this->from = $from;
$this->to = $to;
$this->timeout = 5;

View File

@ -29,6 +29,7 @@ class SeedDMS_ConversionServiceImageToText extends SeedDMS_ConversionServiceBase
public $timeout;
public function __construct($from, $to) { /* {{{ */
parent::__construct();
$this->from = $from;
$this->to = $to;
} /* }}} */

View File

@ -29,6 +29,7 @@ class SeedDMS_ConversionServicePdfToImage extends SeedDMS_ConversionServiceBase
public $timeout;
public function __construct($from, $to) {
parent::__construct();
$this->from = $from;
$this->to = $to;
$this->timeout = 5;
@ -75,6 +76,7 @@ class SeedDMS_ConversionServicePdfToImage extends SeedDMS_ConversionServiceBase
}
}
} catch (ImagickException $e) {
$this->success = false;
return false;
}
return false;

View File

@ -24,6 +24,7 @@ require_once("inc/inc.ClassConversionServiceBase.php");
*/
class SeedDMS_ConversionServiceTextToImage extends SeedDMS_ConversionServiceBase {
public function __construct($from, $to) {
parent::__construct();
$this->from = $from;
$this->to = $to;
}

View File

@ -24,6 +24,7 @@ require_once("inc/inc.ClassConversionServiceBase.php");
*/
class SeedDMS_ConversionServiceTextToText extends SeedDMS_ConversionServiceBase {
public function __construct($from, $to) {
parent::__construct();
$this->from = $from;
$this->to = $to;
}