ILIAS  release_8 Revision v8.24
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

string $path_to_ghostscript
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ilPreviewSetupConfig::__construct ( ?string  $path_to_ghostscript)

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

27 {
28 $this->path_to_ghostscript = $this->toLinuxConvention($path_to_ghostscript);
29 }

References toLinuxConvention().

+ Here is the call graph for this function:

Member Function Documentation

◆ getPathToGhostscript()

ilPreviewSetupConfig::getPathToGhostscript ( )

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

39 : ?string
40 {
42 }

References $path_to_ghostscript.

◆ toLinuxConvention()

ilPreviewSetupConfig::toLinuxConvention ( ?string  $p)
protected

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

31 : ?string
32 {
33 if (!$p) {
34 return null;
35 }
36 return preg_replace("/\\\\/", "/", $p);
37 }

Referenced by __construct().

+ Here is the caller graph for this function:

Field Documentation

◆ $path_to_ghostscript

string ilPreviewSetupConfig::$path_to_ghostscript
protected

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

Referenced by getPathToGhostscript().


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