ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
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.

References toLinuxConvention().

27  {
28  $this->path_to_ghostscript = $this->toLinuxConvention($path_to_ghostscript);
29  }
+ Here is the call graph for this function:

Member Function Documentation

◆ getPathToGhostscript()

ilPreviewSetupConfig::getPathToGhostscript ( )

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

References $path_to_ghostscript.

39  : ?string
40  {
42  }

◆ toLinuxConvention()

ilPreviewSetupConfig::toLinuxConvention ( ?string  $p)
protected

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

Referenced by __construct().

31  : ?string
32  {
33  if (!$p) {
34  return null;
35  }
36  return preg_replace("/\\\\/", "/", $p);
37  }
+ 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: