| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
Copy definition for workspace folders. More...
 Inheritance diagram for ilWorkspaceCopyDefinition:
 Collaboration diagram for ilWorkspaceCopyDefinition:Public Member Functions | |
| getCopyDefinitions () | |
| setCopyDefinitions (array $a_definitions) | |
| Set copy definitions.  More... | |
| getTempDir () | |
| setTempDir (string $temp_dir) | |
| Set directory name located in /temp/ directory.  More... | |
| getObjectWspIds () | |
| setObjectWspIds (array $object_wps_ids, bool $append=false) | |
| getNumFiles () | |
| setNumFiles (int $num_files) | |
| getSumFileSizes () | |
| setSumFileSizes (int $sum_file_sizes) | |
| getAdheresToLimit () | |
| setAdheresToLimit (BooleanValue $adheres_to_limit) | |
| addCopyDefinition (string $a_source, string $a_target) | |
| equals (Value $other) | |
| getHash () | |
| serialize () | |
| setValue ($value) | |
| Set value.  More... | |
| unserialize ($data) | |
| Unserialize definitions.  More... | |
  Public Member Functions inherited from ILIAS\BackgroundTasks\Implementation\Values\AbstractValue | |
| getType () | |
| getParentTask () | |
| setParentTask (Task $parentTask) | |
| hasParentTask () | |
| __serialize () | |
| __unserialize (array $data) | |
Data Fields | |
| const | COPY_SOURCE_DIR = 'source' | 
| const | COPY_TARGET_DIR = 'target' | 
Private Attributes | |
| array | $copy_definitions = [] | 
| Copy Jobs: source file => relative target file in zip directory.  More... | |
| string | $temp_dir | 
| array | $object_wsp_ids = [] | 
| int | $num_files = 0 | 
| int | $sum_file_sizes = 0 | 
| BooleanValue | $adheres_to_limit = null | 
Additional Inherited Members | |
  Protected Attributes inherited from ILIAS\BackgroundTasks\Implementation\Values\AbstractValue | |
| Task | $parentTask | 
Copy definition for workspace folders.
Definition at line 27 of file class.ilWorkspaceCopyDefinition.php.
| ilWorkspaceCopyDefinition::addCopyDefinition | ( | string | $a_source, | 
| string | $a_target | ||
| ) | 
Definition at line 119 of file class.ilWorkspaceCopyDefinition.php.
| ilWorkspaceCopyDefinition::equals | ( | Value | $other | ) | 
Implements ILIAS\BackgroundTasks\Value.
Definition at line 128 of file class.ilWorkspaceCopyDefinition.php.
References ILIAS\BackgroundTasks\Value\getHash(), and getHash().
 Here is the call graph for this function:| ilWorkspaceCopyDefinition::getAdheresToLimit | ( | ) | 
Definition at line 109 of file class.ilWorkspaceCopyDefinition.php.
References $adheres_to_limit.
Referenced by serialize().
 Here is the caller graph for this function:| ilWorkspaceCopyDefinition::getCopyDefinitions | ( | ) | 
Definition at line 43 of file class.ilWorkspaceCopyDefinition.php.
References $copy_definitions.
Referenced by ilCopyWorkspaceFilesToTempDirectoryJob\copyFiles(), and serialize().
 Here is the caller graph for this function:| ilWorkspaceCopyDefinition::getHash | ( | ) | 
Implements ILIAS\BackgroundTasks\Value.
Definition at line 133 of file class.ilWorkspaceCopyDefinition.php.
References serialize().
Referenced by equals().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilWorkspaceCopyDefinition::getNumFiles | ( | ) | 
Definition at line 89 of file class.ilWorkspaceCopyDefinition.php.
References $num_files.
Referenced by serialize().
 Here is the caller graph for this function:| ilWorkspaceCopyDefinition::getObjectWspIds | ( | ) | 
Definition at line 73 of file class.ilWorkspaceCopyDefinition.php.
References $object_wsp_ids.
Referenced by serialize().
 Here is the caller graph for this function:| ilWorkspaceCopyDefinition::getSumFileSizes | ( | ) | 
Definition at line 99 of file class.ilWorkspaceCopyDefinition.php.
References $sum_file_sizes.
Referenced by serialize().
 Here is the caller graph for this function:| ilWorkspaceCopyDefinition::getTempDir | ( | ) | 
Definition at line 57 of file class.ilWorkspaceCopyDefinition.php.
References $temp_dir.
Referenced by serialize().
 Here is the caller graph for this function:| ilWorkspaceCopyDefinition::serialize | ( | ) | 
Definition at line 138 of file class.ilWorkspaceCopyDefinition.php.
References getAdheresToLimit(), getCopyDefinitions(), getNumFiles(), getObjectWspIds(), getSumFileSizes(), and getTempDir().
Referenced by getHash().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilWorkspaceCopyDefinition::setAdheresToLimit | ( | BooleanValue | $adheres_to_limit | ) | 
Definition at line 114 of file class.ilWorkspaceCopyDefinition.php.
References $adheres_to_limit.
Referenced by unserialize().
 Here is the caller graph for this function:| ilWorkspaceCopyDefinition::setCopyDefinitions | ( | array | $a_definitions | ) | 
Set copy definitions.
| string[] | $a_definitions | 
Definition at line 52 of file class.ilWorkspaceCopyDefinition.php.
Referenced by unserialize().
 Here is the caller graph for this function:| ilWorkspaceCopyDefinition::setNumFiles | ( | int | $num_files | ) | 
Definition at line 94 of file class.ilWorkspaceCopyDefinition.php.
References $num_files.
Referenced by unserialize().
 Here is the caller graph for this function:| ilWorkspaceCopyDefinition::setObjectWspIds | ( | array | $object_wps_ids, | 
| bool | $append = false  | 
        ||
| ) | 
Definition at line 78 of file class.ilWorkspaceCopyDefinition.php.
Referenced by unserialize().
 Here is the caller graph for this function:| ilWorkspaceCopyDefinition::setSumFileSizes | ( | int | $sum_file_sizes | ) | 
Definition at line 104 of file class.ilWorkspaceCopyDefinition.php.
References $sum_file_sizes.
Referenced by unserialize().
 Here is the caller graph for this function:| ilWorkspaceCopyDefinition::setTempDir | ( | string | $temp_dir | ) | 
Set directory name located in /temp/ directory.
Definition at line 65 of file class.ilWorkspaceCopyDefinition.php.
References $temp_dir.
Referenced by unserialize().
 Here is the caller graph for this function:| ilWorkspaceCopyDefinition::setValue | ( | $value | ) | 
Set value.
| $value | 
Implements ILIAS\BackgroundTasks\Value.
Definition at line 156 of file class.ilWorkspaceCopyDefinition.php.
| ilWorkspaceCopyDefinition::unserialize | ( | $data | ) | 
Unserialize definitions.
| string | $data | 
Definition at line 165 of file class.ilWorkspaceCopyDefinition.php.
References $data, setAdheresToLimit(), setCopyDefinitions(), setNumFiles(), setObjectWspIds(), setSumFileSizes(), and setTempDir().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 41 of file class.ilWorkspaceCopyDefinition.php.
Referenced by getAdheresToLimit(), and setAdheresToLimit().
      
  | 
  private | 
Copy Jobs: source file => relative target file in zip directory.
| string[] | 
Definition at line 36 of file class.ilWorkspaceCopyDefinition.php.
Referenced by getCopyDefinitions().
      
  | 
  private | 
Definition at line 39 of file class.ilWorkspaceCopyDefinition.php.
Referenced by getNumFiles(), and setNumFiles().
      
  | 
  private | 
Definition at line 38 of file class.ilWorkspaceCopyDefinition.php.
Referenced by getObjectWspIds().
      
  | 
  private | 
Definition at line 40 of file class.ilWorkspaceCopyDefinition.php.
Referenced by getSumFileSizes(), and setSumFileSizes().
      
  | 
  private | 
Definition at line 37 of file class.ilWorkspaceCopyDefinition.php.
Referenced by getTempDir(), and setTempDir().
| const ilWorkspaceCopyDefinition::COPY_SOURCE_DIR = 'source' | 
Definition at line 29 of file class.ilWorkspaceCopyDefinition.php.
Referenced by ilCopyWorkspaceFilesToTempDirectoryJob\copyFiles().
| const ilWorkspaceCopyDefinition::COPY_TARGET_DIR = 'target' | 
Definition at line 30 of file class.ilWorkspaceCopyDefinition.php.
Referenced by ilCopyWorkspaceFilesToTempDirectoryJob\copyFiles().