|
ILIAS
release_8 Revision v8.24
|
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 Class ilInternalLink Some methods to handle internal links
Definition at line 24 of file class.ilInternalLink.php.
|
static |
Delete all links of a given source.
Definition at line 29 of file class.ilInternalLink.php.
References $ilDB.
Referenced by assQuestion\_resolveIntLinks(), SurveyQuestion\delete(), ilPageObject\deleteInternalLinks(), assQuestion\deleteSuggestedSolutions(), SurveyQuestion\saveMaterial(), SurveyQuestion\syncWithOriginal(), and assQuestion\updateSuggestedSolutions().
Here is the caller graph for this function:
|
static |
Delete all links to a given target.
Definition at line 53 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 265 of file class.ilInternalLink.php.
References $ref_id, ilGlossaryTerm\_exists(), ilLMObject\_exists(), ilObjMediaObject\_exists(), and ilPageObject\_exists().
Referenced by ilPageObject\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 302 of file class.ilInternalLink.php.
Referenced by ilPCQuestionGUI\edit(), ilQuestionExporter\exportQuestion(), ilPCQuestionGUI\feedback(), ilPageObject\getQuestionIds(), ilPageObject\newIIMCopies(), ilPageObject\newMobCopies(), ilPageObject\newQuestionCopies(), ilPageObject\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 332 of file class.ilInternalLink.php.
Referenced by ilGlossaryTerm\_exists(), ilLMObject\_exists(), ilObjMediaObject\_exists(), ilPCQuestionGUI\edit(), ilQuestionExporter\exportQuestion(), ilPCQuestionGUI\feedback(), ilPageObject\getInitialOpenedContent(), ilPageObject\getQuestionIds(), exPageContentQuestions\getQuestionOfflinePresentations(), ilPageObject\moveIntLinks(), ilPageObject\newIIMCopies(), ilPageObject\newMobCopies(), ilPageObject\newQuestionCopies(), ilPCInteractiveImage\setNode(), 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 342 of file class.ilInternalLink.php.
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 174 of file class.ilInternalLink.php.
References $id, ilObject\_getAllReferences(), ilGlossaryTerm\_getIdForImportId(), ilLMObject\_getIdForImportId(), ilObject\_getIdForImportId(), and IL_INST_ID.
Referenced by SurveyQuestion\_resolveInternalLink(), assQuestion\_resolveInternalLink(), ilMapArea\_resolveIntLinks(), and ilPageObject\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 106 of file class.ilInternalLink.php.
Referenced by 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 137 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 317 of file class.ilInternalLink.php.
Referenced by ilPageObject\resolveIntLinks().
Here is the caller graph for this function:
|
static |
save internal link information
Definition at line 73 of file class.ilInternalLink.php.
Referenced by assQuestion\_resolveIntLinks(), ilPageObject\saveInternalLinks(), SurveyQuestion\saveMaterial(), SurveyQuestion\syncWithOriginal(), and assQuestion\updateSuggestedSolutions().
Here is the caller graph for this function:
|
static |
Search users.
Definition at line 351 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: