ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Portfolio page gui class. 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 () | |
execute command More... | |
showPage () | |
display content of page More... | |
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) | |
Finalizing output processing. More... | |
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... | |
Portfolio page gui class.
Definition at line 28 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 47 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 1132 of file class.ilPortfolioPageGUI.php.
|
protected |
Definition at line 439 of file class.ilPortfolioPageGUI.php.
References $id, and ilObject2GUI\WORKSPACE_OBJECT_ID.
|
protected |
Definition at line 430 of file class.ilPortfolioPageGUI.php.
References $id, and ilObject2GUI\WORKSPACE_OBJECT_ID.
|
protected |
Definition at line 466 of file class.ilPortfolioPageGUI.php.
References ILIAS\Repository\user().
|
protected |
Definition at line 421 of file class.ilPortfolioPageGUI.php.
References $id, and ilObject2GUI\WORKSPACE_OBJECT_ID.
|
protected |
Definition at line 448 of file class.ilPortfolioPageGUI.php.
References $id, and ilObject2GUI\WORKSPACE_OBJECT_ID.
|
protected |
Definition at line 457 of file class.ilPortfolioPageGUI.php.
References $id, and ilObject2GUI\WORKSPACE_OBJECT_ID.
|
protected |
Definition at line 412 of file class.ilPortfolioPageGUI.php.
References $id, and ilObject2GUI\WORKSPACE_OBJECT_ID.
ilPortfolioPageGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilPageObjectGUI.
Definition at line 113 of file class.ilPortfolioPageGUI.php.
References ilPageObjectGUI\$ctrl, ilPageObjectGUI\$user, ilCalendarCategories\_getInstance(), ILIAS\Repository\ctrl(), EMBEDDED_NO_OUTPUT, ilPageObjectGUI\getPageObject(), ILIAS\GlobalScreen\Scope\Footer\Factory\getTitle(), IL_CAL_DATE, IL_CAL_UNIX, ilCalendarCategories\MODE_PORTFOLIO_CONSULTATION, and ilPageObjectGUI\setPresentationTitle().
ilPortfolioPageGUI::finishEditing | ( | ) |
Reimplemented from ilPageObjectGUI.
Reimplemented in ilPortfolioTemplatePageGUI.
Definition at line 1162 of file class.ilPortfolioPageGUI.php.
References ILIAS\Repository\ctrl().
ilPortfolioPageGUI::getAdditional | ( | ) |
Get Additonal Information.
Definition at line 194 of file class.ilPortfolioPageGUI.php.
References $additional.
ilPortfolioPageGUI::getCommentsHTMLExport | ( | ) |
Definition at line 1149 of file class.ilPortfolioPageGUI.php.
References ILIAS\Survey\Mode\getId().
|
protected |
Definition at line 855 of file class.ilPortfolioPageGUI.php.
|
protected |
Get course sort action.
Reimplemented in ilPortfolioTemplatePageGUI.
Definition at line 850 of file class.ilPortfolioPageGUI.php.
References ilCtrl\getFormActionByClass().
ilPortfolioPageGUI::getExportMaterial | ( | ) |
Definition at line 1021 of file class.ilPortfolioPageGUI.php.
ilPortfolioPageGUI::getJsOnloadCode | ( | ) |
Definition at line 199 of file class.ilPortfolioPageGUI.php.
References $js_onload_code.
|
protected |
Reimplemented in ilPortfolioTemplatePageGUI.
Definition at line 100 of file class.ilPortfolioPageGUI.php.
ilPortfolioPageGUI::getPagePermaLink | ( | ) |
Reimplemented from ilPageObjectGUI.
Definition at line 1126 of file class.ilPortfolioPageGUI.php.
References ilLink\_getStaticLink(), ilPortfolioPage\findPortfolioForPage(), and ILIAS\Survey\Mode\getId().
ilPortfolioPageGUI::getParentType | ( | ) |
Reimplemented from ilPageObjectGUI.
Reimplemented in ilPortfolioTemplatePageGUI.
Definition at line 95 of file class.ilPortfolioPageGUI.php.
Referenced by __construct().
ilPortfolioPageGUI::getTabs | ( | string | $a_activate = "" | ) |
Reimplemented from ilPageObjectGUI.
Definition at line 168 of file class.ilPortfolioPageGUI.php.
ilPortfolioPageGUI::getViewPageLink | ( | ) |
Reimplemented from ilPageObjectGUI.
Reimplemented in ilPortfolioTemplatePageGUI.
Definition at line 1111 of file class.ilPortfolioPageGUI.php.
References $DIC.
ilPortfolioPageGUI::getViewPageText | ( | ) |
Reimplemented from ilPageObjectGUI.
Definition at line 1121 of file class.ilPortfolioPageGUI.php.
References ILIAS\Repository\lng().
|
protected |
Definition at line 624 of file class.ilPortfolioPageGUI.php.
ilPortfolioPageGUI::makePlaceHoldersClickable | ( | string | $a_html | ) |
Definition at line 1026 of file class.ilPortfolioPageGUI.php.
References $lng, $param, ilObject\_lookupOwner(), and ILIAS\Survey\Mode\getId().
Referenced by postOutputProcessing().
|
protected |
Definition at line 989 of file class.ilPortfolioPageGUI.php.
ilPortfolioPageGUI::postOutputProcessing | ( | string | $a_output | ) |
Finalizing output processing.
Maybe overwritten in derived classes, e.g. in wiki module.
Reimplemented from ilPageObjectGUI.
Definition at line 204 of file class.ilPortfolioPageGUI.php.
References $parts, makePlaceHoldersClickable(), and renderPageElement().
|
protected |
Definition at line 475 of file class.ilPortfolioPageGUI.php.
References $post, and ilDatePresentation\formatDate().
|
protected |
Definition at line 560 of file class.ilPortfolioPageGUI.php.
|
protected |
Definition at line 527 of file class.ilPortfolioPageGUI.php.
References ILIAS\Repository\lng().
|
protected |
Definition at line 647 of file class.ilPortfolioPageGUI.php.
|
protected |
Definition at line 630 of file class.ilPortfolioPageGUI.php.
|
protected |
Reimplemented in ilPortfolioTemplatePageGUI.
Definition at line 287 of file class.ilPortfolioPageGUI.php.
Referenced by postOutputProcessing().
|
protected |
Definition at line 310 of file class.ilPortfolioPageGUI.php.
|
protected |
Definition at line 499 of file class.ilPortfolioPageGUI.php.
|
protected |
Definition at line 516 of file class.ilPortfolioPageGUI.php.
|
protected |
Definition at line 294 of file class.ilPortfolioPageGUI.php.
References ILIAS\Repository\lng().
|
protected |
ilException |
Definition at line 347 of file class.ilPortfolioPageGUI.php.
ilPortfolioPageGUI::setAdditional | ( | array | $a_additional | ) |
Set Additonal Information.
Definition at line 186 of file class.ilPortfolioPageGUI.php.
ilPortfolioPageGUI::setEmbedded | ( | bool | $a_value | ) |
Set embedded mode: will suppress tabs.
Definition at line 178 of file class.ilPortfolioPageGUI.php.
ilPortfolioPageGUI::showPage | ( | ) |
display content of page
Reimplemented from ilPageObjectGUI.
Reimplemented in ilPortfolioTemplatePageGUI.
Definition at line 155 of file class.ilPortfolioPageGUI.php.
References ilPageObjectGUI\$user, ilPageObjectGUI\getPageObject(), and ilPageObjectGUI\setTemplateOutput().
|
protected |
Definition at line 39 of file class.ilPortfolioPageGUI.php.
Referenced by getAdditional().
|
staticprotected |
Definition at line 42 of file class.ilPortfolioPageGUI.php.
|
protected |
Definition at line 35 of file class.ilPortfolioPageGUI.php.
|
protected |
Definition at line 31 of file class.ilPortfolioPageGUI.php.
|
protected |
Definition at line 40 of file class.ilPortfolioPageGUI.php.
|
staticprotected |
Definition at line 41 of file class.ilPortfolioPageGUI.php.
|
protected |
Definition at line 38 of file class.ilPortfolioPageGUI.php.
Referenced by getJsOnloadCode().
|
protected |
Definition at line 36 of file class.ilPortfolioPageGUI.php.
|
protected |
Definition at line 33 of file class.ilPortfolioPageGUI.php.
|
protected |
Definition at line 32 of file class.ilPortfolioPageGUI.php.
|
protected |
Definition at line 43 of file class.ilPortfolioPageGUI.php.
|
protected |
Definition at line 37 of file class.ilPortfolioPageGUI.php.
|
protected |
Definition at line 44 of file class.ilPortfolioPageGUI.php.
|
protected |
Definition at line 45 of file class.ilPortfolioPageGUI.php.
const ilPortfolioPageGUI::EMBEDDED_NO_OUTPUT = -99 |
Definition at line 30 of file class.ilPortfolioPageGUI.php.
Referenced by executeCommand(), and ilObjPortfolioBaseGUI\handlePageCall().