ILIAS  trunk Revision v11.0_alpha-1769-g99a433fe2dc
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilPortfolioPageGUI Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilPortfolioPageGUI:
+ Collaboration diagram for ilPortfolioPageGUI:

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 ()
 
- Public Member Functions inherited from ilPageObjectGUI
 __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 ()
 

Data Fields

const EMBEDDED_NO_OUTPUT = -99
 
- Data Fields inherited from ilPageObjectGUI
const PRESENTATION = "presentation"
 
const EDIT = "edit"
 
const PREVIEW = "preview"
 
const OFFLINE = "offline"
 
const PRINTING = "print"
 
string $page_back_title = ""
 
ilPageObject $obj
 
string $presentation_title = ""
 
string $target_script = ""
 
string $return_location = ""
 
string $target_var = ""
 
string $template_output_var = ""
 
bool $output2template = false
 
string $link_params = ""
 
string $sourcecode_download_script = ""
 
bool $activation = false
 
bool $activated = true
 
bool $editpreview = false
 
bool $use_meta_data = false
 
ilObject $meta_data_rep_obj = null
 
int $meta_data_sub_obj_id = 0
 
string $meta_data_type = ""
 
object $meta_data_observer_obj = null
 
string $meta_data_observer_func = ""
 
bool $link_xml_set = false
 
bool $enableediting = true
 
bool $rawpagecontent = false
 
bool $enabledcontentincludes = false
 
bool $compare_mode = false
 
ilPageConfig $page_config = null
 
bool $tabs_enabled = true
 
bool $render_page_container = false
 
string $pl_start = "{{{{{"
 
string $pl_end = "}}}}}"
 

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)
 
- Protected Member Functions inherited from ilPageObjectGUI
 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...
 

Protected Attributes

bool $enable_comments
 
int $portfolio_id
 
ILIAS Portfolio StandardGUIRequest $port_request
 
bool $embedded = false
 
ilObjectDefinition $obj_definition
 
ilTree $tree
 
array $js_onload_code = array()
 
array $additional = array()
 
array $export_material = array("js" => array(), "images" => array(), "files" => array())
 
int $requested_ppage
 
ILIAS UI Factory $ui_fac
 
ILIAS UI Renderer $ui_ren
 
- Protected Attributes inherited from ilPageObjectGUI
ILIAS TestQuestionPool Questions PublicInterface $questioninfo
 
ILIAS COPage Page PageManager $pm
 
ILIAS COPage Link LinkManager $link
 
ILIAS COPage InternalGUIService $gui
 
ILIAS COPage PC PCDefinition $pc_definition
 
ILIAS COPage Xsl XslManager $xsl
 
ILIAS COPage Editor GUIService $editor_gui
 
ILIAS Notes Service $notes
 
int $requested_ref_id
 
int $requested_pg_id
 
string $requested_file_id
 
string $requested_transl
 
int $requested_old_nr
 
EditGUIRequest $request
 
EditSessionRepository $edit_repo
 
string $exp_target_script = ""
 
string $exp_id = ""
 
string $exp_frame = ""
 
string $act_meth = ""
 
object $act_obj
 
int $notes_parent_id = 0
 
ilPropertyFormGUI $form
 
int $styleid = 0
 
bool $enabledpagefocus
 
string $link_xml
 
int $old_nr = 0
 
int $id
 
string $language
 
ilGlobalTemplateInterface $tpl
 
ilLanguage $lng
 
ilCtrl $ctrl
 
ilTabsGUI $tabs_gui
 
ilAccessHandler $access
 
ilLogger $log
 
ilObjUser $user
 
ilHelpGUI $help
 
string $output_mode = ""
 
string $parent_type = ""
 
string $file_download_link = ''
 
string $fullscreen_link = ''
 
string $link_frame = ''
 
ILIAS GlobalScreen ScreenContext ContextServices $tool_context
 
ILIAS DI UIServices $ui
 
ILIAS COPage PageLinker $page_linker
 
string $abstract_pcid = ""
 
ilToolbarGUI $toolbar
 
string $open_place_holder = ""
 
int $requested_user_id = 0
 
int $requested_q_id = 0
 
int $requested_history_mode = 0
 
bool $enabled_news = false
 
int $news_obj_id = 0
 
string $news_obj_type = ""
 
array $tab_hook = null
 
string $view_page_link = ""
 
string $view_page_target = ""
 
string $offline_directory = ""
 
bool $notes_enabled = false
 
string $prependinghtml = ""
 
string $header = ""
 
string $int_link_return = ""
 
bool $enabled_href = true
 
int $adv_ref_id = null
 
string $adv_type = null
 
string $adv_subtype = null
 
string $concrete_lang = ""
 
string $profile_back_url = ""
 
ilComponentFactory $component_factory
 
ILIAS COPage Compare PageCompare $compare
 

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 Public Member Functions inherited from ilPageObjectGUI
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...
 

Detailed Description

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

Author
Jörg Lützenkirchen luetz.nosp@m.enki.nosp@m.rchen.nosp@m.@lei.nosp@m.fos.c.nosp@m.om ilPortfolioPageGUI: ilPageEditorGUI, ilEditClipboardGUI, ilMediaPoolTargetSelector ilPortfolioPageGUI: ilPageObjectGUI, ilPublicUserProfileGUI ilPortfolioPageGUI: ilCalendarMonthGUI, ilConsultationHoursGUI, ilLearningHistoryGUI

Definition at line 26 of file class.ilPortfolioPageGUI.php.

Constructor & Destructor Documentation

◆ __construct()

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().

50  {
51  global $DIC;
52 
53  $this->tpl = $DIC["tpl"];
54  $this->ctrl = $DIC->ctrl();
55  $this->user = $DIC->user();
56  $this->obj_definition = $DIC["objDefinition"];
57  $this->access = $DIC->access();
58  $this->tree = $DIC->repositoryTree();
59  $this->lng = $DIC->language();
60  $tpl = $DIC["tpl"];
61  $this->port_request = $DIC->portfolio()
62  ->internal()
63  ->gui()
64  ->standardRequest();
65  $this->ui_fac = $DIC->ui()->factory();
66  $this->ui_ren = $DIC->ui()->renderer();
67 
68  $this->portfolio_id = $a_portfolio_id;
69  $this->enable_comments = $a_enable_comments;
70 
71  parent::__construct($this->getParentType(), $a_id, $a_old_nr);
72  $this->getPageObject()->setPortfolioId($this->portfolio_id);
73 
74  // content style
75 
76  $tpl->setCurrentBlock("SyntaxStyle");
78  "LOCATION_SYNTAX_STYLESHEET",
80  );
82 
83  $tpl->setCurrentBlock("ContentStyle");
85  "LOCATION_CONTENT_STYLESHEET",
87  );
89 
90  $this->requested_ppage = $this->port_request->getPortfolioPageId();
91  }
parseCurrentBlock(string $block_name=self::DEFAULT_BLOCK)
Parses the given block.
setCurrentBlock(string $part=self::DEFAULT_BLOCK)
Sets the template to the given block.
setVariable(string $variable, $value='')
Sets the given variable to the given value.
ilGlobalTemplateInterface $tpl
global $DIC
Definition: shib_login.php:22
static getContentStylePath(int $a_style_id, bool $add_random=true, bool $add_token=true)
get content style path static (to avoid full reading)
__construct(Container $dic, ilPlugin $plugin)
+ Here is the call graph for this function:

Member Function Documentation

◆ createPersistentCertificateUrl()

ilPortfolioPageGUI::createPersistentCertificateUrl ( int  $a_id,
ilUserCertificateRepository  $userCertificateRepository,
string  $url 
)
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().

1134  : string {
1135  try {
1136  $presentation = $userCertificateRepository->fetchActiveCertificateForPresentation($this->user->getId(), $a_id);
1137  } catch (Exception $e) {
1138  return "";
1139  }
1140  $caption = $this->lng->txt('certificate') . ': ';
1141  $caption .= $this->lng->txt($presentation->getUserCertificate()->getObjType()) . ' ';
1142  $caption .= '"' . $presentation->getObjectTitle() . '"';
1143 
1144  return '<div><a href="' . $url . '">' . $caption . '</a></div>';
1145  }
$url
Definition: shib_logout.php:66
fetchActiveCertificateForPresentation(int $userId, int $objectId)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ dlcmxv()

ilPortfolioPageGUI::dlcmxv ( )
protected

Definition at line 437 of file class.ilPortfolioPageGUI.php.

References ilPageObjectGUI\$id, and ilObject2GUI\WORKSPACE_OBJECT_ID.

437  : void
438  {
439  $id = $this->port_request->getVerificationId();
440  if ($id) {
442  $verification->downloadFromPortfolioPage($this->getPortfolioPage());
443  }
444  }

◆ dlcrsv()

ilPortfolioPageGUI::dlcrsv ( )
protected

Definition at line 428 of file class.ilPortfolioPageGUI.php.

References ilPageObjectGUI\$id, and ilObject2GUI\WORKSPACE_OBJECT_ID.

428  : void
429  {
430  $id = $this->port_request->getVerificationId();
431  if ($id) {
433  $verification->downloadFromPortfolioPage($this->getPortfolioPage());
434  }
435  }
GUI class for course verification.

◆ dlcrta()

ilPortfolioPageGUI::dlcrta ( )
protected

Definition at line 464 of file class.ilPortfolioPageGUI.php.

References ILIAS\Repository\user().

464  : void
465  {
466  $objectId = $this->port_request->getVerificationId();
467  if ($objectId) {
469  $object->downloadFromPortfolioPage($this->getPortfolioPage(), $objectId, $this->user->getId());
470  }
471  }
+ Here is the call graph for this function:

◆ dlexcv()

ilPortfolioPageGUI::dlexcv ( )
protected

Definition at line 419 of file class.ilPortfolioPageGUI.php.

References ilPageObjectGUI\$id, and ilObject2GUI\WORKSPACE_OBJECT_ID.

419  : void
420  {
421  $id = $this->port_request->getVerificationId();
422  if ($id) {
424  $verification->downloadFromPortfolioPage($this->getPortfolioPage());
425  }
426  }
GUI class for exercise verification.

◆ dlltiv()

ilPortfolioPageGUI::dlltiv ( )
protected

Definition at line 446 of file class.ilPortfolioPageGUI.php.

References ilPageObjectGUI\$id, and ilObject2GUI\WORKSPACE_OBJECT_ID.

446  : void
447  {
448  $id = $this->port_request->getVerificationId();
449  if ($id) {
451  $verification->downloadFromPortfolioPage($this->getPortfolioPage());
452  }
453  }

◆ dlscov()

ilPortfolioPageGUI::dlscov ( )
protected

Definition at line 455 of file class.ilPortfolioPageGUI.php.

References ilPageObjectGUI\$id, and ilObject2GUI\WORKSPACE_OBJECT_ID.

455  : void
456  {
457  $id = $this->port_request->getVerificationId();
458  if ($id) {
460  $verification->downloadFromPortfolioPage($this->getPortfolioPage());
461  }
462  }
GUI class for scorm verification.

◆ dltstv()

ilPortfolioPageGUI::dltstv ( )
protected

Definition at line 410 of file class.ilPortfolioPageGUI.php.

References ilPageObjectGUI\$id, and ilObject2GUI\WORKSPACE_OBJECT_ID.

410  : void
411  {
412  $id = $this->port_request->getVerificationId();
413  if ($id) {
415  $verification->downloadFromPortfolioPage($this->getPortfolioPage());
416  }
417  }
GUI class for test verification.

◆ executeCommand()

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().

111  : string
112  {
113  $ilCtrl = $this->ctrl;
114  $ilUser = $this->user;
115 
116  $next_class = $this->ctrl->getNextClass($this);
117  $cmd = $this->ctrl->getCmd();
118 
119  switch ($next_class) {
120  case "ilcalendarmonthgui":
121  $this->ctrl->saveParameter($this, "chuid");
122  // booking action
123  if ($cmd && $cmd !== "preview") {
124  $categories = ilCalendarCategories::_getInstance();
125  if ($categories->getMode() === 0) {
126  $chuid = $this->port_request->getConsultationHourUserId();
127  if ($chuid > 0) {
128  $categories->setCHUserId($chuid);
129  }
130  $categories->initialize(ilCalendarCategories::MODE_PORTFOLIO_CONSULTATION, 0, true);
131  }
132 
133  $req_seed = $this->port_request->getCalendarSeed();
134  if ($req_seed !== "") {
135  $seed = new ilDate($req_seed, IL_CAL_DATE);
136  } else {
137  $seed = new ilDate(time(), IL_CAL_UNIX);
138  }
139 
140  $month_gui = new ilCalendarMonthGUI($seed);
141  return (string) $ilCtrl->forwardCommand($month_gui);
142  }
143 
144  // calendar month navigation
145  //$ilCtrl->setParameter($this, "cmd", "preview");
146  return (string) self::EMBEDDED_NO_OUTPUT;
147  default:
148  $this->setPresentationTitle($this->getPageObject()->getTitle());
149  return (string) parent::executeCommand();
150  }
151  }
const IL_CAL_UNIX
setPresentationTitle(string $a_title="")
static _getInstance($a_usr_id=0)
get singleton instance
const IL_CAL_DATE
+ Here is the call graph for this function:

◆ finishEditing()

ilPortfolioPageGUI::finishEditing ( )

Definition at line 1160 of file class.ilPortfolioPageGUI.php.

References ILIAS\Repository\ctrl().

1160  : void
1161  {
1162  $this->ctrl->redirectByClass("ilObjPortfolioGUI", "view");
1163  }
+ Here is the call graph for this function:

◆ getAdditional()

ilPortfolioPageGUI::getAdditional ( )

Get Additonal Information.

Definition at line 192 of file class.ilPortfolioPageGUI.php.

References $additional.

Referenced by renderProfile().

192  : array
193  {
194  return $this->additional;
195  }
+ Here is the caller graph for this function:

◆ getCommentsHTMLExport()

ilPortfolioPageGUI::getCommentsHTMLExport ( )

Definition at line 1147 of file class.ilPortfolioPageGUI.php.

References ilPageObjectGUI\getId(), and ilPageObjectGUI\getPageObject().

1147  : string
1148  {
1149  $notes_gui = new ilCommentGUI(
1150  $this->portfolio_id,
1151  $this->getPageObject()->getId(),
1152  "pfpg"
1153  );
1154  $notes_gui->enablePublicNotes(true);
1155  $notes_gui->setRepositoryMode(false);
1156  $notes_gui->setExportMode();
1157  return $notes_gui->getListHTML();
1158  }
Comment GUI.
+ Here is the call graph for this function:

◆ getCoursesOfUser()

ilPortfolioPageGUI::getCoursesOfUser ( int  $a_user_id,
bool  $a_add_path = false 
)
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().

856  : array {
857  $tree = $this->tree;
858 
859  // see ilPDSelectedItemsBlockGUI
860 
861  $items = ilParticipants::_getMembershipByType($a_user_id, ['crs']);
862 
863  $repo_title = $tree->getNodeData(ROOT_FOLDER_ID);
864  $repo_title = $repo_title["title"];
865  if ($repo_title == "ILIAS") {
866  $repo_title = $this->lng->txt("repository");
867  }
868 
869  $references = $lp_obj_refs = array();
870  foreach ($items as $obj_id) {
872  if (is_array($ref_id) && count($ref_id)) {
873  $ref_id = array_pop($ref_id);
874  if (!$tree->isDeleted($ref_id)) {
875  $visible = false;
876  $active = ilObjCourseAccess::_isActivated($obj_id, $visible, false);
877  if ($active && $visible) {
878  $references[$ref_id] = array(
879  'ref_id' => $ref_id,
880  'obj_id' => $obj_id,
881  'title' => ilObject::_lookupTitle($obj_id)
882  );
883 
884  if ($a_add_path) {
885  $path = array();
886  foreach ($tree->getPathFull($ref_id) as $item) {
887  $path[] = $item["title"];
888  }
889  // top level comes first
890  if (count($path) === 2) {
891  $path[0] = 0;
892  } else {
893  $path[0] = 1;
894  }
895  $references[$ref_id]["path_sort"] = implode("__", $path);
896  array_shift($path);
897  array_pop($path);
898  if (!count($path)) {
899  array_unshift($path, $repo_title);
900  }
901  $references[$ref_id]["path"] = implode(" &rsaquo; ", $path);
902  }
903 
904  $lp_obj_refs[$obj_id] = $ref_id;
905  }
906  }
907  }
908  }
909 
910  // get lp data for valid courses
911 
912  if (count($lp_obj_refs)) {
913  // listing the objectives should NOT depend on any LP status / setting
914  foreach ($lp_obj_refs as $obj_id => $ref_id) {
915  // only if set in DB (default mode is not relevant
917  $references[$ref_id]["objectives"] = $this->parseObjectives($obj_id, $a_user_id);
918  }
919  }
920 
921  // LP must be active, personal and not anonymized
925  // see ilLPProgressTableGUI
926  $lp_data = ilTrQuery::getObjectsStatusForUser($a_user_id, $lp_obj_refs);
927  foreach ($lp_data as $item) {
928  $ref_id = $item["ref_ids"];
929  $references[$ref_id]["lp_status"] = $item["status"];
930  }
931  }
932  }
933 
934  return $references;
935  }
getNodeData(int $a_node_id, ?int $a_tree_pk=null)
get all information of a node.
const ROOT_FOLDER_ID
Definition: constants.php:32
static _getAllReferences(int $id)
get all reference ids for object ID
isDeleted(int $a_node_id)
This is a wrapper for isSaved() with a more useful name.
getPathFull(int $a_endnode_id, int $a_startnode_id=0)
get path from a given startnode to a given endnode if startnode is not given the rootnode is startnod...
$path
Definition: ltiservices.php:29
static _lookupViewMode(int $a_id)
$ref_id
Definition: ltiauth.php:65
static _lookupTitle(int $obj_id)
static _isActivated(int $a_obj_id, ?bool &$a_visible_flag=null, bool $a_mind_member_view=true)
static getObjectsStatusForUser(int $a_user_id, array $obj_refs)
static _getMembershipByType(int $a_usr_id, array $a_type, bool $a_only_member_role=false)
get membership by type Get course or group membership
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getCourseSortAction()

ilPortfolioPageGUI::getCourseSortAction ( ilCtrl  $ctrl)
protected

Get course sort action.

Definition at line 848 of file class.ilPortfolioPageGUI.php.

References ilCtrl\getFormActionByClass().

Referenced by renderMyCourses().

848  : string
849  {
850  return $ctrl->getFormActionByClass("ilobjportfoliogui", "preview");
851  }
getFormActionByClass( $a_class, ?string $a_fallback_cmd=null, ?string $a_anchor=null, bool $is_async=false, bool $has_xml_style=false)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getExportMaterial()

ilPortfolioPageGUI::getExportMaterial ( )

Definition at line 1019 of file class.ilPortfolioPageGUI.php.

References $export_material.

1019  : array
1020  {
1021  return $this->export_material;
1022  }

◆ getJsOnloadCode()

ilPortfolioPageGUI::getJsOnloadCode ( )

Definition at line 197 of file class.ilPortfolioPageGUI.php.

References $js_onload_code.

197  : array
198  {
199  return $this->js_onload_code;
200  }

◆ getPageContentUserId()

ilPortfolioPageGUI::getPageContentUserId ( int  $a_user_id)
protected

Definition at line 98 of file class.ilPortfolioPageGUI.php.

References ilPageObjectGUI\getPageObject().

Referenced by renderConsultationHours(), renderMyCourses(), renderProfile(), and renderSkills().

98  : int
99  {
100  // user id from content-xml
101  return $a_user_id;
102  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getPagePermaLink()

ilPortfolioPageGUI::getPagePermaLink ( )

Definition at line 1124 of file class.ilPortfolioPageGUI.php.

References ilLink\_getStaticLink(), ilPortfolioPage\findPortfolioForPage(), and ilPageObjectGUI\getId().

Referenced by renderVerification().

1124  : string
1125  {
1127  return ilLink::_getStaticLink($pid, "prtf", true, "_" . $this->getId());
1128  }
static findPortfolioForPage(int $a_page_id)
Get portfolio id of page id.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getParentType()

ilPortfolioPageGUI::getParentType ( )

Definition at line 93 of file class.ilPortfolioPageGUI.php.

Referenced by __construct().

93  : string
94  {
95  return "prtf";
96  }
+ Here is the caller graph for this function:

◆ getTabs()

ilPortfolioPageGUI::getTabs ( string  $a_activate = "")

Definition at line 166 of file class.ilPortfolioPageGUI.php.

166  : void
167  {
168  if (!$this->embedded) {
169  parent::getTabs($a_activate);
170  }
171  }

◆ getViewPageLink()

ilPortfolioPageGUI::getViewPageLink ( )

Definition at line 1109 of file class.ilPortfolioPageGUI.php.

References ilPageObjectGUI\$ctrl, $DIC, ilCtrl\getLinkTargetByClass(), and ilCtrl\setParameterByClass().

1109  : string
1110  {
1111  global $DIC;
1112 
1113  $ctrl = $DIC->ctrl();
1114 
1115  $ctrl->setParameterByClass("ilobjportfoliogui", "user_page", $this->requested_ppage);
1116  return $ctrl->getLinkTargetByClass("ilobjportfoliogui", "preview");
1117  }
setParameterByClass(string $a_class, string $a_parameter, $a_value)
global $DIC
Definition: shib_login.php:22
getLinkTargetByClass( $a_class, ?string $a_cmd=null, ?string $a_anchor=null, bool $is_async=false, bool $has_xml_style=false)
+ Here is the call graph for this function:

◆ getViewPageText()

ilPortfolioPageGUI::getViewPageText ( )

Definition at line 1119 of file class.ilPortfolioPageGUI.php.

References ILIAS\Repository\lng().

1119  : string
1120  {
1121  return $this->lng->txt("preview");
1122  }
+ Here is the call graph for this function:

◆ isMyCoursesActive()

ilPortfolioPageGUI::isMyCoursesActive ( )
protected

Definition at line 622 of file class.ilPortfolioPageGUI.php.

Referenced by renderMyCourses(), and renderMyCoursesTeaser().

622  : bool
623  {
624  $prfa_set = new ilSetting("prfa");
625  return (bool) $prfa_set->get("mycrs", true);
626  }
+ Here is the caller graph for this function:

◆ makePlaceHoldersClickable()

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().

1024  : string
1025  {
1026  $ilCtrl = $this->ctrl;
1027  $lng = $this->lng;
1028  $ilUser = $this->user;
1029 
1030  $end = 0;
1031  $start = strpos($a_html, "{{{{{PlaceHolder#");
1032  if (is_int($start)) {
1033  $end = strpos($a_html, "}}}}}", $start);
1034  }
1035  while ($end > 0) {
1036  $param = substr($a_html, $start + 17, $end - $start - 17);
1037  $param = explode("#", $param);
1038 
1039  $html = $param[2];
1040  switch ($param[2]) {
1041  case "Text":
1042  $html = $lng->txt("cont_text_placeh");
1043  break;
1044 
1045  case "Media":
1046  $html = $lng->txt("cont_media_placeh");
1047  break;
1048 
1049  case "Question":
1050  $html = $lng->txt("cont_question_placeh");
1051  break;
1052 
1053  case "Verification":
1054  $html = $lng->txt("cont_verification_placeh");
1055  break;
1056  }
1057 
1058  // only if not owner
1059  if ($ilUser->getId() === ilObjPortfolio::_lookupOwner($this->portfolio_id)
1060  && $this->getOutputMode() === "presentation") {
1061  switch ($param[2]) {
1062  case "Text":
1063  $ilCtrl->setParameterByClass("ilportfoliopagegui", "prt_id", $this->port_request->getPortfolioId());
1064  $ilCtrl->setParameterByClass("ilportfoliopagegui", "ppage", $this->getId());
1065  $ilCtrl->setParameterByClass("ilportfoliopagegui", "pl_pc_id", $param[0]);
1066  $ilCtrl->setParameterByClass("ilportfoliopagegui", "pl_hier_id", $param[1]);
1067  $href = $ilCtrl->getLinkTargetByClass("ilportfoliopagegui", "insertJSAtPlaceholder");
1068  $html = "<a href='" . $href . "'>" . $html . "</a>";
1069  break;
1070 
1071  case "Media":
1072  $ilCtrl->setParameterByClass("ilpcmediaobjectgui", "prt_id", $this->port_request->getPortfolioId());
1073  $ilCtrl->setParameterByClass("ilpcmediaobjectgui", "ppage", $this->getId());
1074  $ilCtrl->setParameterByClass("ilpcmediaobjectgui", "pl_pc_id", $param[0]);
1075  $ilCtrl->setParameterByClass("ilpcmediaobjectgui", "pl_hier_id", $param[1]);
1076  $ilCtrl->setParameterByClass("ilpcmediaobjectgui", "subCmd", "insertNew");
1077  $href = $ilCtrl->getLinkTargetByClass(array("ilPortfolioPageGUI", "ilPageEditorGUI", "ilPCPlaceHolderGUI", "ilpcmediaobjectgui"), "insert");
1078  $html = "<a href='" . $href . "'>" . $html . "</a>";
1079  break;
1080 
1081  /* see #34170, may need a different change, keep code to monitor
1082  case "Verification":
1083  $ilCtrl->setParameterByClass("ilPCVerificationGUI", "prt_id", $this->port_request->getPortfolioId());
1084  $ilCtrl->setParameterByClass("ilPCVerificationGUI", "ppage", $this->getId());
1085  $ilCtrl->setParameterByClass("ilPCVerificationGUI", "pl_pc_id", $param[0]);
1086  $ilCtrl->setParameterByClass("ilPCVerificationGUI", "pl_hier_id", $param[1]);
1087  $ilCtrl->setParameterByClass("ilPCVerificationGUI", "subCmd", "insertNew");
1088  $href = $ilCtrl->getLinkTargetByClass(array("ilPortfolioPageGUI", "ilPageEditorGUI", "ilPCPlaceHolderGUI", "ilPCVerificationGUI"), "insert");
1089  $html = "<a href='" . $href . "'>" . $html . "</a>";
1090  break;
1091  */
1092  }
1093  }
1094 
1095  $h2 = substr($a_html, 0, $start) .
1096  $html .
1097  substr($a_html, $end + 5);
1098  $a_html = $h2;
1099 
1100  $start = strpos($a_html, "{{{{{PlaceHolder#", $start + 5);
1101  $end = 0;
1102  if (is_int($start)) {
1103  $end = strpos($a_html, "}}}}}", $start);
1104  }
1105  }
1106  return $a_html;
1107  }
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
static _lookupOwner(int $obj_id)
Lookup owner user ID for object ID.
$param
Definition: xapitoken.php:46
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ parseLOUserResults()

ilPortfolioPageGUI::parseLOUserResults ( int  $a_course_obj_id,
int  $a_user_id 
)
protected

Definition at line 987 of file class.ilPortfolioPageGUI.php.

References $res, null, ilLOUserResults\TYPE_INITIAL, and ilLOUserResults\TYPE_QUALIFIED.

Referenced by getCoursesOfUser().

990  : array {
991  $res = array();
992  $initial_status = "";
993 
994  $lur = new ilLOUserResults($a_course_obj_id, $a_user_id);
995  foreach ($lur->getCourseResultsForUserPresentation() as $objective_id => $types) {
996  // show either initial or qualified for objective
997  if (isset($types[ilLOUserResults::TYPE_INITIAL])) {
998  $initial_status = $types[ilLOUserResults::TYPE_INITIAL]["status"];
999  }
1000 
1001  // qualified test has priority
1002  if (isset($types[ilLOUserResults::TYPE_QUALIFIED])) {
1003  $result = $types[ilLOUserResults::TYPE_QUALIFIED];
1004  $result["type"] = ilLOUserResults::TYPE_QUALIFIED;
1005  $result["initial"] = $types[ilLOUserResults::TYPE_INITIAL] ?? null;
1006  } else {
1007  $result = $types[ilLOUserResults::TYPE_INITIAL];
1008  $result["type"] = ilLOUserResults::TYPE_INITIAL;
1009  }
1010 
1011  $result["initial_status"] = $initial_status;
1012 
1013  $res[$objective_id] = $result;
1014  }
1015 
1016  return $res;
1017  }
$res
Definition: ltiservices.php:66
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
+ Here is the caller graph for this function:

◆ postOutputProcessing()

ilPortfolioPageGUI::postOutputProcessing ( string  $a_output)

Definition at line 202 of file class.ilPortfolioPageGUI.php.

References $parts, makePlaceHoldersClickable(), null, and renderPageElement().

202  : string
203  {
204  $parts = array(
205  "Profile" => array("0-9", "a-z", "0-9a-z_;\W"), // user, mode, fields
206  "Verification" => array("0-9", "a-z", "0-9"), // user, type, id
207  "Blog" => array("0-9", "0-9", "0-9;\W"), // user, blog id, posting ids
208  "BlogTeaser" => array("0-9", "0-9", "0-9;\W"), // user, blog id, posting ids
209  "Skills" => array("0-9", "0-9"), // user, skill id
210  "SkillsTeaser" => array("0-9", "0-9"), // user, skill id
211  "ConsultationHours" => array("0-9", "a-z", "0-9;\W"), // user, mode, group ids
212  "ConsultationHoursTeaser" => array("0-9", "a-z", "0-9;\W"), // user, mode, group ids
213  "MyCourses" => array("0-9", "a-z*"), // user, sort
214  "MyCoursesTeaser" => array("0-9", "a-z*") // user, sort
215  );
216 
217  foreach ($parts as $type => $def) {
218  // #15732 - allow optional parts
219  $def_parts = array();
220  foreach ($def as $part) {
221  $is_opt = (substr($part, -1) === "*");
222  if (!$is_opt) {
223  $def_parts[] = "#";
224  $end_marker = "+";
225  } else {
226  $def_parts[] = "#*";
227  $end_marker = "*";
228  $part = substr($part, 0, -1);
229  }
230  $def_parts[] = "([" . $part . "]" . $end_marker . ")";
231  }
232  $def = implode("", $def_parts);
233 
234  if (preg_match_all(
235  "/" . $this->pl_start . $type . $def . $this->pl_end . "/",
236  $a_output,
237  $blocks
238  )) {
239  foreach ($blocks[0] as $idx => $block) {
240  switch ($type) {
241  case "Profile":
242  case "Blog":
243  case "BlogTeaser":
244  case "Skills":
245  case "SkillsTeaser":
246  case "ConsultationHours":
247  case "ConsultationHoursTeaser":
248  case "MyCourses":
249  case "MyCoursesTeaser":
250  $subs = null;
251  if (trim(($blocks[3][$idx] ?? ""))) {
252  foreach (explode(";", $blocks[3][$idx]) as $sub) {
253  if (trim($sub)) {
254  $subs[] = trim($sub);
255  }
256  }
257  }
258  $snippet = $this->{"render" . $type}(
259  $blocks[1][$idx],
260  $blocks[2][$idx],
261  $subs
262  );
263  break;
264 
265  default:
266  $snippet = $this->{"render" . $type}(
267  $blocks[1][$idx],
268  $blocks[2][$idx],
269  $blocks[3][$idx]
270  );
271  break;
272  }
273 
274  $snippet = $this->renderPageElement($type, $snippet);
275  $a_output = str_replace($block, $snippet, $a_output);
276  }
277  }
278  }
279 
280  $a_output = $this->makePlaceHoldersClickable($a_output);
281 
282  return $a_output;
283  }
if($clientAssertionType !='urn:ietf:params:oauth:client-assertion-type:jwt-bearer'|| $grantType !='client_credentials') $parts
Definition: ltitoken.php:61
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
makePlaceHoldersClickable(string $a_html)
renderPageElement(string $a_type, string $a_html)
+ Here is the call graph for this function:

◆ renderBlogTeaser()

ilPortfolioPageGUI::renderBlogTeaser ( int  $a_user_id,
int  $a_blog_id,
?array  $a_posting_ids = null 
)
protected

Definition at line 473 of file class.ilPortfolioPageGUI.php.

References $post, ilObject\_lookupTitle(), ilDatePresentation\formatDate(), ILIAS\Repository\lng(), and renderTeaser().

477  : string {
478  // not used
479  // $user_id = $this->getPageContentUserId($a_user_id);
480 
481  $postings = "";
482  if ($a_posting_ids) {
483  $postings = array("<ul>");
484  foreach ($a_posting_ids as $post) {
485  $post = new ilBlogPosting($post);
486  $postings[] = "<li>" . $post->getTitle() . " - " .
487  ilDatePresentation::formatDate($post->getCreated()) . "</li>";
488  }
489  $postings[] = "</ul>";
490  $postings = implode("\n", $postings);
491  }
492 
493  return $this->renderTeaser("blog", $this->lng->txt("obj_blog") . ' "' .
494  ilObject::_lookupTitle($a_blog_id) . '"', $postings);
495  }
Class ilBlogPosting.
static _lookupTitle(int $obj_id)
static formatDate(ilDateTime $date, bool $a_skip_day=false, bool $a_include_wd=false, bool $include_seconds=false, ?ilObjUser $user=null,)
$post
Definition: ltitoken.php:46
renderTeaser(string $a_type, string $a_title, string $a_options="")
+ Here is the call graph for this function:

◆ renderConsultationHours()

ilPortfolioPageGUI::renderConsultationHours ( int  $a_user_id,
string  $a_mode,
?array  $a_group_ids = null 
)
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().

562  : string {
563  $ilUser = $this->user;
564  if ($this->getOutputMode() === "preview") {
565  return $this->renderConsultationHoursTeaser($a_user_id, $a_mode, $a_group_ids);
566  }
567 
568  if ($this->getOutputMode() === "offline") {
569  return "";
570  }
571 
572  if ($this->getOutputMode() === "print") {
573  return "";
574  }
575 
576  $user_id = $this->getPageContentUserId($a_user_id);
577 
578  // only if not owner
579  $bkid = 0;
580  if ($ilUser->getId() !== $user_id) {
581  $bkid = $user_id;
582  }
583  $this->ctrl->setParameter($this, "chuid", $user_id);
584 
585  if ($a_mode !== "manual") {
586  $a_group_ids = null;
587  }
589  if (!self::$calender_initialized) {
592  0,
593  true
594  );
595  self::$calender_initialized = true;
596  }
597 
598  $seed = $this->port_request->getCalendarSeed();
599  if ($seed === "") {
600  $seed = new ilDate(time(), IL_CAL_UNIX);
601  } else {
602  $seed = new ilDate($seed, IL_CAL_DATE);
603  }
604 
605  $month_gui = new ilCalendarMonthGUI($seed);
606  if ($bkid > 0) {
607  $month_gui->setBkId($bkid);
608  }
609  $month_gui->setConsulationHoursUserId($user_id);
610 
611  // custom schedule filter: handle booking group ids
613  $month_gui->addScheduleFilter($filter);
614 
615  $this->tpl->addCss(ilUtil::getStyleSheetLocation('filesystem', 'delos.css'));
616 
617  $this->lng->loadLanguageModule("dateplaner");
618  return '<h3>' . $this->lng->txt("app_consultation_hours") . '</h3>' .
619  $this->ctrl->getHTML($month_gui);
620  }
static getStyleSheetLocation(string $mode="output", string $a_css_name="")
get full style sheet file name (path inclusive) of current user
Calendar schedule filter for consultation hour bookings.
const IL_CAL_UNIX
renderConsultationHoursTeaser(int $a_user_id, string $a_mode, ?array $a_group_ids=null)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
static _getInstance($a_usr_id=0)
get singleton instance
const IL_CAL_DATE
getPageContentUserId(int $a_user_id)
+ Here is the call graph for this function:

◆ renderConsultationHoursTeaser()

ilPortfolioPageGUI::renderConsultationHoursTeaser ( int  $a_user_id,
string  $a_mode,
?array  $a_group_ids = null 
)
protected

Definition at line 525 of file class.ilPortfolioPageGUI.php.

References ILIAS\Repository\lng(), null, and renderTeaser().

Referenced by renderConsultationHours().

529  : string {
530  // not used
531  // $user_id = $this->getPageContentUserId($a_user_id);
532  if ($a_mode === "auto") {
533  $mode = $this->lng->txt("cont_cach_mode_automatic");
534  $groups = null;
535  }
536  // begin-abandon ch_groups
537  /*
538  else {
539  $mode = $this->lng->txt("cont_cach_mode_manual");
540 
541  $groups = array();
542  foreach ($a_group_ids as $grp_id) {
543  $groups[] = ilConsultationHourGroups::lookupTitle($grp_id);
544  }
545  $groups = " (" . implode(", ", $groups) . ")";
546  }
547  */
548  // end-abandon ch_groups
549 
550  $this->lng->loadLanguageModule("dateplaner");
551  return $this->renderTeaser(
552  "consultation_hours",
553  $this->lng->txt("app_consultation_hours"),
554  $mode . $groups
555  );
556  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
renderTeaser(string $a_type, string $a_title, string $a_options="")
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ renderMyCourses()

ilPortfolioPageGUI::renderMyCourses ( int  $a_user_id,
string  $a_default_sorting 
)
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().

648  : string {
649  $ilAccess = $this->access;
650  $ilUser = $this->user;
651  $ilCtrl = $this->ctrl;
652 
653  if ($this->getOutputMode() === "preview") {
654  return $this->renderMyCoursesTeaser($a_user_id, $a_default_sorting);
655  }
656 
657  if (!$this->isMyCoursesActive()) {
658  return "";
659  }
660 
661  $img_path = null;
663 
664  $user_id = $this->getPageContentUserId($a_user_id);
665 
666  // sorting pref
667  $req_sorting = $this->port_request->getCourseSorting();
668  if (in_array($req_sorting, array("alpha", "loc"))) {
669  $ilUser->writePref("prtf_mcrs_sort", $req_sorting);
670  }
671  $sorting = $ilUser->getPref("prtf_mcrs_sort");
672  if (!$sorting) {
673  $sorting = $a_default_sorting;
674  }
675 
676  $data = $this->getCoursesOfUser($user_id, ($sorting === "loc"));
677  if (count($data)) {
678  if ($sorting !== "loc") {
679  $data = ilArrayUtil::sortArray($data, "title", "ASC");
680  } else {
681  $data = ilArrayUtil::sortArray($data, "path_sort", "ASC");
682  }
683 
684  $tpl = new ilTemplate("tpl.pc_my_courses.html", true, true, "components/ILIAS/Portfolio");
685  $tpl->setVariable("TITLE", $this->lng->txt("prtf_page_element_my_courses_title"));
686  $tpl->setVariable("INFO", $this->lng->txt("prtf_page_element_my_courses_info")); // #14464
687 
688  $this->lng->loadLanguageModule("trac");
689  $this->lng->loadLanguageModule("crs");
690 
691  // sorting
692  if ($this->getOutputMode() !== "print") {
693  $options = array(
694  "alpha" => $this->lng->txt("cont_mycourses_sortorder_alphabetical"),
695  "loc" => $this->lng->txt("cont_mycourses_sortorder_location")
696  );
697  $tpl->setVariable(
698  "SORT_SELECT",
700  $sorting,
701  "srt",
702  $options,
703  false,
704  true,
705  0,
706  "",
707  ["onchange" => "form.submit()"]
708  )
709  );
710  $tpl->setVariable("SORT_FORM", $this->getCourseSortAction($ilCtrl));
711  }
712 
713  $old_path = null;
714 
715  foreach ($data as $course) {
716  if (($sorting === "loc") && $course["path"] != $old_path) {
717  $tpl->setCurrentBlock("path_bl");
718  $tpl->setVariable("PATH", $course["path"]);
720 
721  $old_path = $course["path"];
722  }
723 
724  if (isset($course["lp_status"])) {
725  $lp_icon_rendered = $lp_icons->renderIconForStatus($course["lp_status"]);
726 
727  $tpl->setCurrentBlock("lp_bl");
728  $tpl->setVariable("LP_ICON", $lp_icon_rendered);
730  }
731 
732  $do_links = false;
733  if ($ilUser->getId() !== ANONYMOUS_USER_ID) {
734  $do_links = $ilAccess->checkAccessOfUser($ilUser->getId(), "read", "", $course["ref_id"], "crs") ||
735  ($ilAccess->checkAccessOfUser($ilUser->getId(), "visible", "", $course["ref_id"], "crs") &&
736  $ilAccess->checkAccessOfUser($ilUser->getId(), "join", "", $course["ref_id"], "crs"));
737  }
738 
739  if (isset($course["objectives"])) {
740  $loc_settings = ilLOSettings::getInstanceByObjId($course["obj_id"]);
741  $has_initial_test = (bool) $loc_settings->getInitialTest();
742 
743  foreach ($course["objectives"] as $objtv) {
744  if ($do_links) {
745  $params = array("oobj" => $objtv["id"]);
746  $url = ilLink::_getLink($course["ref_id"], "crs", $params);
747 
748  // #15510
749  $url .= "#objtv_acc_" . $objtv["id"];
750 
751  if ($this->getOutputMode() !== "print") {
752  $tpl->touchBlock("objective_dnone");
753  }
754 
755  $tpl->setCurrentBlock("objective_link_bl");
756 
757  $objtv_link = $this->ui_fac->link()->standard(
758  $objtv["title"],
759  $url
760  );
761  if (trim($objtv["desc"] ?? "") !== "") {
762  $desc = nl2br($objtv["desc"]);
763  $objtv_link = $objtv_link->withHelpTopics(...$this->ui_fac->helpTopics($desc));
764  }
765 
766  $tpl->setVariable("OBJECTIVE_LINK", $this->ui_ren->render($objtv_link));
767  } else {
768  $tpl->setCurrentBlock("objective_nolink_bl");
769  $tpl->setVariable("OBJECTIVE_NOLINK_TITLE", $objtv["title"]);
770  }
772 
773  $objtv_icon = ilObject::_getIcon($objtv["id"], 'big', "lobj");
774  if ($img_path) {
775  $objtv_icon = $img_path . basename($objtv_icon);
776  }
777 
778  $tpl->setCurrentBlock("objective_bl");
779  $tpl->setVariable("OBJTV_ICON_URL", $objtv_icon);
780  $tpl->setVariable("OBJTV_ICON_ALT", $this->lng->txt("crs_objectives"));
781 
782  if (isset($objtv["type"])) {
783  $tpl->setVariable(
784  "LP_OBJTV_PROGRESS",
786  $has_initial_test,
787  $objtv["id"],
788  $objtv,
789  true,
790  false,
791  self::$initialized
792  )
793  );
794  }
795 
797  }
798 
799  $tpl->setCurrentBlock("objectives_bl");
800  $tpl->setVariable("OBJTV_LIST_CRS_ID", $course["obj_id"]);
802  }
803 
804  // always check against current user
805  if ($do_links) {
806  $tpl->setCurrentBlock("course_link_bl");
807  $tpl->setVariable("COURSE_LINK_TITLE", $course["title"]);
808  $tpl->setVariable("COURSE_LINK_URL", ilLink::_getLink($course["ref_id"]));
809  } else {
810  $tpl->setCurrentBlock("course_nolink_bl");
811  $tpl->setVariable("COURSE_NOLINK_TITLE", $course["title"]);
812  }
814 
815  $crs_icon = ilObject::_getIcon($course["obj_id"], 'small', 'crs');
816  if ($img_path) {
817  $crs_icon = $img_path . basename($crs_icon);
818  }
819 
820  $tpl->setCurrentBlock("course_bl");
821 
822  if (isset($course["objectives"])) {
823  $tpl->setVariable("TOGGLE_CLASS", "ilPCMyCoursesToggle");
824  } else {
825  $tpl->setVariable("NO_TOGGLE", ' style="visibility:hidden;"');
826  }
827 
828  $tpl->setVariable("CRS_ICON_URL", $crs_icon);
829  $tpl->setVariable("CRS_ICON_ALT", $this->lng->txt("obj_crs"));
831  }
832 
833  // #15508
834  if (!self::$initialized) {
835  $GLOBALS["tpl"]->addJavaScript("assets/js/ilPortfolio.js");
836  $GLOBALS["tpl"]->addOnLoadCode("ilPortfolio.init()");
837  }
838  self::$initialized++;
839 
840  return $tpl->get();
841  }
842  return "";
843  }
parseCurrentBlock(string $block_name=self::DEFAULT_BLOCK)
Parses the given block.
getCourseSortAction(ilCtrl $ctrl)
Get course sort action.
static _getIcon(int $obj_id=0, string $size="big", string $type="", bool $offline=false)
Get icon for repository item.
const ANONYMOUS_USER_ID
Definition: constants.php:27
setCurrentBlock(string $part=self::DEFAULT_BLOCK)
Sets the template to the given block.
touchBlock(string $block)
overwrites ITX::touchBlock.
if(! $DIC->user() ->getId()||!ilLTIConsumerAccess::hasCustomProviderCreationAccess()) $params
Definition: ltiregstart.php:31
static getInstance(int $variant=ilLPStatusIcons::ICON_VARIANT_DEFAULT, ?\ILIAS\UI\Renderer $renderer=null, ?\ILIAS\UI\Factory $factory=null)
static formSelect( $selected, string $varname, array $options, bool $multiple=false, bool $direct_text=false, int $size=0, string $style_class="", array $attribs=[], bool $disabled=false)
Builds a select form field with options and shows the selected option first.
renderMyCoursesTeaser(int $a_user_id, $a_default_sorting)
$url
Definition: shib_logout.php:66
setVariable(string $variable, $value='')
Sets the given variable to the given value.
getCoursesOfUser(int $a_user_id, bool $a_add_path=false)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
$GLOBALS["DIC"]
Definition: wac.php:53
ilGlobalTemplateInterface $tpl
ilAccessHandler $access
get(string $part=self::DEFAULT_BLOCK)
Renders the given block and returns the html string.
static getInstanceByObjId(int $a_obj_id)
getPageContentUserId(int $a_user_id)
static buildObjectiveProgressBar(bool $a_has_initial_test, int $a_objective_id, array $a_lo_result, bool $a_list_mode=false, bool $a_sub=false, ?string $a_tt_suffix=null)
Render progressbar(s) for given objective and result data.
static sortArray(array $array, string $a_array_sortby_key, string $a_array_sortorder="asc", bool $a_numeric=false, bool $a_keep_keys=false)
+ Here is the call graph for this function:

◆ renderMyCoursesTeaser()

ilPortfolioPageGUI::renderMyCoursesTeaser ( int  $a_user_id,
  $a_default_sorting 
)
protected

Definition at line 628 of file class.ilPortfolioPageGUI.php.

References isMyCoursesActive(), ILIAS\Repository\lng(), and renderTeaser().

Referenced by renderMyCourses().

631  : string {
632  // not used
633  // $user_id = $this->getPageContentUserId($a_user_id);
634 
635  $title = $this->isMyCoursesActive()
636  ? "my_courses"
637  : "my_courses_inactive";
638 
639  return $this->renderTeaser(
640  $title,
641  $this->lng->txt("prtf_page_element_my_courses_title")
642  );
643  }
renderTeaser(string $a_type, string $a_title, string $a_options="")
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ renderPageElement()

ilPortfolioPageGUI::renderPageElement ( string  $a_type,
string  $a_html 
)
protected

Definition at line 285 of file class.ilPortfolioPageGUI.php.

Referenced by postOutputProcessing().

288  : string {
289  return trim($a_html);
290  }
+ Here is the caller graph for this function:

◆ renderProfile()

ilPortfolioPageGUI::renderProfile ( int  $a_user_id,
string  $a_type,
?array  $a_fields = null 
)
protected

Definition at line 308 of file class.ilPortfolioPageGUI.php.

References ilPageObjectGUI\$ctrl, $user_id, getAdditional(), ilPageObjectGUI\getOutputMode(), and getPageContentUserId().

312  : string {
313  $ilCtrl = $this->ctrl;
314 
315  $user_id = $this->getPageContentUserId($a_user_id);
316 
317  $pub_profile = new ilPublicUserProfileGUI($user_id);
318  $pub_profile->setEmbedded(true, ($this->getOutputMode() === "offline"));
319 
320  // full circle: additional was set in the original public user profile call
321  $pub_profile->setAdditional($this->getAdditional());
322 
323  if ($a_type === "manual" && is_array($a_fields) && count($a_fields) > 0) {
324  $prefs = array();
325  foreach ($a_fields as $field) {
326  $field = trim($field);
327  if ($field) {
328  $prefs["public_" . $field] = "y";
329  }
330  }
331 
332  $pub_profile->setCustomPrefs($prefs);
333  }
334 
335  if ($this->getOutputMode() !== "offline") {
336  return $ilCtrl->getHTML($pub_profile);
337  }
338 
339  return $pub_profile->getEmbeddable();
340  }
getAdditional()
Get Additonal Information.
GUI class for public user profile presentation.
getPageContentUserId(int $a_user_id)
+ Here is the call graph for this function:

◆ renderSkills()

ilPortfolioPageGUI::renderSkills ( int  $a_user_id,
int  $a_skills_id 
)
protected

Definition at line 497 of file class.ilPortfolioPageGUI.php.

References ilPageObjectGUI\$gui, $user_id, ilPageObjectGUI\getOutputMode(), getPageContentUserId(), and renderSkillsTeaser().

500  : string {
501  if ($this->getOutputMode() === "preview") {
502  return $this->renderSkillsTeaser($a_user_id, $a_skills_id);
503  }
504 
505  $user_id = $this->getPageContentUserId($a_user_id);
506 
507  $gui = new ilPersonalSkillsGUI();
508  if ($this->getOutputMode() === "offline") {
509  $gui->setOfflineMode("./files/");
510  }
511  return $gui->getSkillHTML($a_skills_id, $user_id);
512  }
ILIAS COPage InternalGUIService $gui
Personal skills GUI class.
getPageContentUserId(int $a_user_id)
renderSkillsTeaser(int $a_user_id, int $a_skills_id)
+ Here is the call graph for this function:

◆ renderSkillsTeaser()

ilPortfolioPageGUI::renderSkillsTeaser ( int  $a_user_id,
int  $a_skills_id 
)
protected

Definition at line 514 of file class.ilPortfolioPageGUI.php.

References ilSkillTreeNode\_lookupTitle(), ILIAS\Repository\lng(), and renderTeaser().

Referenced by renderSkills().

517  : string {
518  // not used
519  // $user_id = $this->getPageContentUserId($a_user_id);
520 
521  return $this->renderTeaser("skills", $this->lng->txt("skills") . ' "' .
522  ilSkillTreeNode::_lookupTitle($a_skills_id) . '"');
523  }
static _lookupTitle(int $a_obj_id, int $a_tref_id=0)
renderTeaser(string $a_type, string $a_title, string $a_options="")
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ renderTeaser()

ilPortfolioPageGUI::renderTeaser ( string  $a_type,
string  $a_title,
string  $a_options = "" 
)
protected

Definition at line 292 of file class.ilPortfolioPageGUI.php.

References ILIAS\Repository\lng().

Referenced by renderBlogTeaser(), renderConsultationHoursTeaser(), renderMyCoursesTeaser(), and renderSkillsTeaser().

296  : string {
297  $options = "";
298  if ($a_options) {
299  $options = '<div class="il_Footer">' . $this->lng->txt("prtf_page_element_teaser_settings") .
300  ": " . $a_options . '</div>';
301  }
302 
303  return '<div style="margin:5px" class="ilBox"><h3>' . $a_title . '</h3>' .
304  '<div class="il_Description_no_margin">' . $this->lng->txt("prtf_page_element_teaser_" . $a_type) . '</div>' .
305  $options . '</div>';
306  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ renderVerification()

ilPortfolioPageGUI::renderVerification ( int  $a_user_id,
string  $a_type,
int  $a_id 
)
protected
Exceptions
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.

349  : string {
350  $objDefinition = $this->obj_definition;
351 
352  $outputMode = $this->getOutputMode();
353 
354  // not used
355  // $user_id = $this->getPageContentUserId($a_user_id);
356  if ($a_type === 'crta' && $outputMode === 'offline') {
357  $fileService = new ilPortfolioCertificateFileService();
358 
359  $certificatePdfFile = $fileService->createCertificateFilePath($a_user_id, $a_id);
360  $this->export_material["files"][] = $certificatePdfFile;
361 
362  $url = 'files/' . basename($certificatePdfFile);
363 
364  $userCertificateRepository = new ilUserCertificateRepository();
365 
366  return $this->createPersistentCertificateUrl($a_id, $userCertificateRepository, $url);
367  }
368 
369  if ($a_type === 'crta' && $outputMode === 'print') {
370  $userCertificateRepository = new ilUserCertificateRepository();
371  $url = $this->getPagePermaLink();
372 
373  return $this->createPersistentCertificateUrl($a_id, $userCertificateRepository, $url);
374  }
375 
376  if ($a_type === 'crta') {
377  $this->ctrl->setParameter($this, "dlid", $a_id);
378  $url = $this->ctrl->getLinkTarget($this, "dl" . $a_type);
379  $this->ctrl->setParameter($this, "dlid", "");
380 
381  $userCertificateRepository = new ilUserCertificateRepository();
382 
383  return $this->createPersistentCertificateUrl($a_id, $userCertificateRepository, $url);
384  }
385 
386  if (!ilObject::_exists($a_id)) {
387  return $this->lng->txt('deleted');
388  }
389 
390  $class = "ilObj" . $objDefinition->getClassName($a_type) . "GUI";
391  $verification = new $class($a_id, ilObject2GUI::WORKSPACE_OBJECT_ID);
392 
393  if ($outputMode === "print") {
394  $url = $this->getPagePermaLink();
395  } elseif ($outputMode !== "offline") {
396  // direct download link
397  $this->ctrl->setParameter($this, "dlid", $a_id);
398  $url = $this->ctrl->getLinkTarget($this, "dl" . $a_type);
399  $this->ctrl->setParameter($this, "dlid", "");
400  } else {
401  $file = $verification->getObject()->getFilePath();
402  $url = "files/" . basename($file);
403 
404  $this->export_material["files"][] = $file;
405  }
406 
407  return $verification->render(true, $url);
408  }
ilObjectDefinition $obj_definition
$url
Definition: shib_logout.php:66
createPersistentCertificateUrl(int $a_id, ilUserCertificateRepository $userCertificateRepository, string $url)
static _exists(int $id, bool $reference=false, ?string $type=null)
checks if an object exists in object_data
+ Here is the call graph for this function:

◆ setAdditional()

ilPortfolioPageGUI::setAdditional ( array  $a_additional)

Set Additonal Information.

Definition at line 184 of file class.ilPortfolioPageGUI.php.

Referenced by ilObjPortfolioTemplateGUI\getPageGUIInstance().

184  : void
185  {
186  $this->additional = $a_additional;
187  }
+ Here is the caller graph for this function:

◆ setEmbedded()

ilPortfolioPageGUI::setEmbedded ( bool  $a_value)

Set embedded mode: will suppress tabs.

Definition at line 176 of file class.ilPortfolioPageGUI.php.

176  : void
177  {
178  $this->embedded = $a_value;
179  }

◆ showPage()

ilPortfolioPageGUI::showPage ( )

Definition at line 153 of file class.ilPortfolioPageGUI.php.

References ilPageObjectGUI\$user, ilPageObjectGUI\getPageObject(), and ilPageObjectGUI\setTemplateOutput().

153  : string
154  {
155  $ilUser = $this->user;
156 
157  if (!$this->getPageObject()) {
158  return "";
159  }
160 
161  $this->setTemplateOutput(false);
162  // $this->setPresentationTitle($this->getPageObject()->getTitle());
163  return parent::showPage();
164  }
setTemplateOutput(bool $a_output=true)
+ Here is the call graph for this function:

Field Documentation

◆ $additional

array ilPortfolioPageGUI::$additional = array()
protected

Definition at line 37 of file class.ilPortfolioPageGUI.php.

Referenced by getAdditional().

◆ $calender_initialized

bool ilPortfolioPageGUI::$calender_initialized = false
staticprotected

Definition at line 40 of file class.ilPortfolioPageGUI.php.

◆ $embedded

bool ilPortfolioPageGUI::$embedded = false
protected

Definition at line 33 of file class.ilPortfolioPageGUI.php.

◆ $enable_comments

bool ilPortfolioPageGUI::$enable_comments
protected

Definition at line 29 of file class.ilPortfolioPageGUI.php.

◆ $export_material

array ilPortfolioPageGUI::$export_material = array("js" => array(), "images" => array(), "files" => array())
protected

Definition at line 38 of file class.ilPortfolioPageGUI.php.

Referenced by getExportMaterial().

◆ $initialized

int ilPortfolioPageGUI::$initialized = 0
staticprotected

Definition at line 39 of file class.ilPortfolioPageGUI.php.

◆ $js_onload_code

array ilPortfolioPageGUI::$js_onload_code = array()
protected

Definition at line 36 of file class.ilPortfolioPageGUI.php.

Referenced by getJsOnloadCode().

◆ $obj_definition

ilObjectDefinition ilPortfolioPageGUI::$obj_definition
protected

Definition at line 34 of file class.ilPortfolioPageGUI.php.

Referenced by renderVerification().

◆ $port_request

ILIAS Portfolio StandardGUIRequest ilPortfolioPageGUI::$port_request
protected

Definition at line 31 of file class.ilPortfolioPageGUI.php.

◆ $portfolio_id

int ilPortfolioPageGUI::$portfolio_id
protected

Definition at line 30 of file class.ilPortfolioPageGUI.php.

◆ $requested_ppage

int ilPortfolioPageGUI::$requested_ppage
protected

Definition at line 41 of file class.ilPortfolioPageGUI.php.

◆ $tree

ilTree ilPortfolioPageGUI::$tree
protected

Definition at line 35 of file class.ilPortfolioPageGUI.php.

Referenced by getCoursesOfUser().

◆ $ui_fac

ILIAS UI Factory ilPortfolioPageGUI::$ui_fac
protected

Definition at line 42 of file class.ilPortfolioPageGUI.php.

◆ $ui_ren

ILIAS UI Renderer ilPortfolioPageGUI::$ui_ren
protected

Definition at line 43 of file class.ilPortfolioPageGUI.php.

◆ EMBEDDED_NO_OUTPUT

const ilPortfolioPageGUI::EMBEDDED_NO_OUTPUT = -99

Definition at line 28 of file class.ilPortfolioPageGUI.php.

Referenced by ilObjPortfolioBaseGUI\handlePageCall().


The documentation for this class was generated from the following file: