ILIAS  release_7 Revision v7.30-3-g800a261c036
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 ()
 Get parent type. More...
 
 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)
 Finalizing output processing. More...
 
 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...
 
 getCommentsHTMLExport ()
 
 finishEditing ()
 
- Public Member Functions inherited from ilPageObjectGUI
 __construct ( $a_parent_type, $a_id, $a_old_nr=0, $a_prevent_get_id=false, $a_lang="", $concrete_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...
 
 setOpenPlaceHolder ($a_val)
 Set open placeholder. More...
 
 getOpenPlaceHolder ()
 Get open placeholder. 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, $pcid="")
 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...
 
 getEnabledHref ()
 
 setEnabledHref (bool $enable)
 
 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...
 
 getActivationCaptions ()
 Get captions for activation action menu entries. 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...
 
 getBlockingInfoMessage ()
 Get block info message. 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, $export=false)
 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...
 
 finishEditing ()
 
 getPagePermaLink ()
 Get page perma link. More...
 
 getAdditionalPageActions ()
 Get additional page actions. 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...
 
 showEditToolbar ()
 Show edit toolbar. More...
 
 setEditorToolContext ()
 Set editor tool context. More...
 
 initEditing ()
 Init editing. More...
 
 showEditLockInfo ()
 
 setBackToEditTabs ()
 
 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 = ""
 
 $enabled_href = true
 
 $tpl
 
 $lng
 
 $ctrl
 
 $tabs_gui
 
 $access
 
 $plugin_admin
 
 $log
 
 $user
 
 $help
 
 $output_mode
 
 $parent_type = ""
 
 $tool_context
 
 $ui
 
 $page_linker
 
 $abstract_pcid = ""
 
 $toolbar
 
 $open_place_holder
 

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, \ILIAS\COPage\Editor\Server\UIWrapper $ui_wrapper=null)
 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.

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 }
user()
Definition: user.php:4
$_GET["client_id"]
static getSyntaxStylePath()
get syntax style path
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.
getParentType()
Get parent type.
global $DIC
Definition: goto.php:24
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc

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

+ 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 1190 of file class.ilPortfolioPageGUI.php.

1190 : string
1191 {
1192 $presentation = $userCertificateRepository->fetchActiveCertificateForPresentation($this->user->getId(), $a_id);
1193 $caption = $this->lng->txt('certificate') . ': ';
1194 $caption .= $this->lng->txt($presentation->getUserCertificate()->getObjType()) . ' ';
1195 $caption .= '"' . $presentation->getObjectTitle() . '"';
1196
1197 return '<div><a href="' . $url . '">' . $caption . '</a></div>';
1198 }
$url

References $url, and user().

Referenced by renderVerification().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ dlcmxv()

ilPortfolioPageGUI::dlcmxv ( )
protected

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

466 {
467 $id = $_GET["dlid"];
468 if ($id) {
470 $verification->downloadFromPortfolioPage($this->getPageObject());
471 }
472 }

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

+ Here is the call graph for this function:

◆ dlcrsv()

ilPortfolioPageGUI::dlcrsv ( )
protected

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

457 {
458 $id = $_GET["dlid"];
459 if ($id) {
461 $verification->downloadFromPortfolioPage($this->getPageObject());
462 }
463 }
GUI class for course verification.

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

+ Here is the call graph for this function:

◆ dlcrta()

ilPortfolioPageGUI::dlcrta ( )
protected

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

493 {
494 $objectId = $_GET["dlid"];
495 if ($objectId) {
497 $object->downloadFromPortfolioPage($this->getPageObject(), $objectId, $this->user->getId());
498 }
499 }

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

+ Here is the call graph for this function:

◆ dlexcv()

ilPortfolioPageGUI::dlexcv ( )
protected

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

448 {
449 $id = $_GET["dlid"];
450 if ($id) {
452 $verification->downloadFromPortfolioPage($this->getPageObject());
453 }
454 }
GUI class for exercise verification.

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

+ Here is the call graph for this function:

◆ dlltiv()

ilPortfolioPageGUI::dlltiv ( )
protected

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

475 {
476 $id = $_GET["dlid"];
477 if ($id) {
479 $verification->downloadFromPortfolioPage($this->getPageObject());
480 }
481 }

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

+ Here is the call graph for this function:

◆ dlscov()

ilPortfolioPageGUI::dlscov ( )
protected

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

484 {
485 $id = $_GET["dlid"];
486 if ($id) {
488 $verification->downloadFromPortfolioPage($this->getPageObject());
489 }
490 }
GUI class for scorm verification.

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

+ Here is the call graph for this function:

◆ dltstv()

ilPortfolioPageGUI::dltstv ( )
protected

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

439 {
440 $id = $_GET["dlid"];
441 if ($id) {
443 $verification->downloadFromPortfolioPage($this->getPageObject());
444 }
445 }
GUI class for test verification.

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

+ Here is the call graph for this function:

◆ executeCommand()

ilPortfolioPageGUI::executeCommand ( )

execute command

Reimplemented from ilPageObjectGUI.

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

99 {
100 $ilCtrl = $this->ctrl;
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") {
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");
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 }
const IL_CAL_DATE
const IL_CAL_UNIX
static _getInstance($a_usr_id=0)
get singleton instance
Class for single dates.
Class ilObjBlogGUI.
setPresentationTitle($a_title="")
Tree handler for personal workspace.
$ilUser
Definition: imgupload.php:18

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

+ Here is the call graph for this function:

◆ finishEditing()

ilPortfolioPageGUI::finishEditing ( )

Reimplemented from ilPageObjectGUI.

Reimplemented in ilPortfolioTemplatePageGUI.

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

1217 {
1218 $this->ctrl->redirectByClass("ilObjPortfolioGUI", "view");
1219 }

◆ getAdditional()

ilPortfolioPageGUI::getAdditional ( )

Get Additonal Information.

Returns
array Additonal Information

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

References $additional.

Referenced by renderProfile().

+ Here is the caller graph for this function:

◆ getCommentsHTMLExport()

ilPortfolioPageGUI::getCommentsHTMLExport ( )
Returns
string

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

1204 {
1205 $notes_gui = new ilNoteGUI(
1206 $this->portfolio_id,
1207 $this->getPageObject()->getId(),
1208 "pfpg"
1209 );
1210 $notes_gui->enablePublicNotes(true);
1211 $notes_gui->setRepositoryMode(false);
1212 $notes_gui->setExportMode();
1213 return $notes_gui->getNotesHTML();
1214 }
Notes GUI class.

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

+ Here is the call graph for this function:

◆ getCoursesOfUser()

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

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

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

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

Referenced by renderMyCourses().

+ 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

Reimplemented in ilPortfolioTemplatePageGUI.

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

885 {
886 return $ctrl->getFormActionByClass("ilobjportfoliogui", "preview");
887 }

References ilPageObjectGUI\$ctrl.

Referenced by renderMyCourses().

+ Here is the caller graph for this function:

◆ getExportMaterial()

ilPortfolioPageGUI::getExportMaterial ( )

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

References $export_material.

◆ getJsOnloadCode()

ilPortfolioPageGUI::getJsOnloadCode ( )

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

References $js_onload_code.

◆ getPageContentUserId()

ilPortfolioPageGUI::getPageContentUserId (   $a_user_id)
protected

Reimplemented in ilPortfolioTemplatePageGUI.

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

90 {
91 // user id from content-xml
92 return $a_user_id;
93 }

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

+ Here is the caller graph for this function:

◆ getPagePermaLink()

ilPortfolioPageGUI::getPagePermaLink ( )

Get page perma link.

Parameters

return

Reimplemented from ilPageObjectGUI.

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

1178 {
1180 $href = ilLink::_getStaticLink($pid, "prtf", true, "_" . $this->getId());
1181 return $href;
1182 }
static findPortfolioForPage($a_page_id)
Get portfolio id of page id.

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

Referenced by renderVerification().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getParentType()

ilPortfolioPageGUI::getParentType ( )

Get parent type.

Returns
string parent type

Reimplemented from ilPageObjectGUI.

Reimplemented in ilPortfolioTemplatePageGUI.

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

85 {
86 return "prtf";
87 }

Referenced by __construct().

+ Here is the caller graph for this function:

◆ getTabs()

ilPortfolioPageGUI::getTabs (   $a_activate = "")

Set all tabs.

Parameters

return

Reimplemented from ilPageObjectGUI.

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

return

Reimplemented from ilPageObjectGUI.

Reimplemented in ilPortfolioTemplatePageGUI.

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

1151 {
1152 global $DIC;
1153
1154 $ctrl = $DIC->ctrl();
1155
1156 $ctrl->setParameterByClass("ilobjportfoliogui", "user_page", $this->requested_ppage);
1157 return $ctrl->getLinkTargetByClass("ilobjportfoliogui", "preview");
1158 }

References ilPageObjectGUI\$ctrl, and $DIC.

◆ getViewPageText()

ilPortfolioPageGUI::getViewPageText ( )

Get view page link.

Parameters

return

Reimplemented from ilPageObjectGUI.

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

1167 {
1168 return $this->lng->txt("preview");
1169 }

◆ isMyCoursesActive()

ilPortfolioPageGUI::isMyCoursesActive ( )
protected

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

666 {
667 $prfa_set = new ilSetting("prfa");
668 return (bool) $prfa_set->get("mycrs", true);
669 }
ILIAS Setting Class.

Referenced by renderMyCourses(), and renderMyCoursesTeaser().

+ 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 1059 of file class.ilPortfolioPageGUI.php.

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

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

Referenced by postOutputProcessing().

+ 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 1019 of file class.ilPortfolioPageGUI.php.

1020 {
1021 $res = array();
1022
1023 $lur = new ilLOUserResults($a_course_obj_id, $a_user_id);
1024 foreach ($lur->getCourseResultsForUserPresentation() as $objective_id => $types) {
1025 // show either initial or qualified for objective
1026 if (isset($types[ilLOUserResults::TYPE_INITIAL])) {
1027 $initial_status = $types[ilLOUserResults::TYPE_INITIAL]["status"];
1028 }
1029
1030 // qualified test has priority
1031 if (isset($types[ilLOUserResults::TYPE_QUALIFIED])) {
1034 $result["initial"] = $types[ilLOUserResults::TYPE_INITIAL];
1035 } else {
1038 }
1039
1040 $result["initial_status"] = $initial_status;
1041
1042 $res[$objective_id] = $result;
1043 }
1044
1045 return $res;
1046 }
$result
foreach($_POST as $key=> $value) $res

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

Referenced by parseObjectives().

+ Here is the caller graph for this function:

◆ parseObjectives()

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

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

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

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

Referenced by getCoursesOfUser().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ postOutputProcessing()

ilPortfolioPageGUI::postOutputProcessing (   $a_output)

Finalizing output processing.

Maybe overwritten in derived classes, e.g. in wiki module.

Reimplemented from ilPageObjectGUI.

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

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 }
renderPageElement($a_type, $a_html)
makePlaceHoldersClickable($a_html)
Modify page content after xsl.
$type

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

+ 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 501 of file class.ilPortfolioPageGUI.php.

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

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

Referenced by showPage().

+ 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 542 of file class.ilPortfolioPageGUI.php.

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

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

+ Here is the call graph for this function:

◆ renderConsultationHours()

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

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

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

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

+ Here is the call graph for this function:

◆ renderConsultationHoursTeaser()

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

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

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

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

Referenced by renderConsultationHours().

+ 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 686 of file class.ilPortfolioPageGUI.php.

687 {
688 $ilAccess = $this->access;
690 $ilCtrl = $this->ctrl;
691
692 if ($this->getOutputMode() == "preview") {
693 return $this->renderMyCoursesTeaser($a_user_id, $a_default_sorting);
694 }
695
696 if (!$this->isMyCoursesActive()) {
697 return;
698 }
699
700 $img_path = null;
702
703 $user_id = $this->getPageContentUserId($a_user_id);
704
705 // sorting pref
706 if ($_POST["srt"] &&
707 in_array($_POST["srt"], array("alpha", "loc"))) {
708 $ilUser->writePref("prtf_mcrs_sort", $_POST["srt"]);
709 }
710 $sorting = $ilUser->getPref("prtf_mcrs_sort");
711 if (!$sorting) {
712 $sorting = $a_default_sorting;
713 }
714
715 $data = $this->getCoursesOfUser($user_id, ($sorting == "loc"));
716 if (sizeof($data)) {
717 if ($sorting != "loc") {
718 $data = ilUtil::sortArray($data, "title", "ASC");
719 } else {
720 $data = ilUtil::sortArray($data, "path_sort", "ASC");
721 }
722
723 $tpl = new ilTemplate("tpl.pc_my_courses.html", true, true, "Modules/Portfolio");
724 $tpl->setVariable("TITLE", $this->lng->txt("prtf_page_element_my_courses_title"));
725 $tpl->setVariable("INFO", $this->lng->txt("prtf_page_element_my_courses_info")); // #14464
726
727 $this->lng->loadLanguageModule("trac");
728 $this->lng->loadLanguageModule("crs");
729
730 // sorting
731 if ($this->getOutputMode() != "print") {
732 $options = array(
733 "alpha" => $this->lng->txt("cont_mycourses_sortorder_alphabetical"),
734 "loc" => $this->lng->txt("cont_mycourses_sortorder_location")
735 );
736 $tpl->setVariable("SORT_SELECT", ilUtil::formSelect(
737 $sorting,
738 "srt",
739 $options,
740 false,
741 true,
742 0,
743 "",
744 array("onchange" => "form.submit()")
745 ));
746 $tpl->setVariable("SORT_FORM", $this->getCourseSortAction($ilCtrl));
747 }
748
749 $old_path = null;
750
751 foreach ($data as $course) {
752 if ($sorting == "loc") {
753 if ($course["path"] != $old_path) {
754 $tpl->setCurrentBlock("path_bl");
755 $tpl->setVariable("PATH", $course["path"]);
756 $tpl->parseCurrentBlock();
757
758 $old_path = $course["path"];
759 }
760 }
761
762 if (isset($course["lp_status"])) {
763 $lp_icon_rendered = $lp_icons->renderIconForStatus($course["lp_status"]);
764
765 $tpl->setCurrentBlock("lp_bl");
766 $tpl->setVariable("LP_ICON", $lp_icon_rendered);
767 $tpl->parseCurrentBlock();
768 }
769
770 $do_links = false;
771 if ($ilUser->getId() != ANONYMOUS_USER_ID) {
772 $do_links = $ilAccess->checkAccessOfUser($ilUser->getId(), "read", "", $course["ref_id"], "crs") ||
773 ($ilAccess->checkAccessOfUser($ilUser->getId(), "visible", "", $course["ref_id"], "crs") &&
774 $ilAccess->checkAccessOfUser($ilUser->getId(), "join", "", $course["ref_id"], "crs"));
775 }
776
777 if (isset($course["objectives"])) {
778 $loc_settings = ilLOSettings::getInstanceByObjId($course["obj_id"]);
779 $has_initial_test = (bool) $loc_settings->getInitialTest();
780
781 foreach ($course["objectives"] as $objtv) {
782 if ($do_links) {
783 $params = array("oobj" => $objtv["id"]);
784 $url = ilLink::_getLink($course["ref_id"], "crs", $params);
785
786 // #15510
787 $url .= "#objtv_acc_" . $objtv["id"];
788
789 if ($this->getOutputMode() != "print") {
790 $tpl->touchBlock("objective_dnone");
791 }
792
793 $tpl->setCurrentBlock("objective_link_bl");
794
795 if (trim($objtv["desc"])) {
796 $desc = nl2br($objtv["desc"]);
797 $tt_id = "objtvtt_" . $objtv["id"] . "_" . ((int) self::$initialized);
798
799 ilTooltipGUI::addTooltip($tt_id, $desc, "", "bottom center", "top center", false);
800
801 $tpl->setVariable("OBJECTIVE_LINK_ID", $tt_id);
802 }
803
804 $tpl->setVariable("OBJECTIVE_LINK_URL", $url);
805 $tpl->setVariable("OBJECTIVE_LINK_TITLE", $objtv["title"]);
806 $tpl->parseCurrentBlock();
807 } else {
808 $tpl->setCurrentBlock("objective_nolink_bl");
809 $tpl->setVariable("OBJECTIVE_NOLINK_TITLE", $objtv["title"]);
810 $tpl->parseCurrentBlock();
811 }
812
813 $objtv_icon = ilUtil::getTypeIconPath("lobj", $objtv["id"]);
814 if ($img_path) {
815 $objtv_icon = $img_path . basename($objtv_icon);
816 }
817
818 $tpl->setCurrentBlock("objective_bl");
819 $tpl->setVariable("OBJTV_ICON_URL", $objtv_icon);
820 $tpl->setVariable("OBJTV_ICON_ALT", $this->lng->txt("crs_objectives"));
821
822 if ($objtv["type"]) {
823 $tpl->setVariable(
824 "LP_OBJTV_PROGRESS",
825 ilContainerObjectiveGUI::buildObjectiveProgressBar($has_initial_test, $objtv["id"], $objtv, true, false, (int) self::$initialized)
826 );
827 }
828
829 $tpl->parseCurrentBlock();
830 }
831
832 $tpl->setCurrentBlock("objectives_bl");
833 $tpl->setVariable("OBJTV_LIST_CRS_ID", $course["obj_id"]);
834 $tpl->parseCurrentBlock();
835 }
836
837 // always check against current user
838 if ($do_links) {
839 $tpl->setCurrentBlock("course_link_bl");
840 $tpl->setVariable("COURSE_LINK_TITLE", $course["title"]);
841 $tpl->setVariable("COURSE_LINK_URL", ilLink::_getLink($course["ref_id"]));
842 $tpl->parseCurrentBlock();
843 } else {
844 $tpl->setCurrentBlock("course_nolink_bl");
845 $tpl->setVariable("COURSE_NOLINK_TITLE", $course["title"]);
846 $tpl->parseCurrentBlock();
847 }
848
849 $crs_icon = ilUtil::getTypeIconPath("crs", $course["obj_id"]);
850 if ($img_path) {
851 $crs_icon = $img_path . basename($crs_icon);
852 }
853
854 $tpl->setCurrentBlock("course_bl");
855
856 if (isset($course["objectives"])) {
857 $tpl->setVariable("TOGGLE_CLASS", "ilPCMyCoursesToggle");
858 } else {
859 $tpl->setVariable("NO_TOGGLE", ' style="visibility:hidden;"');
860 }
861
862 $tpl->setVariable("CRS_ICON_URL", $crs_icon);
863 $tpl->setVariable("CRS_ICON_ALT", $this->lng->txt("obj_crs"));
864 $tpl->parseCurrentBlock();
865 }
866
867 // #15508
868 if (!self::$initialized) {
869 $GLOBALS["tpl"]->addJavaScript("Modules/Portfolio/js/ilPortfolio.js");
870 $GLOBALS["tpl"]->addOnLoadCode("ilPortfolio.init()");
871 }
872 self::$initialized++;
873
874 return $tpl->get();
875 }
876 }
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
Definition: PEAR.php:64
$_POST["username"]
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.
static getInstanceByObjId($a_obj_id)
get singleton instance
static getInstance(int $variant=ilLPStatusIcons::ICON_VARIANT_DEFAULT, ?\ILIAS\UI\Renderer $renderer=null, ?\ILIAS\UI\Factory $factory=null)
getCoursesOfUser($a_user_id, $a_add_path=false)
getCourseSortAction($ctrl)
Get course sort action.
renderMyCoursesTeaser($a_user_id, $a_default_sorting)
special template class to simplify handling of ITX/PEAR
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.
static sortArray( $array, $a_array_sortby, $a_array_sortorder=0, $a_numeric=false, $a_keep_keys=false)
sortArray
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.
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...
const ANONYMOUS_USER_ID
Definition: constants.php:25
$data
Definition: storeScorm.php:23

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

+ Here is the call graph for this function:

◆ renderMyCoursesTeaser()

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

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

672 {
673 // not used
674 // $user_id = $this->getPageContentUserId($a_user_id);
675
676 $title = $this->isMyCoursesActive()
677 ? "my_courses"
678 : "my_courses_inactive";
679
680 return $this->renderTeaser(
681 $title,
682 $this->lng->txt("prtf_page_element_my_courses_title")
683 );
684 }

References isMyCoursesActive(), and renderTeaser().

Referenced by renderMyCourses().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ renderPageElement()

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

Reimplemented in ilPortfolioTemplatePageGUI.

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

315 {
316 return trim($a_html);
317 }

Referenced by postOutputProcessing().

+ 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.

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

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

+ Here is the call graph for this function:

◆ renderSkills()

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

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

564 {
565 if ($this->getOutputMode() == "preview") {
566 return $this->renderSkillsTeaser($a_user_id, $a_skills_id);
567 }
568
569 $user_id = $this->getPageContentUserId($a_user_id);
570
571 $gui = new ilPersonalSkillsGUI();
572 if ($this->getOutputMode() == "offline") {
573 $gui->setOfflineMode("./files/");
574 }
575 $html = $gui->getSkillHTML($a_skills_id, $user_id);
576
577 return $html;
578 }
Personal skills GUI class.
renderSkillsTeaser($a_user_id, $a_skills_id)

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

+ Here is the call graph for this function:

◆ renderSkillsTeaser()

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

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

581 {
582 // not used
583 // $user_id = $this->getPageContentUserId($a_user_id);
584
585 return $this->renderTeaser("skills", $this->lng->txt("skills") . ' "' .
586 ilSkillTreeNode::_lookupTitle($a_skills_id) . '"');
587 }
static _lookupTitle($a_obj_id, $a_tref_id=0)
Lookup Title.

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

Referenced by renderSkills().

+ 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.

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 }

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

+ 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 380 of file class.ilPortfolioPageGUI.php.

381 {
382 $objDefinition = $this->obj_definition;
383
384 $outputMode = $this->getOutputMode();
385
386 // not used
387 // $user_id = $this->getPageContentUserId($a_user_id);
388 if ($a_type === 'crta' && $outputMode === 'offline') {
389 $fileService = new ilPortfolioCertificateFileService();
390
391 $certificatePdfFile = $fileService->createCertificateFilePath($a_user_id, $a_id);
392 $this->export_material["files"][] = $certificatePdfFile;
393
394 $url = 'files/' . basename($certificatePdfFile);
395
396 $userCertificateRepository = new ilUserCertificateRepository();
397
398 return $this->createPersistentCertificateUrl($a_id, $userCertificateRepository, $url);
399 } elseif ($a_type === 'crta' && $outputMode === 'print') {
400 $userCertificateRepository = new ilUserCertificateRepository();
401 $url = $this->getPagePermaLink();
402
403 return $this->createPersistentCertificateUrl($a_id, $userCertificateRepository, $url);
404 } elseif ($a_type === 'crta') {
405 $this->ctrl->setParameter($this, "dlid", $a_id);
406 $url = $this->ctrl->getLinkTarget($this, "dl" . $a_type);
407 $this->ctrl->setParameter($this, "dlid", "");
408
409 $userCertificateRepository = new ilUserCertificateRepository();
410
411 return $this->createPersistentCertificateUrl($a_id, $userCertificateRepository, $url);
412 }
413
414 if (!ilObject::_exists($a_id)) {
415 return $this->lng->txt('deleted');
416 }
417
418 $class = "ilObj" . $objDefinition->getClassName($a_type) . "GUI";
419 $verification = new $class($a_id, ilObject2GUI::WORKSPACE_OBJECT_ID);
420
421 if ($outputMode == "print") {
422 $url = $this->getPagePermaLink();
423 } elseif ($outputMode != "offline") {
424 // direct download link
425 $this->ctrl->setParameter($this, "dlid", $a_id);
426 $url = $this->ctrl->getLinkTarget($this, "dl" . $a_type);
427 $this->ctrl->setParameter($this, "dlid", "");
428 } else {
429 $file = $verification->object->getFilePath();
430 $url = "files/" . basename($file);
431
432 $this->export_material["files"][] = $file;
433 }
434
435 return $verification->render(true, $url);
436 }
static _exists($a_id, $a_reference=false, $a_type=null)
checks if an object exists in object_data@access public
getPagePermaLink()
Get page perma link.
createPersistentCertificateUrl($a_id, $userCertificateRepository, $url)

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

+ 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.

212 {
213 $this->additional = $a_additional;
214 }

◆ 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

Reimplemented from ilPageObjectGUI.

Reimplemented in ilPortfolioTemplatePageGUI.

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

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 }
setTemplateOutput($a_output=true)
renderBlog($a_user_id, $a_blog_id, array $a_posting_ids=null)

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

+ 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

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