76 $this->copy_definitions = $a_definitions;
109 $this->object_ref_ids = $append ? array_merge($this->object_ref_ids, $object_ref_ids) :
$object_ref_ids;
124 return $this->sum_file_sizes ?? 0;
135 $fallback->setValue(
false);
136 return $this->adheres_to_limit ?? $fallback;
146 $this->copy_definitions[]
148 self::COPY_SOURCE_DIR => $a_source,
149 self::COPY_TARGET_DIR => $a_target,
193 $this->copy_definitions = $value;
206 $this->
setObjectRefIds(explode(
",", (
string) $elements[
"object_ref_ids"]));
serialize()
Serialize content.
getCopyDefinitions()
Get copy definitions.
setSumFileSizes(int $sum_file_sizes)
setAdheresToLimit(BooleanValue $adheres_to_limit)
addCopyDefinition(string $a_source, string $a_target)
unserialize($serialized)
Unserialize definitions.
getTempDir()
Get directory name located in /temp/ directory.
setObjectRefIds(array $object_ref_ids, bool $append=false)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
setTempDir(string $temp_dir)
Set directory name located in /temp/ directory.
Description of class class.
setValue($value)
Set value.
equals(Value $other)
Check equality.
setCopyDefinitions(array $a_definitions)
Set copy definitions.
BooleanValue $adheres_to_limit
States if the sum of all file sizes adheres to the global limit.
string $temp_dir
Temporary directory using the normalized title of the bucket.
setNumFiles(int $num_files)