ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
class.ilPDFGenerationSetupConfig.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 2019 Richard Klees <richard.klees@concepts-and-training.de> Extended GPL, see docs/LICENSE */
4
5
use
ILIAS\Setup
;
6
7
class
ilPDFGenerationSetupConfig
implements
Setup\Config
8
{
12
protected
$path_to_phantom_js
;
13
14
public
function
__construct
(
15
?
string
$path_to_phantom_js
16
) {
17
$this->path_to_phantom_js = $this->
toLinuxConvention
($path_to_phantom_js);
18
}
19
20
protected
function
toLinuxConvention
(?
string
$p) : ?string
21
{
22
if
(!$p) {
23
return
null;
24
}
25
return
preg_replace(
"/\\\\/"
,
"/"
, $p);
26
}
27
28
public
function
getPathToPhantomJS
() : ?string
29
{
30
return
$this->path_to_phantom_js
;
31
}
32
}
ilPDFGenerationSetupConfig\$path_to_phantom_js
$path_to_phantom_js
Definition:
class.ilPDFGenerationSetupConfig.php:12
ilPDFGenerationSetupConfig\__construct
__construct(?string $path_to_phantom_js)
Definition:
class.ilPDFGenerationSetupConfig.php:14
ilPDFGenerationSetupConfig\toLinuxConvention
toLinuxConvention(?string $p)
Definition:
class.ilPDFGenerationSetupConfig.php:20
ilPDFGenerationSetupConfig\getPathToPhantomJS
getPathToPhantomJS()
Definition:
class.ilPDFGenerationSetupConfig.php:28
ILIAS\Setup
Definition:
AchievementTracker.php:5
ilPDFGenerationSetupConfig
Definition:
class.ilPDFGenerationSetupConfig.php:7
Services
PDFGeneration
classes
Setup
class.ilPDFGenerationSetupConfig.php
Generated on Wed Sep 3 2025 20:01:19 for ILIAS by
1.8.13 (using
Doxyfile
)