mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 07:22:11 +00:00
call constructor of parent
This commit is contained in:
parent
99e7623ea0
commit
f48f649249
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
} /* }}} */
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user