|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
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 25 of file class.ilInternalLink.php.
|
static |
Delete all links of a given source.
Definition at line 30 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 54 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 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 302 of file class.ilInternalLink.php.
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 332 of file class.ilInternalLink.php.
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 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 175 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 107 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 138 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 ILIAS\COPage\Link\LinkManager\resolveIntLinks().
Here is the caller graph for this function:
|
static |
save internal link information
Definition at line 74 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 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: