ILIAS  release_7 Revision v7.30-3-g800a261c036
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

 $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.

References toLinuxConvention().

16  {
17  $this->path_to_ghostscript = $this->toLinuxConvention($path_to_ghostscript);
18  }
+ Here is the call graph for this function:

Member Function Documentation

◆ getPathToGhostscript()

ilPreviewSetupConfig::getPathToGhostscript ( )

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

References $path_to_ghostscript.

28  : ?string
29  {
31  }

◆ toLinuxConvention()

ilPreviewSetupConfig::toLinuxConvention ( ?string  $p)
protected

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

Referenced by __construct().

20  : ?string
21  {
22  if (!$p) {
23  return null;
24  }
25  return preg_replace("/\\\\/", "/", $p);
26  }
+ 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: