ILIAS
trunk Revision v11.0_alpha-1769-g99a433fe2dc
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (int $a_portfolio_id, int $a_id=0, int $a_old_nr=0, bool $a_enable_comments=true) | |
getParentType () | |
executeCommand () | |
showPage () | |
getTabs (string $a_activate="") | |
setEmbedded (bool $a_value) | |
Set embedded mode: will suppress tabs. More... | |
setAdditional (array $a_additional) | |
Set Additonal Information. More... | |
getAdditional () | |
Get Additonal Information. More... | |
getJsOnloadCode () | |
postOutputProcessing (string $a_output) | |
getExportMaterial () | |
makePlaceHoldersClickable (string $a_html) | |
getViewPageLink () | |
getViewPageText () | |
getPagePermaLink () | |
getCommentsHTMLExport () | |
finishEditing () | |
![]() | |
__construct (string $a_parent_type, int $a_id, int $a_old_nr=0, bool $a_prevent_get_id=false, string $a_lang="", string $concrete_lang="") | |
setTemplate (ilGlobalTemplateInterface $main_tpl) | |
afterConstructor () | |
setAdvMdRecordObject (int $a_adv_ref_id, string $a_adv_type, string $a_adv_subtype="-") | |
Set object, that defines the adv md records being used. More... | |
getAdvMdRecordObject () | |
Get adv md record type. More... | |
setParentType (string $a_val) | |
getParentType () | |
setId (int $a_val) | |
getId () | |
setOldNr (int $a_val) | |
Set old nr (historic page) More... | |
getOldNr () | |
setLanguage (string $a_val) | |
getLanguage () | |
setEnablePCType (string $a_pc_type, bool $a_val) | |
getEnablePCType (string $a_pc_type) | |
setPageConfig (ilPageConfig $a_val) | |
getPageConfig () | |
setPageObject (ilPageObject $a_pg_obj) | |
getPageObject () | |
setOutputMode (string $a_mode=self::PRESENTATION) | |
getOutputMode () | |
setTemplateOutput (bool $a_output=true) | |
outputToTemplate () | |
setPresentationTitle (string $a_title="") | |
getPresentationTitle () | |
setHeader (string $a_title="") | |
getHeader () | |
setLinkParams (string $l_params="") | |
getLinkParams () | |
setLinkFrame (string $l_frame="") | |
getLinkFrame () | |
setPageLinker (\ILIAS\COPage\PageLinker $page_linker) | |
getLinkXML () | |
setQuestionHTML (array $question_html) | |
getQuestionHTML () | |
setTemplateTargetVar (string $a_variable) | |
getTemplateTargetVar () | |
getTemplateOutputVar () | |
setSourcecodeDownloadScript (string $script_name) | |
getSourcecodeDownloadScript () | |
setTabs (ilTabsGUI $a_tabs) | |
setPageBackTitle (string $a_title) | |
setFileDownloadLink (string $a_download_link) | |
getFileDownloadLink () | |
setFullscreenLink (string $a_fullscreen_link) | |
getFullscreenLink () | |
setIntLinkReturn (string $a_return) | |
enableNotes (bool $a_enabled, int $a_parent_id) | |
isEnabledNotes () | |
setOfflineDirectory (string $offdir) | |
getOfflineDirectory () | |
setViewPageLink (string $a_link, string $a_target="") | |
set link for "view page" button More... | |
getViewPageLink () | |
getViewPageTarget () | |
getViewPageText () | |
setActivationListener (object $a_obj, string $a_meth) | |
setEnabledNews (bool $a_enabled, int $a_news_obj_id=0, string $a_news_obj_type="") | |
getEnabledNews () | |
setTabHook (object $a_object, string $a_function) | |
setEditPreview (bool $a_editpreview) | |
Set Display first Edit tab, then Preview tab, instead of Page and Edit. More... | |
getEditPreview () | |
setEnabledTabs (bool $a_enabledtabs) | |
getEnabledTabs () | |
setEnabledPageFocus (bool $a_enabledpagefocus) | |
setOpenPlaceHolder (string $a_val) | |
getOpenPlaceHolder () | |
getEnabledPageFocus () | |
setPrependingHtml (string $a_prependinghtml) | |
getPrependingHtml () | |
setEnableEditing (bool $a_enableediting) | |
getEnableEditing () | |
setRawPageContent (bool $a_rawpagecontent) | |
Set Get raw page content only. More... | |
getRawPageContent () | |
setStyleId (int $a_styleid) | |
getStyleId () | |
setCompareMode (bool $a_val) | |
getCompareMode () | |
setAbstractOnly (bool $a_val, string $pcid="") | |
Get only abstract (first text paragraph) More... | |
getAbstractOnly () | |
setRenderPageContainer (bool $a_val) | |
getRenderPageContainer () | |
getDisabledText () | |
getEnabledHref () | |
setEnabledHref (bool $enable) | |
activateMetaDataEditor (ilObject $a_rep_obj, string $a_type, int $a_sub_obj_id, ?object $a_observer_obj=null, string $a_observer_func="") | |
Activate meda data editor. More... | |
determineFileDownloadLink () | |
determineFullscreenLink () | |
determineSourcecodeDownloadScript () | |
getComponentPluginsXML () | |
Put information about activated plugins into XML. More... | |
executeCommand () | |
execute command More... | |
setQEditTabs (string $a_active) | |
Set question editing tabs. More... | |
onFeedbackEditingForwarding () | |
deactivatePage () | |
activatePage () | |
showPage () | |
display content of page More... | |
replaceCurlyBrackets (string $output) | |
getActivationCaptions () | |
Get captions for activation action menu entries. More... | |
setEditMode () | |
Set edit mode. More... | |
setDefaultLinkXml () | |
setLinkXml (string $xml) | |
getProfileBackUrl () | |
setProfileBackUrl (string $url) | |
downloadFile () | |
displayMediaFullscreen () | |
displayMedia (bool $a_fullscreen=false) | |
download_paragraph () | |
download source code paragraph More... | |
insertPageToc (string $a_output) | |
insertResources (string $a_output) | |
insertAdvTrigger (string $a_output) | |
Insert adv content trigger. More... | |
postOutputProcessing (string $a_output) | |
Finalizing output processing. More... | |
previewHistory () | |
Preview history. More... | |
preview () | |
edit () | |
getBlockingInfoMessage () | |
insertJSAtPlaceholder () | |
presentation (string $a_mode=self::PRESENTATION) | |
getHTML () | |
showMediaFullscreen (int $a_style_id=0) | |
show fullscreen view of media object More... | |
displayValidationError ($a_error) | |
display validation error More... | |
history () | |
Get history table as HTML. More... | |
rollbackConfirmation () | |
Rollback confirmation. More... | |
rollback () | |
Rollback to a previous version. More... | |
setScreenIdComponent () | |
getMetaDataLink () | |
getTabs (string $a_activate="") | |
compareVersion () | |
Compares two revisions of the page. More... | |
replaceDiffTags (string $a_html) | |
editActivation () | |
Edit activation (only, if scheduled page activation is activated in administration) More... | |
initActivationForm () | |
Init activation form. More... | |
getActivationFormValues () | |
Get values for activation form. More... | |
saveActivation () | |
Save Activation. More... | |
getNotesHTML (?object $a_content_object=null, bool $a_enable_private_notes=true, bool $a_enable_public_notes=false, bool $a_enable_notes_deletion=false, ?callable $a_callback=null, bool $export=false) | |
Get html for public and/or private notes. More... | |
processAnswer () | |
Process answer. More... | |
initialOpenedContent () | |
Initially opened content. More... | |
initOpenedContentForm () | |
saveInitialOpenedContent () | |
switchToLanguage () | |
Switch to language. More... | |
confirmPageTranslationCreation () | |
Confirm page translation creation. More... | |
editMasterLanguage () | |
Edit master language. More... | |
createPageTranslation () | |
Create page translation. More... | |
releasePageLock () | |
Release page lock. More... | |
finishEditing () | |
getPagePermaLink () | |
getAdditionalPageActions () | |
Get additional page actions. More... | |
afterDeleteContents () | |
Protected Member Functions | |
getPageContentUserId (int $a_user_id) | |
renderPageElement (string $a_type, string $a_html) | |
renderTeaser (string $a_type, string $a_title, string $a_options="") | |
renderProfile (int $a_user_id, string $a_type, ?array $a_fields=null) | |
renderVerification (int $a_user_id, string $a_type, int $a_id) | |
dltstv () | |
dlexcv () | |
dlcrsv () | |
dlcmxv () | |
dlltiv () | |
dlscov () | |
dlcrta () | |
renderBlogTeaser (int $a_user_id, int $a_blog_id, ?array $a_posting_ids=null) | |
renderSkills (int $a_user_id, int $a_skills_id) | |
renderSkillsTeaser (int $a_user_id, int $a_skills_id) | |
renderConsultationHoursTeaser (int $a_user_id, string $a_mode, ?array $a_group_ids=null) | |
renderConsultationHours (int $a_user_id, string $a_mode, ?array $a_group_ids=null) | |
isMyCoursesActive () | |
renderMyCoursesTeaser (int $a_user_id, $a_default_sorting) | |
renderMyCourses (int $a_user_id, string $a_default_sorting) | |
getCourseSortAction (ilCtrl $ctrl) | |
Get course sort action. More... | |
getCoursesOfUser (int $a_user_id, bool $a_add_path=false) | |
parseLOUserResults (int $a_course_obj_id, int $a_user_id) | |
![]() | |
initPageObject () | |
Init page object. More... | |
showEditToolbar () | |
Show edit toolbar. More... | |
setEditorToolContext () | |
Set editor tool context. More... | |
initEditing () | |
showEditLockInfo () | |
setBackToEditTabs () | |
setBackToHistoryTabs () | |
checkLangPageAvailable (int $id, string $lang) | |
isPageContainerToBeRendered () | |
addResourcesToTemplate (ilGlobalTemplateInterface $tpl) | |
Add resources to template. More... | |
Static Protected Attributes | |
static int | $initialized = 0 |
static bool | $calender_initialized = false |
Private Member Functions | |
createPersistentCertificateUrl (int $a_id, ilUserCertificateRepository $userCertificateRepository, string $url) | |
Additional Inherited Members | |
![]() | |
static | getTinyMenu (string $a_par_type, bool $a_int_links=false, bool $a_wiki_links=false, bool $a_keywords=false, $a_style_id=0, $a_paragraph_styles=true, $a_save_return=true, $a_anchors=false, $a_save_new=true, $a_user_links=false, ?\ILIAS\COPage\Editor\Server\UIWrapper $ui_wrapper=null) |
Get Tiny Menu. 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 Portfolio page gui class
Definition at line 26 of file class.ilPortfolioPageGUI.php.
ilPortfolioPageGUI::__construct | ( | int | $a_portfolio_id, |
int | $a_id = 0 , |
||
int | $a_old_nr = 0 , |
||
bool | $a_enable_comments = true |
||
) |
Definition at line 45 of file class.ilPortfolioPageGUI.php.
References $DIC, ilPageObjectGUI\$tpl, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilObjStyleSheet\getContentStylePath(), ilPageObjectGUI\getPageObject(), getParentType(), ilObjStyleSheet\getSyntaxStylePath(), ILIAS\Repository\lng(), ILIAS\UICore\GlobalTemplate\parseCurrentBlock(), ILIAS\UICore\GlobalTemplate\setCurrentBlock(), ILIAS\UICore\GlobalTemplate\setVariable(), and ILIAS\Repository\user().
|
private |
Definition at line 1130 of file class.ilPortfolioPageGUI.php.
References Vendor\Package\$e, ilUserCertificateRepository\fetchActiveCertificateForPresentation(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
Referenced by renderVerification().
|
protected |
Definition at line 437 of file class.ilPortfolioPageGUI.php.
References ilPageObjectGUI\$id, and ilObject2GUI\WORKSPACE_OBJECT_ID.
|
protected |
Definition at line 428 of file class.ilPortfolioPageGUI.php.
References ilPageObjectGUI\$id, and ilObject2GUI\WORKSPACE_OBJECT_ID.
|
protected |
Definition at line 464 of file class.ilPortfolioPageGUI.php.
References ILIAS\Repository\user().
|
protected |
Definition at line 419 of file class.ilPortfolioPageGUI.php.
References ilPageObjectGUI\$id, and ilObject2GUI\WORKSPACE_OBJECT_ID.
|
protected |
Definition at line 446 of file class.ilPortfolioPageGUI.php.
References ilPageObjectGUI\$id, and ilObject2GUI\WORKSPACE_OBJECT_ID.
|
protected |
Definition at line 455 of file class.ilPortfolioPageGUI.php.
References ilPageObjectGUI\$id, and ilObject2GUI\WORKSPACE_OBJECT_ID.
|
protected |
Definition at line 410 of file class.ilPortfolioPageGUI.php.
References ilPageObjectGUI\$id, and ilObject2GUI\WORKSPACE_OBJECT_ID.
ilPortfolioPageGUI::executeCommand | ( | ) |
Definition at line 111 of file class.ilPortfolioPageGUI.php.
References ilPageObjectGUI\$ctrl, ilPageObjectGUI\$user, ilCalendarCategories\_getInstance(), ILIAS\Repository\ctrl(), ilPageObjectGUI\getPageObject(), ILIAS\GlobalScreen\Scope\Footer\Factory\getTitle(), IL_CAL_DATE, IL_CAL_UNIX, ilCalendarCategories\MODE_PORTFOLIO_CONSULTATION, and ilPageObjectGUI\setPresentationTitle().
ilPortfolioPageGUI::finishEditing | ( | ) |
Definition at line 1160 of file class.ilPortfolioPageGUI.php.
References ILIAS\Repository\ctrl().
ilPortfolioPageGUI::getAdditional | ( | ) |
Get Additonal Information.
Definition at line 192 of file class.ilPortfolioPageGUI.php.
References $additional.
Referenced by renderProfile().
ilPortfolioPageGUI::getCommentsHTMLExport | ( | ) |
Definition at line 1147 of file class.ilPortfolioPageGUI.php.
References ilPageObjectGUI\getId(), and ilPageObjectGUI\getPageObject().
|
protected |
Definition at line 853 of file class.ilPortfolioPageGUI.php.
References $path, $ref_id, $res, $tree, ilObjUserTracking\_enabledLearningProgress(), ilObjUserTracking\_enabledUserRelatedData(), ilObject\_getAllReferences(), ilParticipants\_getMembershipByType(), ilObjUserTracking\_hasLearningProgressLearner(), ilObjCourseAccess\_isActivated(), ilObject\_lookupTitle(), ilObjCourse\_lookupViewMode(), ilLOTestAssignments\getInstance(), ilTree\getNodeData(), ilTrQuery\getObjectsStatusForUser(), ilTree\getPathFull(), ilCourseConstants\IL_CRS_VIEW_OBJECTIVE, ilTree\isDeleted(), ILIAS\Repository\lng(), ilCourseObjective\lookupObjectiveTitle(), ilLPObjSettings\LP_MODE_OBJECTIVES, null, parseLOUserResults(), ROOT_FOLDER_ID, ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
Referenced by renderMyCourses().
|
protected |
Get course sort action.
Definition at line 848 of file class.ilPortfolioPageGUI.php.
References ilCtrl\getFormActionByClass().
Referenced by renderMyCourses().
ilPortfolioPageGUI::getExportMaterial | ( | ) |
Definition at line 1019 of file class.ilPortfolioPageGUI.php.
References $export_material.
ilPortfolioPageGUI::getJsOnloadCode | ( | ) |
|
protected |
Definition at line 98 of file class.ilPortfolioPageGUI.php.
References ilPageObjectGUI\getPageObject().
Referenced by renderConsultationHours(), renderMyCourses(), renderProfile(), and renderSkills().
ilPortfolioPageGUI::getPagePermaLink | ( | ) |
Definition at line 1124 of file class.ilPortfolioPageGUI.php.
References ilLink\_getStaticLink(), ilPortfolioPage\findPortfolioForPage(), and ilPageObjectGUI\getId().
Referenced by renderVerification().
ilPortfolioPageGUI::getParentType | ( | ) |
Definition at line 93 of file class.ilPortfolioPageGUI.php.
Referenced by __construct().
ilPortfolioPageGUI::getTabs | ( | string | $a_activate = "" | ) |
Definition at line 166 of file class.ilPortfolioPageGUI.php.
ilPortfolioPageGUI::getViewPageLink | ( | ) |
Definition at line 1109 of file class.ilPortfolioPageGUI.php.
References ilPageObjectGUI\$ctrl, $DIC, ilCtrl\getLinkTargetByClass(), and ilCtrl\setParameterByClass().
ilPortfolioPageGUI::getViewPageText | ( | ) |
Definition at line 1119 of file class.ilPortfolioPageGUI.php.
References ILIAS\Repository\lng().
|
protected |
Definition at line 622 of file class.ilPortfolioPageGUI.php.
Referenced by renderMyCourses(), and renderMyCoursesTeaser().
ilPortfolioPageGUI::makePlaceHoldersClickable | ( | string | $a_html | ) |
Definition at line 1024 of file class.ilPortfolioPageGUI.php.
References ilPageObjectGUI\$ctrl, ilPageObjectGUI\$lng, $param, ilPageObjectGUI\$user, ilObject\_lookupOwner(), ilPageObjectGUI\getId(), ilPageObjectGUI\getOutputMode(), and ilLanguage\txt().
Referenced by postOutputProcessing().
|
protected |
Definition at line 987 of file class.ilPortfolioPageGUI.php.
References $res, null, ilLOUserResults\TYPE_INITIAL, and ilLOUserResults\TYPE_QUALIFIED.
Referenced by getCoursesOfUser().
ilPortfolioPageGUI::postOutputProcessing | ( | string | $a_output | ) |
Definition at line 202 of file class.ilPortfolioPageGUI.php.
References $parts, makePlaceHoldersClickable(), null, and renderPageElement().
|
protected |
Definition at line 473 of file class.ilPortfolioPageGUI.php.
References $post, ilObject\_lookupTitle(), ilDatePresentation\formatDate(), ILIAS\Repository\lng(), and renderTeaser().
|
protected |
Definition at line 558 of file class.ilPortfolioPageGUI.php.
References ilPageObjectGUI\$user, $user_id, ilCalendarCategories\_getInstance(), ILIAS\Repository\ctrl(), ilPageObjectGUI\getOutputMode(), getPageContentUserId(), ilUtil\getStyleSheetLocation(), IL_CAL_DATE, IL_CAL_UNIX, ILIAS\Repository\lng(), ilCalendarCategories\MODE_PORTFOLIO_CONSULTATION, null, and renderConsultationHoursTeaser().
|
protected |
Definition at line 525 of file class.ilPortfolioPageGUI.php.
References ILIAS\Repository\lng(), null, and renderTeaser().
Referenced by renderConsultationHours().
|
protected |
Definition at line 645 of file class.ilPortfolioPageGUI.php.
References ilPageObjectGUI\$access, ilPageObjectGUI\$ctrl, $data, $GLOBALS, $params, ilPageObjectGUI\$tpl, $url, ilPageObjectGUI\$user, $user_id, ilObject\_getIcon(), ANONYMOUS_USER_ID, ilContainerObjectiveGUI\buildObjectiveProgressBar(), ilLegacyFormElementsUtil\formSelect(), ILIAS\UICore\GlobalTemplate\get(), getCoursesOfUser(), getCourseSortAction(), ilLPStatusIcons\getInstance(), ilLOSettings\getInstanceByObjId(), ilPageObjectGUI\getOutputMode(), getPageContentUserId(), ilLPStatusIcons\ICON_VARIANT_LONG, isMyCoursesActive(), ILIAS\Repository\lng(), null, ILIAS\UICore\GlobalTemplate\parseCurrentBlock(), renderMyCoursesTeaser(), ILIAS\UICore\GlobalTemplate\setCurrentBlock(), ILIAS\UICore\GlobalTemplate\setVariable(), ilArrayUtil\sortArray(), and ILIAS\UICore\GlobalTemplate\touchBlock().
|
protected |
Definition at line 628 of file class.ilPortfolioPageGUI.php.
References isMyCoursesActive(), ILIAS\Repository\lng(), and renderTeaser().
Referenced by renderMyCourses().
|
protected |
Definition at line 285 of file class.ilPortfolioPageGUI.php.
Referenced by postOutputProcessing().
|
protected |
Definition at line 308 of file class.ilPortfolioPageGUI.php.
References ilPageObjectGUI\$ctrl, $user_id, getAdditional(), ilPageObjectGUI\getOutputMode(), and getPageContentUserId().
|
protected |
Definition at line 497 of file class.ilPortfolioPageGUI.php.
References ilPageObjectGUI\$gui, $user_id, ilPageObjectGUI\getOutputMode(), getPageContentUserId(), and renderSkillsTeaser().
|
protected |
Definition at line 514 of file class.ilPortfolioPageGUI.php.
References ilSkillTreeNode\_lookupTitle(), ILIAS\Repository\lng(), and renderTeaser().
Referenced by renderSkills().
|
protected |
Definition at line 292 of file class.ilPortfolioPageGUI.php.
References ILIAS\Repository\lng().
Referenced by renderBlogTeaser(), renderConsultationHoursTeaser(), renderMyCoursesTeaser(), and renderSkillsTeaser().
|
protected |
ilException |
Definition at line 345 of file class.ilPortfolioPageGUI.php.
References $obj_definition, $url, ilObject\_exists(), createPersistentCertificateUrl(), ILIAS\Repository\ctrl(), ilPageObjectGUI\getOutputMode(), getPagePermaLink(), ILIAS\Repository\lng(), and ilObject2GUI\WORKSPACE_OBJECT_ID.
ilPortfolioPageGUI::setAdditional | ( | array | $a_additional | ) |
Set Additonal Information.
Definition at line 184 of file class.ilPortfolioPageGUI.php.
Referenced by ilObjPortfolioTemplateGUI\getPageGUIInstance().
ilPortfolioPageGUI::setEmbedded | ( | bool | $a_value | ) |
Set embedded mode: will suppress tabs.
Definition at line 176 of file class.ilPortfolioPageGUI.php.
ilPortfolioPageGUI::showPage | ( | ) |
Definition at line 153 of file class.ilPortfolioPageGUI.php.
References ilPageObjectGUI\$user, ilPageObjectGUI\getPageObject(), and ilPageObjectGUI\setTemplateOutput().
|
protected |
Definition at line 37 of file class.ilPortfolioPageGUI.php.
Referenced by getAdditional().
|
staticprotected |
Definition at line 40 of file class.ilPortfolioPageGUI.php.
|
protected |
Definition at line 33 of file class.ilPortfolioPageGUI.php.
|
protected |
Definition at line 29 of file class.ilPortfolioPageGUI.php.
|
protected |
Definition at line 38 of file class.ilPortfolioPageGUI.php.
Referenced by getExportMaterial().
|
staticprotected |
Definition at line 39 of file class.ilPortfolioPageGUI.php.
|
protected |
Definition at line 36 of file class.ilPortfolioPageGUI.php.
Referenced by getJsOnloadCode().
|
protected |
Definition at line 34 of file class.ilPortfolioPageGUI.php.
Referenced by renderVerification().
|
protected |
Definition at line 31 of file class.ilPortfolioPageGUI.php.
|
protected |
Definition at line 30 of file class.ilPortfolioPageGUI.php.
|
protected |
Definition at line 41 of file class.ilPortfolioPageGUI.php.
|
protected |
Definition at line 35 of file class.ilPortfolioPageGUI.php.
Referenced by getCoursesOfUser().
|
protected |
Definition at line 42 of file class.ilPortfolioPageGUI.php.
|
protected |
Definition at line 43 of file class.ilPortfolioPageGUI.php.
const ilPortfolioPageGUI::EMBEDDED_NO_OUTPUT = -99 |
Definition at line 28 of file class.ilPortfolioPageGUI.php.
Referenced by ilObjPortfolioBaseGUI\handlePageCall().