ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
ILIAS\Filesystem\Util\Archive\Options Class Reference
+ Inheritance diagram for ILIAS\Filesystem\Util\Archive\Options:
+ Collaboration diagram for ILIAS\Filesystem\Util\Archive\Options:

Public Member Functions

 getIgnoredPathSnippets ()
 like __MACOSX, will filter out all paths which contain one of those snippets More...
 
 withDirectoryHandling (ZipDirectoryHandling $top_dir_handling)
 
 getDirectoryHandling ()
 

Protected Attributes

ZipDirectoryHandling $top_directory_handling = ZipDirectoryHandling::KEEP_STRUCTURE
 

Private Attributes

array $ignore
 

Detailed Description

Author
Fabian Schmid fabia.nosp@m.n@sr.nosp@m..solu.nosp@m.tion.nosp@m.s

Definition at line 27 of file Options.php.

Member Function Documentation

◆ getDirectoryHandling()

ILIAS\Filesystem\Util\Archive\Options::getDirectoryHandling ( )

◆ getIgnoredPathSnippets()

ILIAS\Filesystem\Util\Archive\Options::getIgnoredPathSnippets ( )

like __MACOSX, will filter out all paths which contain one of those snippets

Definition at line 39 of file Options.php.

References ILIAS\Filesystem\Util\Archive\Options\$ignore.

39  : array
40  {
41  return $this->ignore;
42  }

◆ withDirectoryHandling()

ILIAS\Filesystem\Util\Archive\Options::withDirectoryHandling ( ZipDirectoryHandling  $top_dir_handling)

Definition at line 44 of file Options.php.

44  : self
45  {
46  $clone = clone $this;
47  $clone->top_directory_handling = $top_dir_handling;
48  return $clone;
49  }

Field Documentation

◆ $ignore

array ILIAS\Filesystem\Util\Archive\Options::$ignore
private
Initial value:
= [
'.DS_',
'__MACOSX',
]

Definition at line 29 of file Options.php.

Referenced by ILIAS\Filesystem\Util\Archive\Options\getIgnoredPathSnippets().

◆ $top_directory_handling

ZipDirectoryHandling ILIAS\Filesystem\Util\Archive\Options::$top_directory_handling = ZipDirectoryHandling::KEEP_STRUCTURE
protected

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