mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +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) {
|
public function __construct($from, $to, $cmd, $timeout=5) {
|
||||||
|
parent::__construct();
|
||||||
$this->from = $from;
|
$this->from = $from;
|
||||||
$this->to = $to;
|
$this->to = $to;
|
||||||
$this->cmd = $cmd;
|
$this->cmd = $cmd;
|
||||||
|
|
|
@ -29,6 +29,7 @@ class SeedDMS_ConversionServiceImageToImage extends SeedDMS_ConversionServiceBas
|
||||||
public $timeout;
|
public $timeout;
|
||||||
|
|
||||||
public function __construct($from, $to) { /* {{{ */
|
public function __construct($from, $to) { /* {{{ */
|
||||||
|
parent::__construct();
|
||||||
$this->from = $from;
|
$this->from = $from;
|
||||||
$this->to = $to;
|
$this->to = $to;
|
||||||
$this->timeout = 5;
|
$this->timeout = 5;
|
||||||
|
|
|
@ -29,6 +29,7 @@ class SeedDMS_ConversionServiceImageToText extends SeedDMS_ConversionServiceBase
|
||||||
public $timeout;
|
public $timeout;
|
||||||
|
|
||||||
public function __construct($from, $to) { /* {{{ */
|
public function __construct($from, $to) { /* {{{ */
|
||||||
|
parent::__construct();
|
||||||
$this->from = $from;
|
$this->from = $from;
|
||||||
$this->to = $to;
|
$this->to = $to;
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
|
@ -29,6 +29,7 @@ class SeedDMS_ConversionServicePdfToImage extends SeedDMS_ConversionServiceBase
|
||||||
public $timeout;
|
public $timeout;
|
||||||
|
|
||||||
public function __construct($from, $to) {
|
public function __construct($from, $to) {
|
||||||
|
parent::__construct();
|
||||||
$this->from = $from;
|
$this->from = $from;
|
||||||
$this->to = $to;
|
$this->to = $to;
|
||||||
$this->timeout = 5;
|
$this->timeout = 5;
|
||||||
|
@ -75,6 +76,7 @@ class SeedDMS_ConversionServicePdfToImage extends SeedDMS_ConversionServiceBase
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (ImagickException $e) {
|
} catch (ImagickException $e) {
|
||||||
|
$this->success = false;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -24,6 +24,7 @@ require_once("inc/inc.ClassConversionServiceBase.php");
|
||||||
*/
|
*/
|
||||||
class SeedDMS_ConversionServiceTextToImage extends SeedDMS_ConversionServiceBase {
|
class SeedDMS_ConversionServiceTextToImage extends SeedDMS_ConversionServiceBase {
|
||||||
public function __construct($from, $to) {
|
public function __construct($from, $to) {
|
||||||
|
parent::__construct();
|
||||||
$this->from = $from;
|
$this->from = $from;
|
||||||
$this->to = $to;
|
$this->to = $to;
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,6 +24,7 @@ require_once("inc/inc.ClassConversionServiceBase.php");
|
||||||
*/
|
*/
|
||||||
class SeedDMS_ConversionServiceTextToText extends SeedDMS_ConversionServiceBase {
|
class SeedDMS_ConversionServiceTextToText extends SeedDMS_ConversionServiceBase {
|
||||||
public function __construct($from, $to) {
|
public function __construct($from, $to) {
|
||||||
|
parent::__construct();
|
||||||
$this->from = $from;
|
$this->from = $from;
|
||||||
$this->to = $to;
|
$this->to = $to;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user