ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
ilPreviewSetupConfig Class Reference
+ Inheritance diagram for ilPreviewSetupConfig:
+ Collaboration diagram for ilPreviewSetupConfig:

Public Member Functions

 __construct (?string $path_to_ghostscript)
 
 getPathToGhostscript ()
 

Protected Member Functions

 toLinuxConvention (?string $p)
 

Protected Attributes

 $path_to_ghostscript
 

Detailed Description

Definition at line 7 of file class.ilPreviewSetupConfig.php.

Constructor & Destructor Documentation

◆ __construct()

ilPreviewSetupConfig::__construct ( ?string  $path_to_ghostscript)

Definition at line 14 of file class.ilPreviewSetupConfig.php.

16 {
17 $this->path_to_ghostscript = $this->toLinuxConvention($path_to_ghostscript);
18 }

References toLinuxConvention().

+ Here is the call graph for this function:

Member Function Documentation

◆ getPathToGhostscript()

ilPreviewSetupConfig::getPathToGhostscript ( )

Definition at line 28 of file class.ilPreviewSetupConfig.php.

28 : ?string
29 {
31 }

References $path_to_ghostscript.

◆ toLinuxConvention()

ilPreviewSetupConfig::toLinuxConvention ( ?string  $p)
protected

Definition at line 20 of file class.ilPreviewSetupConfig.php.

20 : ?string
21 {
22 if (!$p) {
23 return null;
24 }
25 return preg_replace("/\\\\/", "/", $p);
26 }

Referenced by __construct().

+ Here is the caller graph for this function:

Field Documentation

◆ $path_to_ghostscript

ilPreviewSetupConfig::$path_to_ghostscript
protected

Definition at line 12 of file class.ilPreviewSetupConfig.php.

Referenced by getPathToGhostscript().


The documentation for this class was generated from the following file: