|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilInternalLink:Static Public Member Functions | |
| static | _deleteAllLinksOfSource (string $a_source_type, int $a_source_id, string $a_lang="-") |
| Delete all links of a given source. More... | |
| static | _deleteAllLinksToTarget (string $a_target_type, int $a_target_id, int $a_target_inst=0) |
| Delete all links to a given target. More... | |
| static | _saveLink (string $a_source_type, int $a_source_id, string $a_target_type, int $a_target_id, int $a_target_inst=0, string $a_source_lang="-") |
| save internal link information More... | |
| static | _getSourcesOfTarget (string $a_target_type, int $a_target_id, int $a_target_inst) |
| get all sources of a link target More... | |
| static | _getTargetsOfSource (string $a_source_type, int $a_source_id, string $a_source_lang="-") |
| Get all targets of a source object (e.g., a page) More... | |
| static | _getIdForImportId (string $a_type, string $a_target) |
| Get current id for an import id. More... | |
| static | _exists (string $a_type, string $a_target) |
| Check if internal link refers to a valid target. More... | |
| static | _extractInstOfTarget (string $a_target) |
| Extract installation id out of target. More... | |
| static | _removeInstFromTarget (string $a_target) |
| Removes installation id from target string. More... | |
| static | _extractObjIdOfTarget (string $a_target) |
| Extract object id out of target. More... | |
| static | _extractTypeOfTarget (string $a_target) |
| Extract type out of target. More... | |
| static | searchUsers (string $a_search_str) |
| Search users. More... | |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning
Definition at line 19 of file class.ilInternalLink.php.
|
static |
Delete all links of a given source.
Definition at line 24 of file class.ilInternalLink.php.
References $ilDB.
Referenced by ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionsDatabaseRepository\additionalOnDelete(), SurveyQuestion\delete(), assQuestion\deleteSuggestedSolutions(), assQuestion\resolveSuggestedSolutionLinks(), and SurveyQuestion\syncWithOriginal().
Here is the caller graph for this function:
|
static |
Delete all links to a given target.
Definition at line 48 of file class.ilInternalLink.php.
Referenced by ilPortfolioPage\delete(), and ilWikiPage\delete().
Here is the caller graph for this function:
|
static |
Check if internal link refers to a valid target.
| string | $a_type | target type ("PageObject" | "StructureObject" | "GlossaryItem" | "MediaObject") |
| string | $a_target | target id, e.g. "il__pg_244") |
Definition at line 259 of file class.ilInternalLink.php.
References ilGlossaryTerm\_exists(), ilLMObject\_exists(), ilObjMediaObject\_exists(), and ilPageObject\_exists().
Referenced by ILIAS\COPage\Link\LinkManager\resolveIntLinks().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Extract installation id out of target.
| string | $a_target | import target id (e.g. "il_2_pg_22") |
Definition at line 296 of file class.ilInternalLink.php.
References ILIAS\Scripts\PHPStan\$target.
Referenced by ilPCQuestionGUI\edit(), ilQuestionExporter\exportQuestion(), ilPCQuestionGUI\feedback(), ilPCQuestion\getQuestionIds(), ilPCInteractiveImage\handleCopiedContent(), ilPCQuestion\handleCopiedContent(), ILIAS\COPage\Link\LinkManager\resolveIntLinks(), ilPCQuestionGUI\setTabs(), ilPortfolioPage\updateInternalLinks(), and ilLMObject\updateInternalLinks().
Here is the caller graph for this function:
|
static |
Extract object id out of target.
| string | $a_target | import target id (e.g. "il_2_pg_22") |
Definition at line 326 of file class.ilInternalLink.php.
References ILIAS\Scripts\PHPStan\$target.
Referenced by ilGlossaryTerm\_exists(), ilLMObject\_exists(), ilObjMediaObject\_exists(), ilPCQuestionGUI\edit(), ilQuestionExporter\exportQuestion(), ilPCQuestionGUI\feedback(), ILIAS\COPage\Page\PageContentManager\getInitialOpenedContent(), ilPCQuestion\getQuestionIds(), ilPCInteractiveImage\handleCopiedContent(), ilPCQuestion\handleCopiedContent(), ilPortfolioPage\renameLinksOnTitleChange(), ilPCInteractiveImage\setDomNode(), ilPCQuestionGUI\setTabs(), ilPortfolioPage\updateInternalLinks(), and ilLMObject\updateInternalLinks().
Here is the caller graph for this function:
|
static |
Extract type out of target.
| string | $a_target | import target id (e.g. "il_2_pg_22") |
Definition at line 336 of file class.ilInternalLink.php.
References ILIAS\Scripts\PHPStan\$target.
Referenced by ilPortfolioPage\updateInternalLinks(), and ilLMObject\updateInternalLinks().
Here is the caller graph for this function:
|
static |
Get current id for an import id.
| string | $a_type | target type ("PageObject" | "StructureObject" | "GlossaryItem" | "MediaObject") |
| string | $a_target | import target id (e.g. "il_2_pg_22") |
Definition at line 169 of file class.ilInternalLink.php.
References $id, ilObject\_getAllReferences(), ilGlossaryTerm\_getIdForImportId(), ilLMObject\_getIdForImportId(), ilObject\_getIdForImportId(), and IL_INST_ID.
Referenced by SurveyQuestion\_resolveInternalLink(), ilMapArea\_resolveIntLinks(), assQuestion\resolveInternalLink(), and ILIAS\COPage\Link\LinkManager\resolveIntLinks().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
get all sources of a link target
| string | $a_target_type | target type |
| int | $a_target_id | target id |
| int | $a_target_inst | target installation id |
Definition at line 101 of file class.ilInternalLink.php.
Referenced by ILIAS\Wiki\Page\PageManager\getOrphanedPages(), ilGlossaryTerm\getUsages(), ilQuestionPageParser\processPagesToParse(), and ilLMObject\updateInternalLinks().
Here is the caller graph for this function:
|
static |
Get all targets of a source object (e.g., a page)
| string | $a_source_type | source type (e.g. "lm:pg" | "dbk:pg") |
| int | $a_source_id | source id |
| string | $a_source_lang | source language |
Definition at line 132 of file class.ilInternalLink.php.
References $ilDB.
Referenced by ilPageObjectGUI\showPage(), ilLMPresentationGUI\showPrintView(), and ilObjWiki\updateInternalLinksOnCopy().
Here is the caller graph for this function:
|
static |
Removes installation id from target string.
| string | $a_target | import target id (e.g. "il_2_pg_22") |
Definition at line 311 of file class.ilInternalLink.php.
References ILIAS\Scripts\PHPStan\$target.
Referenced by ILIAS\COPage\Link\LinkManager\resolveIntLinks().
Here is the caller graph for this function:
|
static |
save internal link information
Definition at line 68 of file class.ilInternalLink.php.
Referenced by ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionsDatabaseRepository\additionalOnStore(), assQuestion\resolveSuggestedSolutionLinks(), ILIAS\Wiki\Links\LinkManager\saveInternalLinksForPage(), and SurveyQuestion\syncWithOriginal().
Here is the caller graph for this function:
|
static |
Search users.
Definition at line 345 of file class.ilInternalLink.php.
References ilObjectSearchFactory\_getUserSearchInstance(), ilUserFilter\getInstance(), ilObjUser\getProfileStatusOfUsers(), ilQueryParser\QP_COMBINATION_AND, and ROOT_FOLDER_ID.
Referenced by ilInternalLinkGUI\getUserSearchResult().
Here is the call graph for this function:
Here is the caller graph for this function: