| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
 Collaboration diagram for ILIAS\COPage\Link\LinkManager:Public Member Functions | |
| __construct () | |
| getInternalLinks (\DOMDocument $dom, ?\Closure $media_collector=null) | |
| containsFileLinkId (\DOMDocument $dom, string $file_link_id) | |
| extractFileFromLinkId (string $file_link_id) | |
| resolveIntLinks (\DOMDocument $dom, array $a_link_map=null) | |
| Resolves all internal link targets of the page, if targets are available (after import)  More... | |
| moveIntLinks (\DOMDocument $dom, array $a_from_to, ?\Closure $lm_type_lookup=null) | |
| Move internal links from one destination to another.  More... | |
| handleRepositoryLinksOnCopy (\DOMDocument $dom, array $a_mapping, int $a_source_ref_id, \ilTree $tree) | |
| Handle repository links on copy process.  More... | |
| deleteInternalLinks (\ilPageObject $page) | |
| Delete internal links.  More... | |
| saveInternalLinks (\ilPageObject $page, \DOMDocument $a_domdoc,) | |
| save internal links of page  More... | |
Protected Member Functions | |
| getDefaultMediaCollector () | |
| getDefaultLMTypeLookuper () | |
Protected Attributes | |
| ilLogger | $log | 
| ILIAS COPage Dom DomUtil | $dom_util | 
| ilObjectDefinition | $obj_definition | 
Definition at line 26 of file LinkManager.php.
| ILIAS\COPage\Link\LinkManager::__construct | ( | ) | 
| ILIAS\COPage\Link\LinkManager::containsFileLinkId | ( | \DOMDocument | $dom, | 
| string | $file_link_id | ||
| ) | 
Definition at line 105 of file LinkManager.php.
References $id, and ILIAS\COPage\Link\LinkManager\getInternalLinks().
 Here is the call graph for this function:| ILIAS\COPage\Link\LinkManager::deleteInternalLinks | ( | \ilPageObject | $page | ) | 
Delete internal links.
Definition at line 441 of file LinkManager.php.
References ilInternalLink\_deleteAllLinksOfSource(), ilPageObject\getId(), ilPageObject\getLanguage(), and ilPageObject\getParentType().
Referenced by ILIAS\COPage\Link\LinkManager\saveInternalLinks().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ILIAS\COPage\Link\LinkManager::extractFileFromLinkId | ( | string | $file_link_id | ) | 
Definition at line 121 of file LinkManager.php.
      
  | 
  protected | 
Definition at line 181 of file LinkManager.php.
References $id, and ilLMObject\_lookupType().
Referenced by ILIAS\COPage\Link\LinkManager\moveIntLinks().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 41 of file LinkManager.php.
References $id, and ilMediaItem\_getMapAreasIntLinks().
Referenced by ILIAS\COPage\Link\LinkManager\getInternalLinks().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ILIAS\COPage\Link\LinkManager::getInternalLinks | ( | \DOMDocument | $dom, | 
| ?\Closure | $media_collector = null  | 
        ||
| ) | 
Definition at line 46 of file LinkManager.php.
References $id, ILIAS\LTI\ToolProvider\$key, $path, and ILIAS\COPage\Link\LinkManager\getDefaultMediaCollector().
Referenced by ILIAS\COPage\Link\LinkManager\containsFileLinkId().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ILIAS\COPage\Link\LinkManager::handleRepositoryLinksOnCopy | ( | \DOMDocument | $dom, | 
| array | $a_mapping, | ||
| int | $a_source_ref_id, | ||
| \ilTree | $tree | ||
| ) | 
Handle repository links on copy process.
Definition at line 341 of file LinkManager.php.
References ILIAS\COPage\Link\LinkManager\$obj_definition, $path, $ref_id, IL_INST_ID, and ilTree\isGrandChild().
 Here is the call graph for this function:| ILIAS\COPage\Link\LinkManager::moveIntLinks | ( | \DOMDocument | $dom, | 
| array | $a_from_to, | ||
| ?\Closure | $lm_type_lookup = null  | 
        ||
| ) | 
Move internal links from one destination to another.
This is used for pages and structure links. Just use IDs in "from" and "to".
Definition at line 190 of file LinkManager.php.
References $id, $path, ilInternalLink\_extractObjIdOfTarget(), and ILIAS\COPage\Link\LinkManager\getDefaultLMTypeLookuper().
 Here is the call graph for this function:| ILIAS\COPage\Link\LinkManager::resolveIntLinks | ( | \DOMDocument | $dom, | 
| array | $a_link_map = null  | 
        ||
| ) | 
Resolves all internal link targets of the page, if targets are available (after import)
Definition at line 131 of file LinkManager.php.
References $path, ilInternalLink\_exists(), ilInternalLink\_extractInstOfTarget(), ilInternalLink\_getIdForImportId(), ilInternalLink\_removeInstFromTarget(), ilMediaItem\_resolveMapAreaLinks(), and IL_INST_ID.
 Here is the call graph for this function:| ILIAS\COPage\Link\LinkManager::saveInternalLinks | ( | \ilPageObject | $page, | 
| \DOMDocument | $a_domdoc | ||
| ) | 
save internal links of page
Definition at line 455 of file LinkManager.php.
References ilInternalLink\_saveLink(), ILIAS\COPage\Link\LinkManager\deleteInternalLinks(), ilPageObject\getId(), ilPageObject\getLanguage(), ilPageObject\getParentType(), and ILIAS\Repository\int().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 29 of file LinkManager.php.
      
  | 
  protected | 
Definition at line 28 of file LinkManager.php.
      
  | 
  protected | 
Definition at line 30 of file LinkManager.php.
Referenced by ILIAS\COPage\Link\LinkManager\handleRepositoryLinksOnCopy().