ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilUtilitiesSetupConfig Class Reference
+ Inheritance diagram for ilUtilitiesSetupConfig:
+ Collaboration diagram for ilUtilitiesSetupConfig:

Public Member Functions

 __construct (string $path_to_convert, string $path_to_zip, string $path_to_unzip)
 
 getPathToConvert ()
 
 getPathToZip ()
 
 getPathToUnzip ()
 

Protected Member Functions

 toLinuxConvention (?string $p)
 

Protected Attributes

string $path_to_convert
 
string $path_to_zip
 
string $path_to_unzip
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ilUtilitiesSetupConfig::__construct ( string  $path_to_convert,
string  $path_to_zip,
string  $path_to_unzip 
)

Definition at line 29 of file class.ilUtilitiesSetupConfig.php.

References toLinuxConvention().

33  {
34  $this->path_to_convert = $this->toLinuxConvention($path_to_convert);
35  $this->path_to_zip = $this->toLinuxConvention($path_to_zip);
36  $this->path_to_unzip = $this->toLinuxConvention($path_to_unzip);
37  }
+ Here is the call graph for this function:

Member Function Documentation

◆ getPathToConvert()

ilUtilitiesSetupConfig::getPathToConvert ( )

Definition at line 47 of file class.ilUtilitiesSetupConfig.php.

References $path_to_convert.

47  : string
48  {
50  }

◆ getPathToUnzip()

ilUtilitiesSetupConfig::getPathToUnzip ( )

Definition at line 57 of file class.ilUtilitiesSetupConfig.php.

References $path_to_unzip.

57  : string
58  {
59  return $this->path_to_unzip;
60  }

◆ getPathToZip()

ilUtilitiesSetupConfig::getPathToZip ( )

Definition at line 52 of file class.ilUtilitiesSetupConfig.php.

References $path_to_zip.

52  : string
53  {
54  return $this->path_to_zip;
55  }

◆ toLinuxConvention()

ilUtilitiesSetupConfig::toLinuxConvention ( ?string  $p)
protected

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

Referenced by __construct().

39  : ?string
40  {
41  if (!$p) {
42  return null;
43  }
44  return preg_replace("/\\\\/", "/", $p);
45  }
+ Here is the caller graph for this function:

Field Documentation

◆ $path_to_convert

string ilUtilitiesSetupConfig::$path_to_convert
protected

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

Referenced by getPathToConvert().

◆ $path_to_unzip

string ilUtilitiesSetupConfig::$path_to_unzip
protected

Definition at line 27 of file class.ilUtilitiesSetupConfig.php.

Referenced by getPathToUnzip().

◆ $path_to_zip

string ilUtilitiesSetupConfig::$path_to_zip
protected

Definition at line 26 of file class.ilUtilitiesSetupConfig.php.

Referenced by getPathToZip().


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