|
ILIAS
release_8 Revision v8.24
|
Description of class class. More...
Inheritance diagram for ilCopyDefinition:
Collaboration diagram for ilCopyDefinition:Public Member Functions | |
| getCopyDefinitions () | |
| Get copy definitions. More... | |
| setCopyDefinitions (array $a_definitions) | |
| Set copy definitions. More... | |
| getTempDir () | |
| Get directory name located in /temp/ directory. More... | |
| setTempDir (string $temp_dir) | |
| Set directory name located in /temp/ directory. More... | |
| getObjectRefIds () | |
| setObjectRefIds (array $object_ref_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) | |
| 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 | |
| array | $copy_definitions = [] |
| string | $temp_dir |
| Temporary directory using the normalized title of the bucket. More... | |
| array | $object_ref_ids = [] |
| int | $num_files = 0 |
| int | $sum_file_sizes = 0 |
| BooleanValue | $adheres_to_limit |
| States if the sum of all file sizes adheres to the global limit. More... | |
Additional Inherited Members | |
Protected Attributes inherited from ILIAS\BackgroundTasks\Implementation\Values\AbstractValue | |
| Task | $parentTask |
Description of class class.
Definition at line 27 of file class.ilCopyDefinition.php.
| ilCopyDefinition::addCopyDefinition | ( | string | $a_source, |
| string | $a_target | ||
| ) |
Definition at line 144 of file class.ilCopyDefinition.php.
| ilCopyDefinition::equals | ( | Value | $other | ) |
Check equality.
Implements ILIAS\BackgroundTasks\Value.
Definition at line 156 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 132 of file class.ilCopyDefinition.php.
Referenced by serialize().
Here is the caller graph for this function:| ilCopyDefinition::getCopyDefinitions | ( | ) |
Get copy definitions.
Definition at line 65 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 164 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 112 of file class.ilCopyDefinition.php.
References $num_files.
Referenced by serialize().
Here is the caller graph for this function:| ilCopyDefinition::getObjectRefIds | ( | ) |
Definition at line 99 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 122 of file class.ilCopyDefinition.php.
Referenced by serialize().
Here is the caller graph for this function:| ilCopyDefinition::getTempDir | ( | ) |
Get directory name located in /temp/ directory.
Definition at line 82 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 173 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 | ( | BooleanValue | $adheres_to_limit | ) |
Definition at line 139 of file class.ilCopyDefinition.php.
References $adheres_to_limit.
Referenced by unserialize().
Here is the caller graph for this function:| ilCopyDefinition::setCopyDefinitions | ( | array | $a_definitions | ) |
Set copy definitions.
| string[] | $a_definitions |
Definition at line 74 of file class.ilCopyDefinition.php.
Referenced by unserialize().
Here is the caller graph for this function:| ilCopyDefinition::setNumFiles | ( | int | $num_files | ) |
Definition at line 117 of file class.ilCopyDefinition.php.
References $num_files.
Referenced by unserialize().
Here is the caller graph for this function:| ilCopyDefinition::setObjectRefIds | ( | array | $object_ref_ids, |
| bool | $append = false |
||
| ) |
| int[] | $object_ref_ids |
Definition at line 107 of file class.ilCopyDefinition.php.
References $object_ref_ids.
Referenced by unserialize().
Here is the caller graph for this function:| ilCopyDefinition::setSumFileSizes | ( | int | $sum_file_sizes | ) |
Definition at line 127 of file class.ilCopyDefinition.php.
References $sum_file_sizes.
Referenced by unserialize().
Here is the caller graph for this function:| ilCopyDefinition::setTempDir | ( | string | $temp_dir | ) |
Set directory name located in /temp/ directory.
| $temp_dir |
Definition at line 91 of file class.ilCopyDefinition.php.
References $temp_dir.
Referenced by unserialize().
Here is the caller graph for this function:| ilCopyDefinition::setValue | ( | $value | ) |
Set value.
| $value |
Implements ILIAS\BackgroundTasks\Value.
Definition at line 191 of file class.ilCopyDefinition.php.
| ilCopyDefinition::unserialize | ( | $serialized | ) |
Unserialize definitions.
| string | $serialized |
Definition at line 200 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 |
States if the sum of all file sizes adheres to the global limit.
Definition at line 59 of file class.ilCopyDefinition.php.
Referenced by setAdheresToLimit().
|
private |
Definition at line 36 of file class.ilCopyDefinition.php.
Referenced by getCopyDefinitions().
|
private |
Definition at line 50 of file class.ilCopyDefinition.php.
Referenced by getNumFiles(), and setNumFiles().
|
private |
Definition at line 45 of file class.ilCopyDefinition.php.
Referenced by getObjectRefIds(), and setObjectRefIds().
|
private |
Definition at line 55 of file class.ilCopyDefinition.php.
Referenced by setSumFileSizes().
|
private |
Temporary directory using the normalized title of the bucket.
Definition at line 40 of file class.ilCopyDefinition.php.
Referenced by getTempDir(), and setTempDir().
| const ilCopyDefinition::COPY_SOURCE_DIR = 'source' |
Definition at line 29 of file class.ilCopyDefinition.php.
Referenced by ilCopyFilesToTempDirectoryJob\copyFiles().
| const ilCopyDefinition::COPY_TARGET_DIR = 'target' |
Definition at line 30 of file class.ilCopyDefinition.php.
Referenced by ilCopyFilesToTempDirectoryJob\copyFiles().