ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
ilPortfolioPageGUI Class Reference

Portfolio page gui class. More...

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

Public Member Functions

 __construct ($a_portfolio_id, $a_id=0, $a_old_nr=0, $a_enable_comments=true)
 Constructor. More...
 
 getParentType ()
 
 executeCommand ()
 execute command More...
 
 showPage ()
 Show page. More...
 
 getTabs ($a_activate="")
 Set all tabs. More...
 
 setEmbedded ($a_value)
 Set embedded mode: will suppress tabs. More...
 
 setAdditional ($a_additional)
 Set Additonal Information. More...
 
 getAdditional ()
 Get Additonal Information. More...
 
 getJsOnloadCode ()
 
 postOutputProcessing ($a_output)
 
 getExportMaterial ()
 
 makePlaceHoldersClickable ($a_html)
 Modify page content after xsl. More...
 
 getViewPageLink ()
 Get view page link. More...
 
 getViewPageText ()
 Get view page link. More...
 
 getPagePermaLink ()
 Get page perma link. More...
 
- Public Member Functions inherited from ilPageObjectGUI
 __construct ( $a_parent_type, $a_id, $a_old_nr=0, $a_prevent_get_id=false, $a_lang="")
 Constructor. More...
 
 afterConstructor ()
 After constructor. More...
 
 setParentType ($a_val)
 Set parent type. More...
 
 getParentType ()
 Get parent type. More...
 
 setId ($a_val)
 Set ID. More...
 
 getId ()
 Get ID. More...
 
 setOldNr ($a_val)
 Set old nr (historic page) More...
 
 getOldNr ()
 Get old nr (historic page) More...
 
 setLanguage ($a_val)
 Set language. More...
 
 getLanguage ()
 Get language. More...
 
 setEnablePCType ($a_pc_type, $a_val)
 Set enable pc type. More...
 
 getEnablePCType ($a_pc_type)
 Get enable pc type. More...
 
 setPageConfig ($a_val)
 Set page config object. More...
 
 getPageConfig ()
 Get page config object. More...
 
 setPageObject (ilPageObject $a_pg_obj)
 Set Page Object. More...
 
 getPageObject ()
 Get Page Object. More...
 
 setOutputMode ($a_mode=self::PRESENTATION)
 Set Output Mode. More...
 
 getOutputMode ()
 
 setTemplateOutput ($a_output=true)
 
 outputToTemplate ()
 
 setPresentationTitle ($a_title="")
 
 getPresentationTitle ()
 
 setHeader ($a_title="")
 
 getHeader ()
 
 setLinkParams ($l_params="")
 
 getLinkParams ()
 
 setLinkFrame ($l_frame="")
 
 getLinkFrame ()
 
 setPageLinker ($page_linker)
 
 getLinkXML ()
 
 setQuestionXML ($question_xml)
 
 setQuestionHTML ($question_html)
 
 getQuestionXML ()
 
 getQuestionHTML ()
 
 setTemplateTargetVar ($a_variable)
 
 getTemplateTargetVar ()
 
 setTemplateOutputVar ($a_value)
 
 getTemplateOutputVar ()
 
 setSourcecodeDownloadScript ($script_name)
 Set sourcecode download script. More...
 
 getSourcecodeDownloadScript ()
 Get sourcecode download script. More...
 
 setLocator (&$a_locator)
 
 setTabs ($a_tabs)
 
 setPageBackTitle ($a_title)
 
 setFileDownloadLink ($a_download_link)
 Set file download link. More...
 
 getFileDownloadLink ()
 Get file download link. More...
 
 setFullscreenLink ($a_fullscreen_link)
 Set fullscreen link. More...
 
 getFullscreenLink ()
 Get fullscreen link. More...
 
 setIntLinkReturn ($a_return)
 
 enableChangeComments ($a_enabled)
 
 isEnabledChangeComments ()
 
 enableNotes ($a_enabled, $a_parent_id)
 
 isEnabledNotes ()
 
 setOfflineDirectory ($offdir)
 set offline directory to offdir More...
 
 getOfflineDirectory ()
 get offline directory More...
 
 setViewPageLink ($a_link, $a_target="")
 set link for "view page" button More...
 
 getViewPageLink ()
 get view page link More...
 
 getViewPageTarget ()
 get view page target frame More...
 
 getViewPageText ()
 get view page text More...
 
 setActivationListener (&$a_obj, $a_meth)
 
 setEnabledNews ($a_enabled, $a_news_obj_id=0, $a_news_obj_type=0)
 Set enabled news. More...
 
 getEnabledNews ()
 Get enabled news. More...
 
 setTabHook ($a_object, $a_function)
 Set tab hook. More...
 
 setEditPreview ($a_editpreview)
 Set Display first Edit tab, then Preview tab, instead of Page and Edit. More...
 
 getEditPreview ()
 Get Display first Edit tab, then Preview tab, instead of Page and Edit. More...
 
 setEnabledTabs ($a_enabledtabs)
 Set Output tabs. More...
 
 getEnabledTabs ()
 Get Output tabs. More...
 
 setEnabledPageFocus ($a_enabledpagefocus)
 Set Enable page focus. More...
 
 getEnabledPageFocus ()
 Get Enable page focus. More...
 
 setExplorerUpdater ($a_exp_frame, $a_exp_id, $a_exp_target_script)
 Set Explorer Updater. More...
 
 setPrependingHtml ($a_prependinghtml)
 Set Prepending HTML. More...
 
 getPrependingHtml ()
 Get Prepending HTML. More...
 
 setEnableEditing ($a_enableediting)
 Set Enable Editing. More...
 
 getEnableEditing ()
 Get Enable Editing. More...
 
 setRawPageContent ($a_rawpagecontent)
 Set Get raw page content only. More...
 
 getRawPageContent ()
 Get Get raw page content only. More...
 
 setStyleId ($a_styleid)
 Set Style Id. More...
 
 getStyleId ()
 Get Style Id. More...
 
 setCompareMode ($a_val)
 Set compare mode. More...
 
 getCompareMode ()
 Get compare mode. More...
 
 setAbstractOnly ($a_val)
 Set abstract only. More...
 
 getAbstractOnly ()
 Get abstract only. More...
 
 setRenderPageContainer ($a_val)
 Set render page container. More...
 
 getRenderPageContainer ()
 Get render page container. More...
 
 getDisabledText ()
 Get disabled text. More...
 
 activateMetaDataEditor ( $a_rep_obj, $a_type, $a_sub_obj_id, $a_observer_obj=null, $a_observer_func="")
 Activate meda data editor. More...
 
 determineFileDownloadLink ()
 Determine file download link. More...
 
 determineFullscreenLink ()
 Determine fullscreen link. More...
 
 determineSourcecodeDownloadScript ()
 Determine source code download script. More...
 
 getComponentPluginsXML ()
 Put information about activated plugins into XML. More...
 
 executeCommand ()
 execute command More...
 
 setQEditTabs ($a_active)
 Set question editing tabs. More...
 
 onFeedbackEditingForwarding ()
 On feedback editing forwarding. More...
 
 deactivatePage ()
 
 activatePage ()
 
 showPage ()
 display content of page More...
 
 replaceCurlyBrackets ($output)
 Replace curly brackets. More...
 
 addActionsMenu ($a_tpl, $sel_media_mode, $sel_html_mode, $sel_js_mode)
 Add actions menu. More...
 
 addMultiLangActionsAndInfo ($a_list, $a_tpl)
 Add multi-language actions to menu. More...
 
 setEditMode ()
 Set edit mode. More...
 
 setDefaultLinkXml ()
 Set standard link xml. More...
 
 setLinkXml ($xml)
 Set linkXML. More...
 
 getProfileBackUrl ()
 Get profile back url. More...
 
 setProfileBackUrl ($url)
 Get profile back url. More...
 
 downloadFile ()
 Download file of file lists. More...
 
 displayMediaFullscreen ()
 Show media in fullscreen mode. More...
 
 displayMedia ($a_fullscreen=false)
 Display media. More...
 
 download_paragraph ()
 download source code paragraph More...
 
 insertPageToc ($a_output)
 Insert page toc. More...
 
 insertResources ($a_output)
 Insert resources. More...
 
 insertAdvTrigger ($a_output)
 Insert adv content trigger. More...
 
 postOutputProcessing ($a_output)
 Finalizing output processing. More...
 
 previewHistory ()
 Preview history. More...
 
 preview ()
 preview More...
 
 edit ()
 edit ("view" before) More...
 
 insertJSAtPlaceholder ()
 InsertJS at placeholder. More...
 
 initCaptchaForm ()
 Init captcha form. More...
 
 presentation ($a_mode=self::PRESENTATION)
 
 getHTML ()
 
 showMediaFullscreen ($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 ()
 Set screen id component. More...
 
 getTabs ($a_activate="")
 adds tabs to tab gui object More...
 
 compareVersion ()
 Compares two revisions of the page. More...
 
 replaceDiffTags ($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 ($a_content_object=null, $a_enable_private_notes=true, $a_enable_public_notes=false, $a_enable_notes_deletion=false, $a_callback=null)
 Get html for public and/or private notes. More...
 
 processAnswer ()
 Process answer. More...
 
 initialOpenedContent ()
 Initially opened content. More...
 
 initOpenedContentForm ()
 Init form for initially opened content. More...
 
 saveInitialOpenedContent ()
 Save initial opened content. More...
 
 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...
 
 getPagePermaLink ()
 Get page perma link. More...
 

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"
 
 $obj
 
 $presentation_title
 
 $target_script
 
 $return_location
 
 $target_var
 
 $template_output_var
 
 $output2template
 
 $link_params
 
 $sourcecode_download_script
 
 $change_comments
 
 $question_html
 
 $activation = false
 
 $activated = true
 
 $editpreview = false
 
 $use_meta_data = false
 
 $link_xml_set = false
 
 $enableediting = true
 
 $rawpagecontent = false
 
 $enabledcontentincludes = false
 
 $compare_mode = false
 
 $page_config = null
 
 $tabs_enabled = true
 
 $render_page_container = false
 
 $pl_start = "{{{{{"
 
 $pl_end = "}}}}}"
 

Protected Member Functions

 getPageContentUserId ($a_user_id)
 
 renderPageElement ($a_type, $a_html)
 
 renderTeaser ($a_type, $a_title, $a_options=null)
 
 renderProfile ($a_user_id, $a_type, array $a_fields=null)
 
 renderVerification ($a_user_id, $a_type, $a_id)
 
 dltstv ()
 
 dlexcv ()
 
 dlcrsv ()
 
 dlcmxv ()
 
 dlltiv ()
 
 dlscov ()
 
 dlcrta ()
 
 renderBlog ($a_user_id, $a_blog_id, array $a_posting_ids=null)
 
 renderBlogTeaser ($a_user_id, $a_blog_id, array $a_posting_ids=null)
 
 renderSkills ($a_user_id, $a_skills_id)
 
 renderSkillsTeaser ($a_user_id, $a_skills_id)
 
 renderConsultationHoursTeaser ($a_user_id, $a_mode, $a_group_ids)
 
 renderConsultationHours ($a_user_id, $a_mode, $a_group_ids)
 
 isMyCoursesActive ()
 
 renderMyCoursesTeaser ($a_user_id, $a_default_sorting)
 
 renderMyCourses ($a_user_id, $a_default_sorting)
 
 getCourseSortAction ($ctrl)
 Get course sort action. More...
 
 getCoursesOfUser ($a_user_id, $a_add_path=false)
 
 parseObjectives ($a_obj_id, $a_user_id)
 
 parseLOUserResults ($a_course_obj_id, $a_user_id)
 
- Protected Member Functions inherited from ilPageObjectGUI
 initPageObject ()
 Init page object. More...
 
 getActivationCaptions ()
 Get captions for activation action menu entries. More...
 
 getBlockingInfoMessage ()
 Get block info message. More...
 
 isPageContainerToBeRendered ()
 
 addResourcesToTemplate (ilGlobalTemplateInterface $tpl)
 Add resources to template. More...
 

Protected Attributes

 $obj_definition
 
 $tree
 
 $js_onload_code = array()
 
 $additional = array()
 
 $export_material = array("js" => array(), "images" => array(), "files" => array())
 
 $requested_ppage
 
- Protected Attributes inherited from ilPageObjectGUI
 $profile_back_url = ""
 
 $tpl
 
 $lng
 
 $ctrl
 
 $tabs_gui
 
 $access
 
 $plugin_admin
 
 $log
 
 $user
 
 $help
 
 $output_mode
 
 $parent_type = ""
 
 $tool_context
 
 $ui
 
 $page_linker
 

Static Protected Attributes

static $initialized = 0
 

Private Member Functions

 createPersistentCertificateUrl ($a_id, $userCertificateRepository, $url)
 

Additional Inherited Members

- Static Public Member Functions inherited from ilPageObjectGUI
static getTinyMenu ( $a_par_type, $a_int_links=false, $a_wiki_links=false, $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)
 Get Tiny Menu. More...
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilPortfolioPageGUI::__construct (   $a_portfolio_id,
  $a_id = 0,
  $a_old_nr = 0,
  $a_enable_comments = true 
)

Constructor.

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

References $_GET, $DIC, ilPageObjectGUI\$tpl, ILIAS\GlobalScreen\Provider\__construct(), ilObjStyleSheet\getContentStylePath(), ilPageObjectGUI\getPageObject(), getParentType(), ilObjStyleSheet\getPlaceHolderStylePath(), ilObjStyleSheet\getSyntaxStylePath(), and user().

43  {
44  global $DIC;
45 
46  $this->tpl = $DIC["tpl"];
47  $this->ctrl = $DIC->ctrl();
48  $this->user = $DIC->user();
49  $this->obj_definition = $DIC["objDefinition"];
50  $this->access = $DIC->access();
51  $this->tree = $DIC->repositoryTree();
52  $this->lng = $DIC->language();
53  $tpl = $DIC["tpl"];
54 
55  $this->portfolio_id = (int) $a_portfolio_id;
56  $this->enable_comments = (bool) $a_enable_comments;
57 
58  parent::__construct($this->getParentType(), $a_id, $a_old_nr);
59  $this->getPageObject()->setPortfolioId($this->portfolio_id);
60 
61  // content style
62 
63  $tpl->setCurrentBlock("SyntaxStyle");
64  $tpl->setVariable(
65  "LOCATION_SYNTAX_STYLESHEET",
67  );
68  $tpl->parseCurrentBlock();
69 
70  $tpl->setCurrentBlock("ContentStyle");
71  $tpl->setVariable(
72  "LOCATION_CONTENT_STYLESHEET",
74  );
75  $tpl->setVariable(
76  "LOCATION_ADDITIONAL_STYLESHEET",
78  );
79  $tpl->parseCurrentBlock();
80 
81  $this->requested_ppage = (int) $_GET["ppage"];
82  }
static getContentStylePath($a_style_id, $add_random=true, $add_token=true)
get content style path
static getPlaceHolderStylePath()
get placeholder style path (for Page Layouts)
getPageObject()
Get Page Object.
$_GET["client_id"]
user()
Definition: user.php:4
static getSyntaxStylePath()
get syntax style path
__construct(Container $dic, ilPlugin $plugin)
$DIC
Definition: xapitoken.php:46
+ Here is the call graph for this function:

Member Function Documentation

◆ createPersistentCertificateUrl()

ilPortfolioPageGUI::createPersistentCertificateUrl (   $a_id,
  $userCertificateRepository,
  $url 
)
private
Parameters
$a_id
$userCertificateRepository
$url
Returns
string

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

References $url, and user().

Referenced by renderVerification().

1192  : string
1193  {
1194  $presentation = $userCertificateRepository->fetchActiveCertificateForPresentation($this->user->getId(), $a_id);
1195  $caption = $this->lng->txt('certificate') . ': ';
1196  $caption .= $this->lng->txt($presentation->getUserCertificate()->getObjType()) . ' ';
1197  $caption .= '"' . $presentation->getObjectTitle() . '"';
1198 
1199  return '<div><a href="' . $url . '">' . $caption . '</a></div>';
1200  }
user()
Definition: user.php:4
$url
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ dlcmxv()

ilPortfolioPageGUI::dlcmxv ( )
protected

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

References $_GET, ilPageObjectGUI\getPageObject(), and ilObject2GUI\WORKSPACE_OBJECT_ID.

463  {
464  $id = $_GET["dlid"];
465  if ($id) {
467  $verification->downloadFromPortfolioPage($this->getPageObject());
468  }
469  }
getPageObject()
Get Page Object.
$_GET["client_id"]
+ Here is the call graph for this function:

◆ dlcrsv()

ilPortfolioPageGUI::dlcrsv ( )
protected

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

References $_GET, ilPageObjectGUI\getPageObject(), and ilObject2GUI\WORKSPACE_OBJECT_ID.

454  {
455  $id = $_GET["dlid"];
456  if ($id) {
458  $verification->downloadFromPortfolioPage($this->getPageObject());
459  }
460  }
getPageObject()
Get Page Object.
$_GET["client_id"]
GUI class for course verification.
+ Here is the call graph for this function:

◆ dlcrta()

ilPortfolioPageGUI::dlcrta ( )
protected

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

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

490  {
491  $objectId = $_GET["dlid"];
492  if ($objectId) {
494  $object->downloadFromPortfolioPage($this->getPageObject(), $objectId, $this->user->getId());
495  }
496  }
getPageObject()
Get Page Object.
$_GET["client_id"]
user()
Definition: user.php:4
+ Here is the call graph for this function:

◆ dlexcv()

ilPortfolioPageGUI::dlexcv ( )
protected

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

References $_GET, ilPageObjectGUI\getPageObject(), and ilObject2GUI\WORKSPACE_OBJECT_ID.

445  {
446  $id = $_GET["dlid"];
447  if ($id) {
449  $verification->downloadFromPortfolioPage($this->getPageObject());
450  }
451  }
getPageObject()
Get Page Object.
$_GET["client_id"]
GUI class for exercise verification.
+ Here is the call graph for this function:

◆ dlltiv()

ilPortfolioPageGUI::dlltiv ( )
protected

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

References $_GET, ilPageObjectGUI\getPageObject(), and ilObject2GUI\WORKSPACE_OBJECT_ID.

472  {
473  $id = $_GET["dlid"];
474  if ($id) {
476  $verification->downloadFromPortfolioPage($this->getPageObject());
477  }
478  }
getPageObject()
Get Page Object.
$_GET["client_id"]
+ Here is the call graph for this function:

◆ dlscov()

ilPortfolioPageGUI::dlscov ( )
protected

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

References $_GET, ilPageObjectGUI\getPageObject(), and ilObject2GUI\WORKSPACE_OBJECT_ID.

481  {
482  $id = $_GET["dlid"];
483  if ($id) {
485  $verification->downloadFromPortfolioPage($this->getPageObject());
486  }
487  }
getPageObject()
Get Page Object.
$_GET["client_id"]
GUI class for scorm verification.
+ Here is the call graph for this function:

◆ dltstv()

ilPortfolioPageGUI::dltstv ( )
protected

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

References $_GET, ilPageObjectGUI\getPageObject(), and ilObject2GUI\WORKSPACE_OBJECT_ID.

436  {
437  $id = $_GET["dlid"];
438  if ($id) {
440  $verification->downloadFromPortfolioPage($this->getPageObject());
441  }
442  }
getPageObject()
Get Page Object.
$_GET["client_id"]
GUI class for test verification.
+ Here is the call graph for this function:

◆ executeCommand()

ilPortfolioPageGUI::executeCommand ( )

execute command

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

References $_GET, ilPageObjectGUI\$ctrl, $ilCtrl, $ilUser, ilPageObjectGUI\$user, ilCalendarCategories\_getInstance(), ilPageObjectGUI\getPageObject(), IL_CAL_DATE, IL_CAL_UNIX, ilCalendarCategories\MODE_PORTFOLIO_CONSULTATION, ilPageObjectGUI\setPresentationTitle(), and ilObject2GUI\WORKSPACE_NODE_ID.

99  {
102 
103  $next_class = $this->ctrl->getNextClass($this);
104  $cmd = $this->ctrl->getCmd();
105 
106  switch ($next_class) {
107  case "ilobjbloggui":
108  // #12879 - we need the wsp-id for the keywords
109  $wsp_tree = new ilWorkspaceTree($ilUser->getId());
110  $blog_obj_id = (int) $this->getPageObject()->getTitle();
111  $blog_node_id = $wsp_tree->lookupNodeId($blog_obj_id);
112 
113  $blog_gui = new ilObjBlogGUI($blog_node_id, ilObjBlogGUI::WORKSPACE_NODE_ID);
114  $blog_gui->disableNotes(!$this->enable_comments);
115  $blog_gui->prtf_embed = true; // disables prepareOutput()/getStandardTemplate() in blog
116  return $ilCtrl->forwardCommand($blog_gui);
117 
118  case "ilcalendarmonthgui":
119 
120 
121  // booking action
122  if ($cmd && $cmd != "preview") {
123  $categories = ilCalendarCategories::_getInstance();
124  if ($categories->getMode() == 0) {
125  if ($_GET['chuid']) {
126  $categories->setCHUserId((int) $_GET['chuid']);
127  }
128  $categories->initialize(ilCalendarCategories::MODE_PORTFOLIO_CONSULTATION, null, true);
129  }
130 
131  if ($_GET['seed']) {
132  $seed = new ilDate((string) $_GET['seed'], IL_CAL_DATE);
133  } else {
134  $seed = new ilDate(time(), IL_CAL_UNIX);
135  }
136 
137  $month_gui = new ilCalendarMonthGUI($seed);
138  return $ilCtrl->forwardCommand($month_gui);
139  }
140  // calendar month navigation
141  else {
142  $ilCtrl->setParameter($this, "cmd", "preview");
143  return self::EMBEDDED_NO_OUTPUT;
144  }
145 
146  // no break
147  case "ilpageobjectgui":
148  die("Deprecated. ilPortfolioPage gui forwarding to ilpageobject");
149  return;
150 
151  default:
152  $this->setPresentationTitle($this->getPageObject()->getTitle());
153  return parent::executeCommand();
154  }
155  }
getPageObject()
Get Page Object.
$_GET["client_id"]
const IL_CAL_UNIX
Tree handler for personal workspace.
global $ilCtrl
Definition: ilias.php:18
Class for single dates.
Class ilObjBlogGUI.
setPresentationTitle($a_title="")
$ilUser
Definition: imgupload.php:18
static _getInstance($a_usr_id=0)
get singleton instance
const IL_CAL_DATE
+ Here is the call graph for this function:

◆ getAdditional()

ilPortfolioPageGUI::getAdditional ( )

Get Additonal Information.

Returns
array Additonal Information

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

References $additional.

Referenced by renderProfile().

222  {
223  return $this->additional;
224  }
+ Here is the caller graph for this function:

◆ getCoursesOfUser()

ilPortfolioPageGUI::getCoursesOfUser (   $a_user_id,
  $a_add_path = false 
)
protected

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

References $tree, ilObjUserTracking\_enabledLearningProgress(), ilObjUserTracking\_enabledUserRelatedData(), ilObject\_getAllReferences(), ilParticipants\_getMembershipByType(), ilObjUserTracking\_hasLearningProgressLearner(), ilObjCourseAccess\_isActivated(), ilObject\_lookupTitle(), ilObjCourse\_lookupViewMode(), ilTrQuery\getObjectsStatusForUser(), IL_CRS_VIEW_OBJECTIVE, and parseObjectives().

Referenced by renderMyCourses().

893  {
894  $tree = $this->tree;
895 
896  // see ilPDSelectedItemsBlockGUI
897 
898  $items = ilParticipants::_getMembershipByType($a_user_id, 'crs');
899 
900  $repo_title = $tree->getNodeData(ROOT_FOLDER_ID);
901  $repo_title = $repo_title["title"];
902  if ($repo_title == "ILIAS") {
903  $repo_title = $this->lng->txt("repository");
904  }
905 
906  $references = $lp_obj_refs = array();
907  foreach ($items as $obj_id) {
908  $ref_id = ilObject::_getAllReferences($obj_id);
909  if (is_array($ref_id) && count($ref_id)) {
910  $ref_id = array_pop($ref_id);
911  if (!$tree->isDeleted($ref_id)) {
912  $visible = false;
913  $active = ilObjCourseAccess::_isActivated($obj_id, $visible, false);
914  if ($active && $visible) {
915  $references[$ref_id] = array(
916  'ref_id' => $ref_id,
917  'obj_id' => $obj_id,
918  'title' => ilObject::_lookupTitle($obj_id)
919  );
920 
921  if ($a_add_path) {
922  $path = array();
923  foreach ($tree->getPathFull($ref_id) as $item) {
924  $path[] = $item["title"];
925  }
926  // top level comes first
927  if (sizeof($path) == 2) {
928  $path[0] = 0;
929  } else {
930  $path[0] = 1;
931  }
932  $references[$ref_id]["path_sort"] = implode("__", $path);
933  array_shift($path);
934  array_pop($path);
935  if (!sizeof($path)) {
936  array_unshift($path, $repo_title);
937  }
938  $references[$ref_id]["path"] = implode(" &rsaquo; ", $path);
939  }
940 
941  $lp_obj_refs[$obj_id] = $ref_id;
942  }
943  }
944  }
945  }
946 
947  // get lp data for valid courses
948 
949  if (sizeof($lp_obj_refs)) {
950  // listing the objectives should NOT depend on any LP status / setting
951  foreach ($lp_obj_refs as $obj_id => $ref_id) {
952  // only if set in DB (default mode is not relevant
954  $references[$ref_id]["objectives"] = $this->parseObjectives($obj_id, $a_user_id);
955  }
956  }
957 
958  // LP must be active, personal and not anonymized
962  // see ilLPProgressTableGUI
963  $lp_data = ilTrQuery::getObjectsStatusForUser($a_user_id, $lp_obj_refs);
964  foreach ($lp_data as $item) {
965  $ref_id = $item["ref_ids"];
966  $references[$ref_id]["lp_status"] = $item["status"];
967  }
968  }
969  }
970 
971  return $references;
972  }
const IL_CRS_VIEW_OBJECTIVE
static _getMembershipByType($a_usr_id, $a_type, $a_only_member_role=false)
get membership by type Get course or group membership
static _lookupTitle($a_id)
lookup object title
static _lookupViewMode($a_id)
lookup view mode of container
static getObjectsStatusForUser($a_user_id, array $obj_refs)
static _getAllReferences($a_id)
get all reference ids of object
static _enabledUserRelatedData()
check wether user related tracking is enabled or not
static _enabledLearningProgress()
check wether learing progress is enabled or not
parseObjectives($a_obj_id, $a_user_id)
static _isActivated($a_obj_id, &$a_visible_flag=null, $a_mind_member_view=true)
Is activated?
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getCourseSortAction()

ilPortfolioPageGUI::getCourseSortAction (   $ctrl)
protected

Get course sort action.

Parameters
ilCtrl$ctrl
Returns
string

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

References ilPageObjectGUI\$ctrl.

Referenced by renderMyCourses().

887  {
888  return $ctrl->getFormActionByClass("ilobjportfoliogui", "preview");
889  }
+ Here is the caller graph for this function:

◆ getExportMaterial()

ilPortfolioPageGUI::getExportMaterial ( )

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

References $export_material.

1051  {
1052  return $this->export_material;
1053  }

◆ getJsOnloadCode()

ilPortfolioPageGUI::getJsOnloadCode ( )

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

References $js_onload_code.

227  {
228  return $this->js_onload_code;
229  }

◆ getPageContentUserId()

ilPortfolioPageGUI::getPageContentUserId (   $a_user_id)
protected

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

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

90  {
91  // user id from content-xml
92  return $a_user_id;
93  }
+ Here is the caller graph for this function:

◆ getPagePermaLink()

ilPortfolioPageGUI::getPagePermaLink ( )

Get page perma link.

Parameters

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

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

Referenced by renderVerification().

1180  {
1182  $href = ilLink::_getStaticLink($pid, "prtf", true, "_" . $this->getId());
1183  return $href;
1184  }
static findPortfolioForPage($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 84 of file class.ilPortfolioPageGUI.php.

Referenced by __construct().

85  {
86  return "prtf";
87  }
+ Here is the caller graph for this function:

◆ getTabs()

ilPortfolioPageGUI::getTabs (   $a_activate = "")

Set all tabs.

Parameters

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

190  {
191  if (!$this->embedded) {
192  parent::getTabs($a_activate);
193  }
194  }

◆ getViewPageLink()

ilPortfolioPageGUI::getViewPageLink ( )

Get view page link.

Parameters

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

References ilPageObjectGUI\$ctrl, and $DIC.

1153  {
1154  global $DIC;
1155 
1156  $ctrl = $DIC->ctrl();
1157 
1158  $ctrl->setParameterByClass("ilobjportfoliogui", "user_page", $this->requested_ppage);
1159  return $ctrl->getLinkTargetByClass("ilobjportfoliogui", "preview");
1160  }
$DIC
Definition: xapitoken.php:46

◆ getViewPageText()

ilPortfolioPageGUI::getViewPageText ( )

Get view page link.

Parameters

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

1169  {
1170  return $this->lng->txt("preview");
1171  }

◆ isMyCoursesActive()

ilPortfolioPageGUI::isMyCoursesActive ( )
protected

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

Referenced by renderMyCourses(), and renderMyCoursesTeaser().

663  {
664  $prfa_set = new ilSetting("prfa");
665  return (bool) $prfa_set->get("mycrs", true);
666  }
+ Here is the caller graph for this function:

◆ makePlaceHoldersClickable()

ilPortfolioPageGUI::makePlaceHoldersClickable (   $a_html)

Modify page content after xsl.

Parameters
string$a_html
Returns
string

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

References $_GET, ilPageObjectGUI\$ctrl, $i, $ilCtrl, $ilUser, ilPageObjectGUI\$lng, $param, ilPageObjectGUI\$user, ilObject2\_lookupOwner(), ilPageObjectGUI\getId(), and ilPageObjectGUI\getOutputMode().

Referenced by postOutputProcessing().

1062  {
1063  $ilCtrl = $this->ctrl;
1064  $lng = $this->lng;
1065  $ilUser = $this->user;
1066 
1067  $c_pos = 0;
1068  $start = strpos($a_html, "{{{{{PlaceHolder#");
1069  if (is_int($start)) {
1070  $end = strpos($a_html, "}}}}}", $start);
1071  }
1072  $i = 1;
1073  while ($end > 0) {
1074  $param = substr($a_html, $start + 17, $end - $start - 17);
1075  $param = explode("#", $param);
1076 
1077  $html = $param[2];
1078  switch ($param[2]) {
1079  case "Text":
1080  $html = $lng->txt("cont_text_placeh");
1081  break;
1082 
1083  case "Media":
1084  $html = $lng->txt("cont_media_placeh");
1085  break;
1086 
1087  case "Question":
1088  $html = $lng->txt("cont_question_placeh");
1089  break;
1090 
1091  case "Verification":
1092  $html = $lng->txt("cont_verification_placeh");
1093  break;
1094  }
1095 
1096  // only if not owner
1097  if ($ilUser->getId() == ilObjPortfolio::_lookupOwner($this->portfolio_id)
1098  && $this->getOutputMode() == "presentation") {
1099  switch ($param[2]) {
1100  case "Text":
1101  $ilCtrl->setParameterByClass("ilportfoliopagegui", "prt_id", $_GET["prt_id"]);
1102  $ilCtrl->setParameterByClass("ilportfoliopagegui", "ppage", $this->getId());
1103  $ilCtrl->setParameterByClass("ilportfoliopagegui", "pl_pc_id", $param[0]);
1104  $ilCtrl->setParameterByClass("ilportfoliopagegui", "pl_hier_id", $param[1]);
1105  $href = $ilCtrl->getLinkTargetByClass("ilportfoliopagegui", "insertJSAtPlaceholder");
1106  $html = "<a href='" . $href . "'>" . $html . "</a>";
1107  break;
1108 
1109  case "Media":
1110  $ilCtrl->setParameterByClass("ilpcmediaobjectgui", "prt_id", $_GET["prt_id"]);
1111  $ilCtrl->setParameterByClass("ilpcmediaobjectgui", "ppage", $this->getId());
1112  $ilCtrl->setParameterByClass("ilpcmediaobjectgui", "pl_pc_id", $param[0]);
1113  $ilCtrl->setParameterByClass("ilpcmediaobjectgui", "pl_hier_id", $param[1]);
1114  $ilCtrl->setParameterByClass("ilpcmediaobjectgui", "subCmd", "insertNew");
1115  $href = $ilCtrl->getLinkTargetByClass(array("ilPortfolioPageGUI", "ilPageEditorGUI", "ilPCPlaceHolderGUI", "ilpcmediaobjectgui"), "insert");
1116  $html = "<a href='" . $href . "'>" . $html . "</a>";
1117  break;
1118 
1119  case "Verification":
1120  $ilCtrl->setParameterByClass("ilPCVerificationGUI", "prt_id", $_GET["prt_id"]);
1121  $ilCtrl->setParameterByClass("ilPCVerificationGUI", "ppage", $this->getId());
1122  $ilCtrl->setParameterByClass("ilPCVerificationGUI", "pl_pc_id", $param[0]);
1123  $ilCtrl->setParameterByClass("ilPCVerificationGUI", "pl_hier_id", $param[1]);
1124  $ilCtrl->setParameterByClass("ilPCVerificationGUI", "subCmd", "insertNew");
1125  $href = $ilCtrl->getLinkTargetByClass(array("ilPortfolioPageGUI", "ilPageEditorGUI", "ilPCPlaceHolderGUI", "ilPCVerificationGUI"), "insert");
1126  $html = "<a href='" . $href . "'>" . $html . "</a>";
1127  break;
1128  }
1129  }
1130 
1131  $h2 = substr($a_html, 0, $start) .
1132  $html .
1133  substr($a_html, $end + 5);
1134  $a_html = $h2;
1135  $i++;
1136 
1137  $start = strpos($a_html, "{{{{{PlaceHolder#", $start + 5);
1138  $end = 0;
1139  if (is_int($start)) {
1140  $end = strpos($a_html, "}}}}}", $start);
1141  }
1142  }
1143  return $a_html;
1144  }
$_GET["client_id"]
static _lookupOwner($a_id)
global $ilCtrl
Definition: ilias.php:18
$param
Definition: xapitoken.php:31
$ilUser
Definition: imgupload.php:18
$i
Definition: metadata.php:24
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ parseLOUserResults()

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

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

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

Referenced by parseObjectives().

1022  {
1023  $res = array();
1024 
1025  $lur = new ilLOUserResults($a_course_obj_id, $a_user_id);
1026  foreach ($lur->getCourseResultsForUserPresentation() as $objective_id => $types) {
1027  // show either initial or qualified for objective
1028  if (isset($types[ilLOUserResults::TYPE_INITIAL])) {
1029  $initial_status = $types[ilLOUserResults::TYPE_INITIAL]["status"];
1030  }
1031 
1032  // qualified test has priority
1033  if (isset($types[ilLOUserResults::TYPE_QUALIFIED])) {
1036  $result["initial"] = $types[ilLOUserResults::TYPE_INITIAL];
1037  } else {
1040  }
1041 
1042  $result["initial_status"] = $initial_status;
1043 
1044  $res[$objective_id] = $result;
1045  }
1046 
1047  return $res;
1048  }
$result
foreach($_POST as $key=> $value) $res
+ Here is the caller graph for this function:

◆ parseObjectives()

ilPortfolioPageGUI::parseObjectives (   $a_obj_id,
  $a_user_id 
)
protected

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

References $res, ilLOTestAssignments\getInstance(), ilCourseObjective\lookupObjectiveTitle(), ilLPObjSettings\LP_MODE_OBJECTIVES, parseLOUserResults(), ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.

Referenced by getCoursesOfUser().

975  {
976  $res = array();
977 
978  // we need the collection for the correct order
980  $coll_objtv = $coll_objtv->getItems();
981  if ($coll_objtv) {
982  // #13373
983  $lo_results = $this->parseLOUserResults($a_obj_id, $a_user_id);
984 
985  $lo_ass = ilLOTestAssignments::getInstance($a_obj_id);
986 
987  $tmp = array();
988 
989  foreach ($coll_objtv as $objective_id) {
990  $title = ilCourseObjective::lookupObjectiveTitle($objective_id, true);
991 
992  $tmp[$objective_id] = array(
993  "id" => $objective_id,
994  "title" => $title["title"],
995  "desc" => $title["description"],
996  "itest" => $lo_ass->getTestByObjective($objective_id, ilLOSettings::TYPE_TEST_INITIAL),
997  "qtest" => $lo_ass->getTestByObjective($objective_id, ilLOSettings::TYPE_TEST_QUALIFIED)
998  );
999 
1000  if (array_key_exists($objective_id, $lo_results)) {
1001  $lo_result = $lo_results[$objective_id];
1002  $tmp[$objective_id]["user_id"] = $lo_result["user_id"];
1003  $tmp[$objective_id]["result_perc"] = $lo_result["result_perc"];
1004  $tmp[$objective_id]["limit_perc"] = $lo_result["limit_perc"];
1005  $tmp[$objective_id]["status"] = $lo_result["status"];
1006  $tmp[$objective_id]["type"] = $lo_result["type"];
1007  $tmp[$objective_id]["initial"] = $lo_result["initial"];
1008  }
1009  }
1010 
1011  // order
1012  foreach ($coll_objtv as $objtv_id) {
1013  $res[] = $tmp[$objtv_id];
1014  }
1015  }
1016 
1017  return $res;
1018  }
static getInstance($a_container_id)
Get instance by container id.
static lookupObjectiveTitle($a_objective_id, $a_add_description=false)
foreach($_POST as $key=> $value) $res
parseLOUserResults($a_course_obj_id, $a_user_id)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ postOutputProcessing()

ilPortfolioPageGUI::postOutputProcessing (   $a_output)

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

References $type, makePlaceHoldersClickable(), and renderPageElement().

232  {
233  $parts = array(
234  "Profile" => array("0-9", "a-z", "0-9a-z_;\W"), // user, mode, fields
235  "Verification" => array("0-9", "a-z", "0-9"), // user, type, id
236  "Blog" => array("0-9", "0-9", "0-9;\W"), // user, blog id, posting ids
237  "BlogTeaser" => array("0-9", "0-9", "0-9;\W"), // user, blog id, posting ids
238  "Skills" => array("0-9", "0-9"), // user, skill id
239  "SkillsTeaser" => array("0-9", "0-9"), // user, skill id
240  "ConsultationHours" => array("0-9", "a-z", "0-9;\W"), // user, mode, group ids
241  "ConsultationHoursTeaser" => array("0-9", "a-z", "0-9;\W"), // user, mode, group ids
242  "MyCourses" => array("0-9", "a-z*"), // user, sort
243  "MyCoursesTeaser" => array("0-9", "a-z*") // user, sort
244  );
245 
246  foreach ($parts as $type => $def) {
247  // #15732 - allow optional parts
248  $def_parts = array();
249  foreach ($def as $part) {
250  $is_opt = (substr($part, -1) == "*");
251  if (!$is_opt) {
252  $def_parts[] = "#";
253  $end_marker = "+";
254  } else {
255  $def_parts[] = "#*";
256  $end_marker = "*";
257  $part = substr($part, 0, -1);
258  }
259  $def_parts[] = "([" . $part . "]" . $end_marker . ")";
260  }
261  $def = implode("", $def_parts);
262 
263  if (preg_match_all(
264  "/" . $this->pl_start . $type . $def . $this->pl_end . "/",
265  $a_output,
266  $blocks
267  )) {
268  foreach ($blocks[0] as $idx => $block) {
269  switch ($type) {
270  case "Profile":
271  case "Blog":
272  case "BlogTeaser":
273  case "Skills":
274  case "SkillsTeaser":
275  case "ConsultationHours":
276  case "ConsultationHoursTeaser":
277  case "MyCourses":
278  case "MyCoursesTeaser":
279  $subs = null;
280  if (trim($blocks[3][$idx])) {
281  foreach (explode(";", $blocks[3][$idx]) as $sub) {
282  if (trim($sub)) {
283  $subs[] = trim($sub);
284  }
285  }
286  }
287  $snippet = $this->{"render" . $type}(
288  $blocks[1][$idx],
289  $blocks[2][$idx],
290  $subs
291  );
292  break;
293 
294  default:
295  $snippet = $this->{"render" . $type}(
296  $blocks[1][$idx],
297  $blocks[2][$idx],
298  $blocks[3][$idx]
299  );
300  break;
301  }
302 
303  $snippet = $this->renderPageElement($type, $snippet);
304  $a_output = str_replace($block, $snippet, $a_output);
305  }
306  }
307  }
308 
309  $a_output = $this->makePlaceHoldersClickable($a_output);
310 
311  return $a_output;
312  }
$type
makePlaceHoldersClickable($a_html)
Modify page content after xsl.
renderPageElement($a_type, $a_html)
+ Here is the call graph for this function:

◆ renderBlog()

ilPortfolioPageGUI::renderBlog (   $a_user_id,
  $a_blog_id,
array  $a_posting_ids = null 
)
protected

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

References ilPageObjectGUI\$ctrl, $ilCtrl, ilObject2\_lookupTitle(), ilObject\_lookupType(), ilPageObjectGUI\getOutputMode(), ilPageObjectGUI\PREVIEW, and ilObject2GUI\WORKSPACE_OBJECT_ID.

Referenced by showPage().

499  {
501 
502  // not used
503  // $user_id = $this->getPageContentUserId($a_user_id);
504 
505  // full blog (separate tab/page)
506  if (!$a_posting_ids) {
507  if (ilObject::_lookupType($a_blog_id) != "blog") {
508  return;
509  }
510  $blog = new ilObjBlogGUI($a_blog_id, ilObject2GUI::WORKSPACE_OBJECT_ID);
511  $blog->disableNotes(!$this->enable_comments);
512  $blog->setContentStyleSheet();
513 
514  if ($this->getOutputMode() != "offline") {
515  return $ilCtrl->getHTML($blog);
516  } else {
517  }
518  }
519  // embedded postings
520  else {
521  $html = array();
522 
523  $html[] = ilObjBlog::_lookupTitle($a_blog_id);
524 
525  foreach ($a_posting_ids as $post) {
526  $page = new ilBlogPostingGUI(0, null, $post);
527  if ($this->getOutputMode() != "offline") {
528  $page->setOutputMode(ilPageObjectGUI::PREVIEW);
529  } else {
530  $page->setOutputMode("offline");
531  }
532  $html[] = $page->showPage();
533  }
534 
535  return implode("\n", $html);
536  }
537  }
static _lookupTitle($a_id)
Class ilBlogPosting GUI class.
global $ilCtrl
Definition: ilias.php:18
Class ilObjBlogGUI.
static _lookupType($a_id, $a_reference=false)
lookup object type
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ renderBlogTeaser()

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

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

References ilObject\_lookupTitle(), ilDatePresentation\formatDate(), and renderTeaser().

540  {
541  // not used
542  // $user_id = $this->getPageContentUserId($a_user_id);
543 
544  $postings = "";
545  if ($a_posting_ids) {
546  $postings = array("<ul>");
547  foreach ($a_posting_ids as $post) {
548  $post = new ilBlogPosting($post);
549  $postings[] = "<li>" . $post->getTitle() . " - " .
550  ilDatePresentation::formatDate($post->getCreated()) . "</li>";
551  }
552  $postings[] = "</ul>";
553  $postings = implode("\n", $postings);
554  }
555 
556  return $this->renderTeaser("blog", $this->lng->txt("obj_blog") . ' "' .
557  ilObject::_lookupTitle($a_blog_id) . '"', $postings);
558  }
Class ilBlogPosting.
static _lookupTitle($a_id)
lookup object title
static formatDate(ilDateTime $date, $a_skip_day=false, $a_include_wd=false, $include_seconds=false)
Format a date public.
renderTeaser($a_type, $a_title, $a_options=null)
+ Here is the call graph for this function:

◆ renderConsultationHours()

ilPortfolioPageGUI::renderConsultationHours (   $a_user_id,
  $a_mode,
  $a_group_ids 
)
protected

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

References $_GET, $ilUser, ilPageObjectGUI\$user, ilCalendarCategories\_getInstance(), ilPageObjectGUI\getOutputMode(), getPageContentUserId(), ilUtil\getStyleSheetLocation(), IL_CAL_DATE, IL_CAL_UNIX, ilCalendarCategories\MODE_PORTFOLIO_CONSULTATION, and renderConsultationHoursTeaser().

613  {
615 
616  if ($this->getOutputMode() == "preview") {
617  return $this->renderConsultationHoursTeaser($a_user_id, $a_mode, $a_group_ids);
618  }
619 
620  if ($this->getOutputMode() == "offline") {
621  return;
622  }
623 
624  if ($this->getOutputMode() == "print") {
625  return;
626  }
627 
628  $user_id = $this->getPageContentUserId($a_user_id);
629 
630  // only if not owner
631  if ($ilUser->getId() != $user_id) {
632  $_GET["bkid"] = $user_id;
633  }
634 
635  if ($a_mode != "manual") {
636  $a_group_ids = null;
637  }
638 
639  ilCalendarCategories::_getInstance()->setCHUserId($user_id);
641 
642  if (!$_REQUEST["seed"]) {
643  $seed = new ilDate(time(), IL_CAL_UNIX);
644  } else {
645  $seed = new ilDate($_REQUEST["seed"], IL_CAL_DATE);
646  }
647 
648  $month_gui = new ilCalendarMonthGUI($seed);
649  $month_gui->setConsulationHoursUserId($user_id);
650 
651  // custom schedule filter: handle booking group ids
652  $filter = new ilCalendarScheduleFilterBookings($user_id, $a_group_ids);
653  $month_gui->addScheduleFilter($filter);
654 
655  $this->tpl->addCss(ilUtil::getStyleSheetLocation('filesystem', 'delos.css', 'Services/Calendar'));
656 
657  $this->lng->loadLanguageModule("dateplaner");
658  return '<h3>' . $this->lng->txt("app_consultation_hours") . '</h3>' .
659  $this->ctrl->getHTML($month_gui);
660  }
Calendar schedule filter for consultation hour bookings.
static getStyleSheetLocation($mode="output", $a_css_name="", $a_css_location="")
get full style sheet file name (path inclusive) of current user
$_GET["client_id"]
const IL_CAL_UNIX
Class for single dates.
$ilUser
Definition: imgupload.php:18
static _getInstance($a_usr_id=0)
get singleton instance
const IL_CAL_DATE
renderConsultationHoursTeaser($a_user_id, $a_mode, $a_group_ids)
+ Here is the call graph for this function:

◆ renderConsultationHoursTeaser()

ilPortfolioPageGUI::renderConsultationHoursTeaser (   $a_user_id,
  $a_mode,
  $a_group_ids 
)
protected

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

References ilConsultationHourGroups\lookupTitle(), and renderTeaser().

Referenced by renderConsultationHours().

587  {
588  // not used
589  // $user_id = $this->getPageContentUserId($a_user_id);
590 
591  if ($a_mode == "auto") {
592  $mode = $this->lng->txt("cont_cach_mode_automatic");
593  $groups = null;
594  } else {
595  $mode = $this->lng->txt("cont_cach_mode_manual");
596 
597  $groups = array();
598  foreach ($a_group_ids as $grp_id) {
599  $groups[] = ilConsultationHourGroups::lookupTitle($grp_id);
600  }
601  $groups = " (" . implode(", ", $groups) . ")";
602  }
603 
604  $this->lng->loadLanguageModule("dateplaner");
605  return $this->renderTeaser(
606  "consultation_hours",
607  $this->lng->txt("app_consultation_hours"),
608  $mode . $groups
609  );
610  }
static lookupTitle($a_group_id)
Lookup group title.
renderTeaser($a_type, $a_title, $a_options=null)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ renderMyCourses()

ilPortfolioPageGUI::renderMyCourses (   $a_user_id,
  $a_default_sorting 
)
protected

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

References $_POST, ilPageObjectGUI\$access, ilPageObjectGUI\$ctrl, $data, $GLOBALS, $ilCtrl, $ilUser, ilPageObjectGUI\$tpl, $url, ilPageObjectGUI\$user, ilLearningProgressBaseGUI\_getImagePathForStatus(), ilLink\_getLink(), ilLearningProgressBaseGUI\_getStatusText(), ilTooltipGUI\addTooltip(), ilContainerObjectiveGUI\buildObjectiveProgressBar(), ilUtil\formSelect(), getCoursesOfUser(), getCourseSortAction(), ilLOSettings\getInstanceByObjId(), ilPageObjectGUI\getOutputMode(), getPageContentUserId(), ilUtil\getTypeIconPath(), isMyCoursesActive(), renderMyCoursesTeaser(), and ilUtil\sortArray().

684  {
685  $ilAccess = $this->access;
688 
689  if ($this->getOutputMode() == "preview") {
690  return $this->renderMyCoursesTeaser($a_user_id, $a_default_sorting);
691  }
692 
693  if (!$this->isMyCoursesActive()) {
694  return;
695  }
696 
697  $img_path = null;
698 
699  $user_id = $this->getPageContentUserId($a_user_id);
700 
701  // sorting pref
702  if ($_POST["srt"] &&
703  in_array($_POST["srt"], array("alpha", "loc"))) {
704  $ilUser->writePref("prtf_mcrs_sort", $_POST["srt"]);
705  }
706  $sorting = $ilUser->getPref("prtf_mcrs_sort");
707  if (!$sorting) {
708  $sorting = $a_default_sorting;
709  }
710 
711  $data = $this->getCoursesOfUser($user_id, ($sorting == "loc"));
712  if (sizeof($data)) {
713  if ($sorting != "loc") {
714  $data = ilUtil::sortArray($data, "title", "ASC");
715  } else {
716  $data = ilUtil::sortArray($data, "path_sort", "ASC");
717  }
718 
719  $tpl = new ilTemplate("tpl.pc_my_courses.html", true, true, "Modules/Portfolio");
720  $tpl->setVariable("TITLE", $this->lng->txt("prtf_page_element_my_courses_title"));
721  $tpl->setVariable("INFO", $this->lng->txt("prtf_page_element_my_courses_info")); // #14464
722 
723  $this->lng->loadLanguageModule("trac");
724  $this->lng->loadLanguageModule("crs");
725 
726  // sorting
727  if ($this->getOutputMode() != "print") {
728  $options = array(
729  "alpha" => $this->lng->txt("cont_mycourses_sortorder_alphabetical"),
730  "loc" => $this->lng->txt("cont_mycourses_sortorder_location")
731  );
732  $tpl->setVariable("SORT_SELECT", ilUtil::formSelect(
733  $sorting,
734  "srt",
735  $options,
736  false,
737  true,
738  0,
739  "",
740  array("onchange" => "form.submit()")
741  ));
742  $tpl->setVariable("SORT_FORM", $this->getCourseSortAction($ilCtrl));
743  }
744 
745  $old_path = null;
746 
747  foreach ($data as $course) {
748  if ($sorting == "loc") {
749  if ($course["path"] != $old_path) {
750  $tpl->setCurrentBlock("path_bl");
751  $tpl->setVariable("PATH", $course["path"]);
752  $tpl->parseCurrentBlock();
753 
754  $old_path = $course["path"];
755  }
756  }
757 
758  if (isset($course["lp_status"])) {
759  $lp_icon = ilLearningProgressBaseGUI::_getImagePathForStatus($course["lp_status"]);
760  $lp_alt = ilLearningProgressBaseGUI::_getStatusText($course["lp_status"]);
761 
762  if ($img_path) {
763  $lp_icon = $img_path . basename($lp_icon);
764  }
765 
766  $tpl->setCurrentBlock("lp_bl");
767  $tpl->setVariable("LP_ICON_URL", $lp_icon);
768  $tpl->setVariable("LP_ICON_ALT", $lp_alt);
769  $tpl->parseCurrentBlock();
770  }
771 
772  $do_links = false;
773  if ($ilUser->getId() != ANONYMOUS_USER_ID) {
774  $do_links = $ilAccess->checkAccessOfUser($ilUser->getId(), "read", "", $course["ref_id"], "crs") ||
775  ($ilAccess->checkAccessOfUser($ilUser->getId(), "visible", "", $course["ref_id"], "crs") &&
776  $ilAccess->checkAccessOfUser($ilUser->getId(), "join", "", $course["ref_id"], "crs"));
777  }
778 
779  if (isset($course["objectives"])) {
780  $loc_settings = ilLOSettings::getInstanceByObjId($course["obj_id"]);
781  $has_initial_test = (bool) $loc_settings->getInitialTest();
782 
783  foreach ($course["objectives"] as $objtv) {
784  if ($do_links) {
785  $params = array("oobj" => $objtv["id"]);
786  $url = ilLink::_getLink($course["ref_id"], "crs", $params);
787 
788  // #15510
789  $url .= "#objtv_acc_" . $objtv["id"];
790 
791  if ($this->getOutputMode() != "print") {
792  $tpl->touchBlock("objective_dnone");
793  }
794 
795  $tpl->setCurrentBlock("objective_link_bl");
796 
797  if (trim($objtv["desc"])) {
798  $desc = nl2br($objtv["desc"]);
799  $tt_id = "objtvtt_" . $objtv["id"] . "_" . ((int) self::$initialized);
800 
801  ilTooltipGUI::addTooltip($tt_id, $desc, "", "bottom center", "top center", false);
802 
803  $tpl->setVariable("OBJECTIVE_LINK_ID", $tt_id);
804  }
805 
806  $tpl->setVariable("OBJECTIVE_LINK_URL", $url);
807  $tpl->setVariable("OBJECTIVE_LINK_TITLE", $objtv["title"]);
808  $tpl->parseCurrentBlock();
809  } else {
810  $tpl->setCurrentBlock("objective_nolink_bl");
811  $tpl->setVariable("OBJECTIVE_NOLINK_TITLE", $objtv["title"]);
812  $tpl->parseCurrentBlock();
813  }
814 
815  $objtv_icon = ilUtil::getTypeIconPath("lobj", $objtv["id"]);
816  if ($img_path) {
817  $objtv_icon = $img_path . basename($objtv_icon);
818  }
819 
820  $tpl->setCurrentBlock("objective_bl");
821  $tpl->setVariable("OBJTV_ICON_URL", $objtv_icon);
822  $tpl->setVariable("OBJTV_ICON_ALT", $this->lng->txt("crs_objectives"));
823 
824  if ($objtv["type"]) {
825  $tpl->setVariable(
826  "LP_OBJTV_PROGRESS",
827  ilContainerObjectiveGUI::buildObjectiveProgressBar($has_initial_test, $objtv["id"], $objtv, true, false, (int) self::$initialized)
828  );
829  }
830 
831  $tpl->parseCurrentBlock();
832  }
833 
834  $tpl->setCurrentBlock("objectives_bl");
835  $tpl->setVariable("OBJTV_LIST_CRS_ID", $course["obj_id"]);
836  $tpl->parseCurrentBlock();
837  }
838 
839  // always check against current user
840  if ($do_links) {
841  $tpl->setCurrentBlock("course_link_bl");
842  $tpl->setVariable("COURSE_LINK_TITLE", $course["title"]);
843  $tpl->setVariable("COURSE_LINK_URL", ilLink::_getLink($course["ref_id"]));
844  $tpl->parseCurrentBlock();
845  } else {
846  $tpl->setCurrentBlock("course_nolink_bl");
847  $tpl->setVariable("COURSE_NOLINK_TITLE", $course["title"]);
848  $tpl->parseCurrentBlock();
849  }
850 
851  $crs_icon = ilUtil::getTypeIconPath("crs", $course["obj_id"]);
852  if ($img_path) {
853  $crs_icon = $img_path . basename($crs_icon);
854  }
855 
856  $tpl->setCurrentBlock("course_bl");
857 
858  if (isset($course["objectives"])) {
859  $tpl->setVariable("TOGGLE_CLASS", "ilPCMyCoursesToggle");
860  } else {
861  $tpl->setVariable("NO_TOGGLE", ' style="visibility:hidden;"');
862  }
863 
864  $tpl->setVariable("CRS_ICON_URL", $crs_icon);
865  $tpl->setVariable("CRS_ICON_ALT", $this->lng->txt("obj_crs"));
866  $tpl->parseCurrentBlock();
867  }
868 
869  // #15508
870  if (!self::$initialized) {
871  $GLOBALS["tpl"]->addJavaScript("Modules/Portfolio/js/ilPortfolio.js");
872  $GLOBALS["tpl"]->addOnLoadCode("ilPortfolio.init()");
873  }
874  self::$initialized++;
875 
876  return $tpl->get();
877  }
878  }
getCoursesOfUser($a_user_id, $a_add_path=false)
static sortArray( $array, $a_array_sortby, $a_array_sortorder=0, $a_numeric=false, $a_keep_keys=false)
sortArray
static getInstanceByObjId($a_obj_id)
get singleton instance
static addTooltip( $a_el_id, $a_text, $a_container="", $a_my="bottom center", $a_at="top center", $a_use_htmlspecialchars=true)
Adds a tooltip to an HTML element.
$data
Definition: storeScorm.php:23
static _getImagePathForStatus($a_status)
Get image path for status.
static _getStatusText($a_status, $a_lng=null)
Get status alt text.
static getTypeIconPath($a_type, $a_obj_id, $a_size='small')
Get type icon path path Return image path for icon_xxx.pngs Or (if enabled) path to custom icon Depre...
global $ilCtrl
Definition: ilias.php:18
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
Definition: PEAR.php:64
$ilUser
Definition: imgupload.php:18
static buildObjectiveProgressBar($a_has_initial_test, $a_objective_id, array $a_lo_result, $a_list_mode=false, $a_sub=false, $a_tt_suffix=null)
Render progressbar(s) for given objective and result data.
renderMyCoursesTeaser($a_user_id, $a_default_sorting)
static formSelect( $selected, $varname, $options, $multiple=false, $direct_text=false, $size="0", $style_class="", $attribs="", $disabled=false)
Builds a select form field with options and shows the selected option first.
$url
getCourseSortAction($ctrl)
Get course sort action.
$_POST["username"]
+ Here is the call graph for this function:

◆ renderMyCoursesTeaser()

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

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

References isMyCoursesActive(), and renderTeaser().

Referenced by renderMyCourses().

669  {
670  // not used
671  // $user_id = $this->getPageContentUserId($a_user_id);
672 
673  $title = $this->isMyCoursesActive()
674  ? "my_courses"
675  : "my_courses_inactive";
676 
677  return $this->renderTeaser(
678  $title,
679  $this->lng->txt("prtf_page_element_my_courses_title")
680  );
681  }
renderTeaser($a_type, $a_title, $a_options=null)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ renderPageElement()

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

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

Referenced by postOutputProcessing().

315  {
316  return trim($a_html);
317  }
+ Here is the caller graph for this function:

◆ renderProfile()

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

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

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

333  {
335 
336  $user_id = $this->getPageContentUserId($a_user_id);
337 
338  /*
339  if($this->getOutputMode() == "offline")
340  {
341  // profile picture is done in ilPortfolioHTMLExport
342 
343  $this->export_material["js"][] = "http://maps.google.com/maps/api/js?sensor=false";
344  $this->export_material["js"][] = "./Services/Maps/js/ServiceGoogleMaps.js";
345  $this->export_material["js"][] = "./Services/Maps/js/OpenLayers.js";
346  $this->export_material["js"][] = "./Services/Maps/js/ServiceOpenLayers.js";
347  }*/
348 
349  $pub_profile = new ilPublicUserProfileGUI($user_id);
350  $pub_profile->setEmbedded(true, ($this->getOutputMode() == "offline"));
351 
352  // full circle: additional was set in the original public user profile call
353  $pub_profile->setAdditional($this->getAdditional());
354 
355  if ($a_type == "manual" && sizeof($a_fields)) {
356  $prefs = array();
357  foreach ($a_fields as $field) {
358  $field = trim($field);
359  if ($field) {
360  $prefs["public_" . $field] = "y";
361  }
362  }
363 
364  $pub_profile->setCustomPrefs($prefs);
365  }
366 
367  if ($this->getOutputMode() != "offline") {
368  return $ilCtrl->getHTML($pub_profile);
369  } else {
370  return $pub_profile->getEmbeddable();
371  }
372  }
getAdditional()
Get Additonal Information.
global $ilCtrl
Definition: ilias.php:18
$a_type
Definition: workflow.php:92
GUI class for public user profile presentation.
+ Here is the call graph for this function:

◆ renderSkills()

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

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

References ilPageObjectGUI\getOutputMode(), getPageContentUserId(), and renderSkillsTeaser().

561  {
562  if ($this->getOutputMode() == "preview") {
563  return $this->renderSkillsTeaser($a_user_id, $a_skills_id);
564  }
565 
566  $user_id = $this->getPageContentUserId($a_user_id);
567 
568  $gui = new ilPersonalSkillsGUI();
569  if ($this->getOutputMode() == "offline") {
570  $gui->setOfflineMode("./files/");
571  }
572  $html = $gui->getSkillHTML($a_skills_id, $user_id);
573 
574  return $html;
575  }
Personal skills GUI class.
renderSkillsTeaser($a_user_id, $a_skills_id)
+ Here is the call graph for this function:

◆ renderSkillsTeaser()

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

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

References ilSkillTreeNode\_lookupTitle(), and renderTeaser().

Referenced by renderSkills().

578  {
579  // not used
580  // $user_id = $this->getPageContentUserId($a_user_id);
581 
582  return $this->renderTeaser("skills", $this->lng->txt("skills") . ' "' .
583  ilSkillTreeNode::_lookupTitle($a_skills_id) . '"');
584  }
static _lookupTitle($a_obj_id, $a_tref_id=0)
Lookup Title.
renderTeaser($a_type, $a_title, $a_options=null)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ renderTeaser()

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

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

References $a_type.

Referenced by renderBlogTeaser(), ilPortfolioTemplatePageGUI\renderBlogTemplate(), renderConsultationHoursTeaser(), renderMyCoursesTeaser(), and renderSkillsTeaser().

320  {
321  $options = "";
322  if ($a_options) {
323  $options = '<div class="il_Footer">' . $this->lng->txt("prtf_page_element_teaser_settings") .
324  ": " . $a_options . '</div>';
325  }
326 
327  return '<div style="margin:5px" class="ilBox"><h3>' . $a_title . '</h3>' .
328  '<div class="il_Description_no_margin">' . $this->lng->txt("prtf_page_element_teaser_" . $a_type) . '</div>' .
329  $options . '</div>';
330  }
$a_type
Definition: workflow.php:92
+ Here is the caller graph for this function:

◆ renderVerification()

ilPortfolioPageGUI::renderVerification (   $a_user_id,
  $a_type,
  $a_id 
)
protected
Parameters
$a_user_id
$a_type
$a_id
Returns
string
Exceptions
ilException

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

References $a_type, $obj_definition, $url, createPersistentCertificateUrl(), ilPageObjectGUI\getOutputMode(), getPagePermaLink(), and ilObject2GUI\WORKSPACE_OBJECT_ID.

382  {
383  $objDefinition = $this->obj_definition;
384 
385  $outputMode = $this->getOutputMode();
386 
387  // not used
388  // $user_id = $this->getPageContentUserId($a_user_id);
389  if ($a_type === 'crta' && $outputMode === 'offline') {
390  $fileService = new ilPortfolioCertificateFileService();
391 
392  $certificatePdfFile = $fileService->createCertificateFilePath($a_user_id, $a_id);
393  $this->export_material["files"][] = $certificatePdfFile;
394 
395  $url = 'files/' . basename($certificatePdfFile);
396 
397  $userCertificateRepository = new ilUserCertificateRepository();
398 
399  return $this->createPersistentCertificateUrl($a_id, $userCertificateRepository, $url);
400  } elseif ($a_type === 'crta' && $outputMode === 'print') {
401  $userCertificateRepository = new ilUserCertificateRepository();
402  $url = $this->getPagePermaLink();
403 
404  return $this->createPersistentCertificateUrl($a_id, $userCertificateRepository, $url);
405  } elseif ($a_type === 'crta') {
406  $this->ctrl->setParameter($this, "dlid", $a_id);
407  $url = $this->ctrl->getLinkTarget($this, "dl" . $a_type);
408  $this->ctrl->setParameter($this, "dlid", "");
409 
410  $userCertificateRepository = new ilUserCertificateRepository();
411 
412  return $this->createPersistentCertificateUrl($a_id, $userCertificateRepository, $url);
413  }
414 
415  $class = "ilObj" . $objDefinition->getClassName($a_type) . "GUI";
416  $verification = new $class($a_id, ilObject2GUI::WORKSPACE_OBJECT_ID);
417 
418  if ($outputMode == "print") {
419  $url = $this->getPagePermaLink();
420  } elseif ($outputMode != "offline") {
421  // direct download link
422  $this->ctrl->setParameter($this, "dlid", $a_id);
423  $url = $this->ctrl->getLinkTarget($this, "dl" . $a_type);
424  $this->ctrl->setParameter($this, "dlid", "");
425  } else {
426  $file = $verification->object->getFilePath();
427  $url = "files/" . basename($file);
428 
429  $this->export_material["files"][] = $file;
430  }
431 
432  return $verification->render(true, $url);
433  }
createPersistentCertificateUrl($a_id, $userCertificateRepository, $url)
$a_type
Definition: workflow.php:92
$url
getPagePermaLink()
Get page perma link.
+ Here is the call graph for this function:

◆ setAdditional()

ilPortfolioPageGUI::setAdditional (   $a_additional)

Set Additonal Information.

Parameters
array$a_additionalAdditonal Information

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

Referenced by ilObjPortfolioTemplateGUI\getPageGUIInstance(), and ilObjPortfolioGUI\getPageGUIInstance().

212  {
213  $this->additional = $a_additional;
214  }
+ Here is the caller graph for this function:

◆ setEmbedded()

ilPortfolioPageGUI::setEmbedded (   $a_value)

Set embedded mode: will suppress tabs.

Parameters
bool$a_value

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

202  {
203  $this->embedded = (bool) $a_value;
204  }

◆ showPage()

ilPortfolioPageGUI::showPage ( )

Show page.

Returns
string page output

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

References $ilUser, ilPageObjectGUI\$user, ilPageObjectGUI\getPageObject(), renderBlog(), ilPageObjectGUI\setTemplateOutput(), and ilPortfolioPage\TYPE_BLOG.

163  {
165 
166  if (!$this->getPageObject()) {
167  return;
168  }
169 
170  switch ($this->getPageObject()->getType()) {
172  return $this->renderBlog($ilUser->getId(), (int) $this->getPageObject()->getTitle());
173 
174  default:
175  $this->setTemplateOutput(false);
176  // $this->setPresentationTitle($this->getPageObject()->getTitle());
177  $output = parent::showPage();
178 
179  return $output;
180  }
181  }
renderBlog($a_user_id, $a_blog_id, array $a_posting_ids=null)
getPageObject()
Get Page Object.
setTemplateOutput($a_output=true)
$ilUser
Definition: imgupload.php:18
+ Here is the call graph for this function:

Field Documentation

◆ $additional

ilPortfolioPageGUI::$additional = array()
protected

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

Referenced by getAdditional().

◆ $export_material

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

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

Referenced by getExportMaterial().

◆ $initialized

ilPortfolioPageGUI::$initialized = 0
staticprotected

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

◆ $js_onload_code

ilPortfolioPageGUI::$js_onload_code = array()
protected

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

Referenced by getJsOnloadCode().

◆ $obj_definition

ilPortfolioPageGUI::$obj_definition
protected

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

Referenced by renderVerification().

◆ $requested_ppage

ilPortfolioPageGUI::$requested_ppage
protected

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

◆ $tree

ilPortfolioPageGUI::$tree
protected

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

Referenced by getCoursesOfUser().

◆ EMBEDDED_NO_OUTPUT

const ilPortfolioPageGUI::EMBEDDED_NO_OUTPUT = -99

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

Referenced by ilObjPortfolioBaseGUI\handlePageCall().


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