ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Description of class class. More...
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 () | |
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 ILIAS\BackgroundTasks\Value\getHash(), and getHash().
ilCopyDefinition::getAdheresToLimit | ( | ) |
Definition at line 162 of file class.ilCopyDefinition.php.
References $adheres_to_limit.
Referenced by serialize().
ilCopyDefinition::getCopyDefinitions | ( | ) |
Get copy definitions.
Definition at line 61 of file class.ilCopyDefinition.php.
References $copy_definitions.
Referenced by serialize().
ilCopyDefinition::getHash | ( | ) |
Get hash.
Implements ILIAS\BackgroundTasks\Value.
Definition at line 211 of file class.ilCopyDefinition.php.
References serialize().
Referenced by equals().
ilCopyDefinition::getNumFiles | ( | ) |
Definition at line 126 of file class.ilCopyDefinition.php.
References $num_files.
Referenced by serialize().
ilCopyDefinition::getObjectRefIds | ( | ) |
Definition at line 103 of file class.ilCopyDefinition.php.
References $object_ref_ids.
Referenced by serialize().
ilCopyDefinition::getSumFileSizes | ( | ) |
Definition at line 144 of file class.ilCopyDefinition.php.
References $sum_file_sizes.
Referenced by serialize().
ilCopyDefinition::getTempDir | ( | ) |
Get directory name located in /temp/ directory.
Definition at line 83 of file class.ilCopyDefinition.php.
References $temp_dir.
Referenced by serialize().
ilCopyDefinition::serialize | ( | ) |
Serialize content.
Definition at line 220 of file class.ilCopyDefinition.php.
References getAdheresToLimit(), getCopyDefinitions(), getNumFiles(), getObjectRefIds(), getSumFileSizes(), and getTempDir().
Referenced by getHash().
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().
ilCopyDefinition::setCopyDefinitions | ( | $a_definitions | ) |
Set copy definitions.
string[] | $a_definitions |
Definition at line 72 of file class.ilCopyDefinition.php.
Referenced by unserialize().
ilCopyDefinition::setNumFiles | ( | $num_files | ) |
$num_files |
Definition at line 135 of file class.ilCopyDefinition.php.
References $num_files.
Referenced by unserialize().
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().
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().
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().
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(), and setTempDir().
|
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.
const ilCopyDefinition::COPY_TARGET_DIR = 'target' |
Definition at line 17 of file class.ilCopyDefinition.php.