|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Description of class class. More...
Inheritance diagram for ilCopyDefinition:
Collaboration diagram for ilCopyDefinition: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... | |
| getObjectRefIds () | |
| setObjectRefIds ($object_ref_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_ref_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 | |
Description of class class.
Definition at line 14 of file class.ilCopyDefinition.php.
| ilCopyDefinition::addCopyDefinition | ( | $a_source, | |
| $a_target | |||
| ) |
Add copy definition.
| string | $a_source | |
| string | $a_target |
Definition at line 183 of file class.ilCopyDefinition.php.
| ilCopyDefinition::equals | ( | Value | $other | ) |
Check equality.
| Value | $other |
Implements ILIAS\BackgroundTasks\Value.
Definition at line 200 of file class.ilCopyDefinition.php.
References getHash(), and ILIAS\BackgroundTasks\Value\getHash().
Here is the call graph for this function:| ilCopyDefinition::getAdheresToLimit | ( | ) |
Definition at line 162 of file class.ilCopyDefinition.php.
References $adheres_to_limit.
Referenced by serialize().
Here is the caller graph for this function:| ilCopyDefinition::getCopyDefinitions | ( | ) |
Get copy definitions.
Definition at line 61 of file class.ilCopyDefinition.php.
References $copy_definitions.
Referenced by ilCopyFilesToTempDirectoryJob\copyFiles(), and serialize().
Here is the caller graph for this function:| ilCopyDefinition::getHash | ( | ) |
Get hash.
Implements ILIAS\BackgroundTasks\Value.
Definition at line 211 of file class.ilCopyDefinition.php.
References serialize().
Referenced by equals().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCopyDefinition::getNumFiles | ( | ) |
Definition at line 126 of file class.ilCopyDefinition.php.
References $num_files.
Referenced by serialize().
Here is the caller graph for this function:| ilCopyDefinition::getObjectRefIds | ( | ) |
Definition at line 103 of file class.ilCopyDefinition.php.
References $object_ref_ids.
Referenced by serialize().
Here is the caller graph for this function:| ilCopyDefinition::getSumFileSizes | ( | ) |
Definition at line 144 of file class.ilCopyDefinition.php.
References $sum_file_sizes.
Referenced by serialize().
Here is the caller graph for this function:| ilCopyDefinition::getTempDir | ( | ) |
Get directory name located in /temp/ directory.
Definition at line 83 of file class.ilCopyDefinition.php.
References $temp_dir.
Referenced by serialize().
Here is the caller graph for this function:| ilCopyDefinition::serialize | ( | ) |
Serialize content.
Definition at line 220 of file class.ilCopyDefinition.php.
References getAdheresToLimit(), getCopyDefinitions(), getNumFiles(), getObjectRefIds(), 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:| ilCopyDefinition::setAdheresToLimit | ( | $adheres_to_limit | ) |
| bool | $adheres_to_limit |
Definition at line 171 of file class.ilCopyDefinition.php.
References $adheres_to_limit.
Referenced by unserialize().
Here is the caller graph for this function:| ilCopyDefinition::setCopyDefinitions | ( | $a_definitions | ) |
Set copy definitions.
| string[] | $a_definitions |
Definition at line 72 of file class.ilCopyDefinition.php.
Referenced by unserialize().
Here is the caller graph for this function:| ilCopyDefinition::setNumFiles | ( | $num_files | ) |
| $num_files |
Definition at line 135 of file class.ilCopyDefinition.php.
References $num_files.
Referenced by unserialize().
Here is the caller graph for this function:| ilCopyDefinition::setObjectRefIds | ( | $object_ref_ids, | |
$append = false |
|||
| ) |
| $object_ref_ids | |
| $append |
Definition at line 113 of file class.ilCopyDefinition.php.
References $object_ref_ids.
Referenced by unserialize().
Here is the caller graph for this function:| ilCopyDefinition::setSumFileSizes | ( | $sum_file_sizes | ) |
| int | $sum_file_sizes |
Definition at line 153 of file class.ilCopyDefinition.php.
References $sum_file_sizes.
Referenced by unserialize().
Here is the caller graph for this function:| ilCopyDefinition::setTempDir | ( | $temp_dir | ) |
Set directory name located in /temp/ directory.
| $temp_dir |
Definition at line 94 of file class.ilCopyDefinition.php.
References $temp_dir.
Referenced by unserialize().
Here is the caller graph for this function:| ilCopyDefinition::setValue | ( | $value | ) |
Set value.
| string[] | $value |
Implements ILIAS\BackgroundTasks\Value.
Definition at line 240 of file class.ilCopyDefinition.php.
| ilCopyDefinition::unserialize | ( | $serialized | ) |
Unserialize definitions.
| string | $serialized |
Definition at line 251 of file class.ilCopyDefinition.php.
References setAdheresToLimit(), setCopyDefinitions(), setNumFiles(), setObjectRefIds(), 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.ilCopyDefinition.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.ilCopyDefinition.php.
Referenced by getCopyDefinitions().
|
private |
Definition at line 41 of file class.ilCopyDefinition.php.
Referenced by getNumFiles(), and setNumFiles().
|
private |
Definition at line 35 of file class.ilCopyDefinition.php.
Referenced by getObjectRefIds(), and setObjectRefIds().
|
private |
Definition at line 47 of file class.ilCopyDefinition.php.
Referenced by getSumFileSizes(), and setSumFileSizes().
|
private |
Definition at line 29 of file class.ilCopyDefinition.php.
Referenced by getTempDir(), and setTempDir().
| const ilCopyDefinition::COPY_SOURCE_DIR = 'source' |
Definition at line 16 of file class.ilCopyDefinition.php.
Referenced by ilCopyFilesToTempDirectoryJob\copyFiles().
| const ilCopyDefinition::COPY_TARGET_DIR = 'target' |
Definition at line 17 of file class.ilCopyDefinition.php.
Referenced by ilCopyFilesToTempDirectoryJob\copyFiles().