|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Copy definition for worspace folders. More...
Inheritance diagram for ilWorkspaceCopyDefinition:
Collaboration diagram for ilWorkspaceCopyDefinition:Public Member Functions | |
| getCopyDefinitions () | |
| Get copy definitions. More... | |
| setCopyDefinitions ($a_definitions) | |
| Set copy definitions. More... | |
| getTempDir () | |
| Get directory name located in /temp/ directory. More... | |
| setTempDir ($temp_dir) | |
| Set directory name located in /temp/ directory. More... | |
| getObjectWspIds () | |
| setObjectWspIds ($object_wps_ids, $append=false) | |
| getNumFiles () | |
| setNumFiles ($num_files) | |
| getSumFileSizes () | |
| setSumFileSizes ($sum_file_sizes) | |
| getAdheresToLimit () | |
| setAdheresToLimit ($adheres_to_limit) | |
| addCopyDefinition ($a_source, $a_target) | |
| Add copy definition. More... | |
| equals (Value $other) | |
| Check equality. More... | |
| getHash () | |
| Get hash. More... | |
| serialize () | |
| Serialize content. More... | |
| setValue ($value) | |
| Set value. More... | |
| unserialize ($serialized) | |
| Unserialize definitions. More... | |
Public Member Functions inherited from ILIAS\BackgroundTasks\Implementation\Values\AbstractValue | |
| getType () | |
| getParentTask () | |
| setParentTask (Task $parentTask) | |
| hasParentTask () | |
| getHash () | |
| equals (Value $other) | |
| getType () | |
| setParentTask (Task $parentTask) | |
| getParentTask () | |
| hasParentTask () | |
| setValue ($value) | |
Data Fields | |
| const | COPY_SOURCE_DIR = 'source' |
| const | COPY_TARGET_DIR = 'target' |
Private Attributes | |
| $copy_definitions = [] | |
| Copy Jobs: source file => relative target file in zip directory. More... | |
| $temp_dir | |
| $object_wsp_ids = [] | |
| $num_files = 0 | |
| $sum_file_sizes = 0 | |
| $adheres_to_limit = false | |
Additional Inherited Members | |
Protected Attributes inherited from ILIAS\BackgroundTasks\Implementation\Values\AbstractValue | |
| $parentTask | |
Copy definition for worspace folders.
Definition at line 14 of file class.ilWorkspaceCopyDefinition.php.
| ilWorkspaceCopyDefinition::addCopyDefinition | ( | $a_source, | |
| $a_target | |||
| ) |
Add copy definition.
| string | $a_source | |
| string | $a_target |
Definition at line 168 of file class.ilWorkspaceCopyDefinition.php.
| ilWorkspaceCopyDefinition::equals | ( | Value | $other | ) |
Check equality.
| Value | $other |
Implements ILIAS\BackgroundTasks\Value.
Definition at line 183 of file class.ilWorkspaceCopyDefinition.php.
References getHash(), and ILIAS\BackgroundTasks\Value\getHash().
Here is the call graph for this function:| ilWorkspaceCopyDefinition::getAdheresToLimit | ( | ) |
Definition at line 149 of file class.ilWorkspaceCopyDefinition.php.
References $adheres_to_limit.
Referenced by serialize().
Here is the caller graph for this function:| ilWorkspaceCopyDefinition::getCopyDefinitions | ( | ) |
Get copy definitions.
Definition at line 61 of file class.ilWorkspaceCopyDefinition.php.
References $copy_definitions.
Referenced by ilCopyWorkspaceFilesToTempDirectoryJob\copyFiles(), and serialize().
Here is the caller graph for this function:| ilWorkspaceCopyDefinition::getHash | ( | ) |
Get hash.
Implements ILIAS\BackgroundTasks\Value.
Definition at line 193 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 117 of file class.ilWorkspaceCopyDefinition.php.
References $num_files.
Referenced by serialize().
Here is the caller graph for this function:| ilWorkspaceCopyDefinition::getObjectWspIds | ( | ) |
Definition at line 96 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 133 of file class.ilWorkspaceCopyDefinition.php.
References $sum_file_sizes.
Referenced by serialize().
Here is the caller graph for this function:| ilWorkspaceCopyDefinition::getTempDir | ( | ) |
Get directory name located in /temp/ directory.
Definition at line 79 of file class.ilWorkspaceCopyDefinition.php.
References $temp_dir.
Referenced by serialize().
Here is the caller graph for this function:| ilWorkspaceCopyDefinition::serialize | ( | ) |
Serialize content.
Definition at line 201 of file class.ilWorkspaceCopyDefinition.php.
References getAdheresToLimit(), getCopyDefinitions(), getNumFiles(), getObjectWspIds(), getSumFileSizes(), getTempDir(), and serialize().
Referenced by getHash(), and serialize().
Here is the call graph for this function:
Here is the caller graph for this function:| ilWorkspaceCopyDefinition::setAdheresToLimit | ( | $adheres_to_limit | ) |
| bool | $adheres_to_limit |
Definition at line 157 of file class.ilWorkspaceCopyDefinition.php.
References $adheres_to_limit.
Referenced by unserialize().
Here is the caller graph for this function:| ilWorkspaceCopyDefinition::setCopyDefinitions | ( | $a_definitions | ) |
Set copy definitions.
| string[] | $a_definitions |
Definition at line 70 of file class.ilWorkspaceCopyDefinition.php.
Referenced by unserialize().
Here is the caller graph for this function:| ilWorkspaceCopyDefinition::setNumFiles | ( | $num_files | ) |
| $num_files |
Definition at line 125 of file class.ilWorkspaceCopyDefinition.php.
References $num_files.
Referenced by unserialize().
Here is the caller graph for this function:| ilWorkspaceCopyDefinition::setObjectWspIds | ( | $object_wps_ids, | |
$append = false |
|||
| ) |
| $object_wsp_ids | |
| $append |
Definition at line 105 of file class.ilWorkspaceCopyDefinition.php.
Referenced by unserialize().
Here is the caller graph for this function:| ilWorkspaceCopyDefinition::setSumFileSizes | ( | $sum_file_sizes | ) |
| int | $sum_file_sizes |
Definition at line 141 of file class.ilWorkspaceCopyDefinition.php.
References $sum_file_sizes.
Referenced by unserialize().
Here is the caller graph for this function:| ilWorkspaceCopyDefinition::setTempDir | ( | $temp_dir | ) |
Set directory name located in /temp/ directory.
| $temp_dir |
Definition at line 88 of file class.ilWorkspaceCopyDefinition.php.
References $temp_dir.
Referenced by unserialize().
Here is the caller graph for this function:| ilWorkspaceCopyDefinition::setValue | ( | $value | ) |
Set value.
| string[] | $value |
Implements ILIAS\BackgroundTasks\Value.
Definition at line 219 of file class.ilWorkspaceCopyDefinition.php.
| ilWorkspaceCopyDefinition::unserialize | ( | $serialized | ) |
Unserialize definitions.
| string | $serialized |
Definition at line 228 of file class.ilWorkspaceCopyDefinition.php.
References setAdheresToLimit(), setCopyDefinitions(), setNumFiles(), setObjectWspIds(), setSumFileSizes(), setTempDir(), and unserialize().
Referenced by unserialize().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 53 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 23 of file class.ilWorkspaceCopyDefinition.php.
Referenced by getCopyDefinitions().
|
private |
Definition at line 41 of file class.ilWorkspaceCopyDefinition.php.
Referenced by getNumFiles(), and setNumFiles().
|
private |
Definition at line 35 of file class.ilWorkspaceCopyDefinition.php.
Referenced by getObjectWspIds().
|
private |
Definition at line 47 of file class.ilWorkspaceCopyDefinition.php.
Referenced by getSumFileSizes(), and setSumFileSizes().
|
private |
Definition at line 29 of file class.ilWorkspaceCopyDefinition.php.
Referenced by getTempDir(), and setTempDir().
| const ilWorkspaceCopyDefinition::COPY_SOURCE_DIR = 'source' |
Definition at line 16 of file class.ilWorkspaceCopyDefinition.php.
Referenced by ilCopyWorkspaceFilesToTempDirectoryJob\copyFiles().
| const ilWorkspaceCopyDefinition::COPY_TARGET_DIR = 'target' |
Definition at line 17 of file class.ilWorkspaceCopyDefinition.php.
Referenced by ilCopyWorkspaceFilesToTempDirectoryJob\copyFiles().