19 declare(strict_types=1);
36 $this->mappings = array();
38 $this->log->debug(
"ilImportMapping Construct this->mappings = array()");
43 $this->install_id = $a_val;
53 $this->install_url = $a_val;
63 $this->target_id = $a_target_id;
64 $this->log->debug(
"a_target_id=" . $a_target_id);
78 $this->mappings[$a_comp][$a_entity][$a_old_id] = $a_new_id;
87 $this->log->debug(
"a_comp = $a_comp, a_entity = $a_entity , a_old_id = $a_old_id");
89 if (!isset($this->mappings[$a_comp]) or !isset($this->mappings[$a_comp][$a_entity])) {
92 if (isset($this->mappings[$a_comp][$a_entity][$a_old_id])) {
93 return $this->mappings[$a_comp][$a_entity][$a_old_id];
108 if (isset($this->mappings[$a_comp][$a_entity])) {
109 return $this->mappings[$a_comp][$a_entity];
setTargetId(int $a_target_id)
static getLogger(string $a_component_id)
Get component logger.
setInstallId(string $a_val)
addMapping(string $a_comp, string $a_entity, string $a_old_id, string $a_new_id)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
getMapping(string $a_comp, string $a_entity, string $a_old_id)
getMappingsOfEntity(string $a_comp, string $a_entity)
setInstallUrl(string $a_val)