| ILIAS
    Release_4_4_x_branch Revision 61816
    | 
Portfolio view gui class. More...
 Inheritance diagram for ilObjPortfolioGUI:
 Inheritance diagram for ilObjPortfolioGUI: Collaboration diagram for ilObjPortfolioGUI:
 Collaboration diagram for ilObjPortfolioGUI:| Public Member Functions | |
| __construct ($a_id=0) | |
| getType () | |
| Functions that must be overwritten. | |
| executeCommand () | |
| execute command | |
| save () | |
| updateCustom (ilPropertyFormGUI $a_form) | |
| Insert custom update form values into object. | |
| getPageGUIClassName () | |
| initBlogForm () | |
| Init blog page form. | |
| saveBlog () | |
| Create new portfolio blog page. | |
| getExerciseInfo ($a_assignment_id, $a_add_submit=false) | |
| downloadExcAssFile () | |
| downloadExcSubFile () | |
| _goto ($a_target) | |
|  Public Member Functions inherited from ilObjPortfolioBaseGUI | |
| __construct ($a_id=0, $a_id_type=self::REPOSITORY_NODE_ID, $a_parent_node_id=0) | |
| Constructor. | |
| setAdditional ($a_additional) | |
| Set Additonal Information (used in public profile?) | |
| getAdditional () | |
| Get Additonal Information. | |
| setPermaLink ($a_link) | |
| Set custom perma link (used in public profile?) | |
| view () | |
| Show list of portfolio pages. | |
| initPageForm ($a_mode="create") | |
| Init portfolio page form. | |
| savePage () | |
| Create new portfolio page. | |
| savePortfolioPagesOrdering () | |
| Save ordering of portfolio pages. | |
| confirmPortfolioPageDeletion () | |
| Confirm portfolio deletion. | |
| deletePortfolioPages () | |
| Delete portfolio pages. | |
| preview ($a_return=false, $a_content=false, $a_show_notes=true) | |
| Show user page. | |
| export () | |
| copyPageForm ($a_form=null) | |
| Select target portfolio for page(s) copy. | |
| copyPage () | |
| initCopyPageForm () | |
| setContentStyleSheet ($a_tpl=null) | |
| editStyleProperties () | |
| initStylePropertiesForm () | |
| createStyle () | |
| editStyle () | |
| deleteStyle () | |
| saveStyleSettings () | |
|  Public Member Functions inherited from ilObject2GUI | |
| delete () | |
| Display delete confirmation form (repository/workspace switch) | |
| confirmedDelete () | |
| Delete objects (repository/workspace switch) | |
| getHTML () | |
| withReferences () | |
| Final/Private declaration of unchanged parent methods. | |
| setCreationMode ($a_mode=true) | |
| if true, a creation screen is displayed the current $_GET[ref_id] don't belong to the current class! the mode is determined in ilrepositorygui | |
| getCreationMode () | |
| get creation mode | |
| isVisible () | |
| trash () | |
| undelete () | |
| cancelDelete () | |
| removeFromSystem () | |
| cloneAll () | |
| create () | |
| Deleted in ilObject. | |
| edit () | |
| update () | |
| cancel () | |
| importFile () | |
| Import. | |
|  Public Member Functions inherited from ilObjectGUI | |
| ilObjectGUI ($a_data, $a_id=0, $a_call_by_reference=true, $a_prepare_output=true) | |
| Constructor  public. | |
| getAdminTabs (&$tabs_gui) | |
| administration tabs show only permissions and trash folder | |
| confirmedDeleteObject () | |
| confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled | |
| cancelDeleteObject () | |
| cancel deletion of object | |
| cancelObject ($in_rep=false) | |
| cancel action and go back to previous page  public | |
| createObject () | |
| create new object form | |
| cancelCreation () | |
| cancel create action and go back to repository parent | |
| saveObject () | |
| save object | |
| editObject () | |
| edit object | |
| updateObject () | |
| updates object entry in object_data | |
| getFormAction ($a_cmd, $a_formaction="") | |
| get form action for command (command is method name without "Object", e.g. | |
| isVisible ($a_ref_id, $a_type) | |
| viewObject () | |
| list childs of current object | |
| deleteObject ($a_error=false) | |
| Display deletion confirmation screen. | |
| cloneAllObject () | |
| Clone single (not container object) Method is overwritten in ilContainerGUI. | |
| Protected Member Functions | |
| checkPermissionBool ($a_perm, $a_cmd="", $a_type="", $a_node_id=null) | |
| Check permission. | |
| setTabs () | |
| create tabs (repository/workspace switch) | |
| addLocator () | |
| initCreationForms ($a_new_type) | |
| Init creation froms. | |
| initCreateForm ($a_new_type) | |
| Init object creation form. | |
| afterSave (ilObject $a_new_object) | |
| Post (successful) object creation hook. | |
| toRepository () | |
| initEditForm () | |
| Init object edit form. | |
| getEditFormCustomValues (array &$a_values) | |
| Add values to custom edit fields. | |
| getPageInstance ($a_page_id=null, $a_portfolio_id=null) | |
| Get portfolio template page instance. | |
| getPageGUIInstance ($a_page_id) | |
| Get portfolio template page gui instance. | |
| initCopyPageFormOptions (ilFormPropertyGUI $a_tgt) | |
| finalize () | |
| Finalize and submit portfolio to exercise. | |
| createPortfolioFromTemplate (ilPropertyFormGUI $a_form=null) | |
| initCreatePortfolioFromTemplateForm ($a_prtt_id, $a_title) | |
| createPortfolioFromTemplateProcess ($a_process_form=true) | |
|  Protected Member Functions inherited from ilObjPortfolioBaseGUI | |
| addLocatorItems () | |
| Functions to be overwritten. | |
| determinePageCall () | |
| handlePageCall ($a_cmd) | |
| setSettingsSubTabs ($a_active) | |
| initEditCustomForm (ilPropertyFormGUI $a_form) | |
| Add custom fields to update form. | |
| addPage () | |
| Show portfolio page creation form. | |
| addBlog () | |
| Show portfolio blog page creation form. | |
|  Protected Member Functions inherited from ilObject2GUI | |
| afterConstructor () | |
| Do anything that should be done after constructor in here. | |
| assignObject () | |
| create object instance as internal property (repository/workspace switch) | |
| getAccessHandler () | |
| Get access handler. | |
| setLocator () | |
| set Locator | |
| deleteConfirmation () | |
| Display delete confirmation form (workspace specific) | |
| deleteConfirmedObjects () | |
| Delete objects (workspace specific) | |
| prepareOutput () | |
| prepare output | |
| setTitleAndDescription () | |
| called by prepare output | |
| showUpperIcon () | |
| omitLocator ($a_omit=true) | |
| getTargetFrame ($a_cmd, $a_target_frame="") | |
| get target frame for command (command is method name without "Object", e.g. | |
| setTargetFrame ($a_cmd, $a_target_frame) | |
| set specific target frame for command | |
| getCenterColumnHTML () | |
| Get center column. | |
| getRightColumnHTML () | |
| Display right column. | |
| setColumnSettings ($column_gui) | |
| May be overwritten in subclasses. | |
| checkPermission ($a_perm, $a_cmd="") | |
| showPossibleSubObjects () | |
| show possible subobjects (pulldown menu) | |
| redirectToRefId () | |
| fillCloneTemplate ($a_tpl_varname, $a_type) | |
| Fill object clone template This method can be called from any object GUI class that wants to offer object cloning. | |
| fillCloneSearchTemplate ($a_tpl_varname, $a_type) | |
| searchCloneSource () | |
| buildCloneSelect ($existing_objs) | |
| addAdminLocatorItems () | |
| getReturnLocation () | |
| Deprecated functions. | |
| setReturnLocation () | |
| showActions () | |
| getTitlesByRefId () | |
| getTabs () | |
| __showButton () | |
| hitsperpageObject () | |
| __initTableGUI () | |
| __setTableGUIBasicData () | |
| putObjectInTree (ilObject $a_obj, $a_parent_node_id=null) | |
| Add object to tree at given position. | |
| initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
| Add header action menu. | |
| redrawHeaderAction () | |
| Updating icons after ajax call. | |
| getPermanentLinkWidget ($a_append=null, $a_center=false) | |
| handleAutoRating (ilObject $a_new_obj) | |
| Activate rating automatically if parent container setting. | |
|  Protected Member Functions inherited from ilObjectGUI | |
| insertHeaderAction ($a_list_gui) | |
| Insert header action into main template. | |
| addHeaderAction () | |
| Add header action menu. | |
| redrawHeaderActionObject () | |
| Ajax call: redraw action header only. | |
| showMountWebfolderIcon () | |
| setAdminTabs () | |
| set admin tabs  public | |
| addAdminLocatorItems ($a_do_not_add_object=false) | |
| should be overwritten to add object specific items (repository items are preloaded) | |
| getCreationFormsHTML (array $a_forms) | |
| Get HTML for creation forms (accordion) | |
| initDidacticTemplate (ilPropertyFormGUI $form) | |
| Show didactic template types. | |
| addDidacticTemplateOptions (array &$a_options) | |
| Add custom templates. | |
| getDidacticTemplateVar ($a_type) | |
| Get didactic template setting from creation screen. | |
| getEditFormValues () | |
| Get values for edit form. | |
| afterUpdate () | |
| Post (successful) object update hook. | |
| initImportForm ($a_new_type) | |
| Init object import form. | |
| importFileObject ($parent_id=null) | |
| Import. | |
| afterImport (ilObject $a_new_object) | |
| Post (successful) object import hook. | |
| setFormAction ($a_cmd, $a_formaction) | |
| set specific form action for command | |
| getReturnLocation ($a_cmd, $a_location="") | |
| get return location for command (command is method name without "Object", e.g. | |
| setReturnLocation ($a_cmd, $a_location) | |
| set specific return location for command | |
| getTemplateFile ($a_cmd, $a_type="") | |
| get a template blockfile format: tpl. | |
| getTitlesByRefId ($a_ref_ids) | |
| get Titles of objects this method is used for error messages in methods cut/copy/paste | |
| getTabs (&$tabs_gui) | |
| get tabs abstract method. | |
| __showButton ($a_cmd, $a_text, $a_target= '') | |
| __setTableGUIBasicData (&$tbl, &$result_set, $a_from="") | |
| standard implementation for tables use 'from' variable use different initial setting of table | |
| redirectToRefId ($a_ref_id, $a_cmd="") | |
| redirects to (repository) view per ref id usually to a container and usually used at the end of a save/import method where the object gui type (of the new object) doesn't match with the type of the current $_GET["ref_id"] value | |
| checkPermission ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
| Check permission and redirect on error. | |
| enableDragDropFileUpload () | |
| Enables the file upload into this object by dropping files. | |
| Protected Attributes | |
| $ws_access | |
|  Protected Attributes inherited from ilObjPortfolioBaseGUI | |
| $user_id | |
| $additional = array() | |
| $perma_link | |
| $page_id | |
| $page_mode | |
|  Protected Attributes inherited from ilObject2GUI | |
| $object_id | |
| $node_id | |
| $creation_forms = array() | |
| $id_type = array() | |
| $parent_id | |
| $access_handler | |
| Additional Inherited Members | |
|  Static Public Member Functions inherited from ilObjPortfolioBaseGUI | |
| static | renderFullscreenHeader ($a_portfolio, $a_tpl, $a_user_id, $a_export=false) | 
| Render banner, user name. | |
|  Data Fields inherited from ilObject2GUI | |
| $tree | |
| const | OBJECT_ID = 0 | 
| const | REPOSITORY_NODE_ID = 1 | 
| const | WORKSPACE_NODE_ID = 2 | 
| const | REPOSITORY_OBJECT_ID = 3 | 
| const | WORKSPACE_OBJECT_ID = 4 | 
| const | PORTFOLIO_OBJECT_ID = 5 | 
Portfolio view gui class.
ilObjPortfolioGUI: ilPortfolioPageGUI, ilPageObjectGUI ilObjPortfolioGUI: ilWorkspaceAccessGUI, ilNoteGUI, ilObjStyleSheetGUI
Definition at line 17 of file class.ilObjPortfolioGUI.php.
| ilObjPortfolioGUI::__construct | ( | $a_id = 0 | ) | 
Definition at line 21 of file class.ilObjPortfolioGUI.php.
| ilObjPortfolioGUI::_goto | ( | $a_target | ) | 
| 
 | protected | 
Definition at line 173 of file class.ilObjPortfolioGUI.php.
References ilObjPortfolioBaseGUI\addLocatorItems().
Referenced by executeCommand().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Post (successful) object creation hook.
| ilObject | $a_new_object | 
Reimplemented from ilObjectGUI.
Definition at line 348 of file class.ilObjPortfolioGUI.php.
References $_POST, ilObject\getId(), getPageInstance(), ilUtil\sendSuccess(), ilPortfolioPage\TYPE_BLOG, and ilPortfolioPage\TYPE_PAGE.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Check permission.
| string | $a_perm | |
| string | $a_cmd | |
| string | $a_type | |
| int | $a_node_id | 
Reimplemented from ilObject2GUI.
Definition at line 31 of file class.ilObjPortfolioGUI.php.
References ilObjectGUI\$obj_id.
Referenced by executeCommand(), saveBlog(), and setTabs().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Definition at line 790 of file class.ilObjPortfolioGUI.php.
References $_REQUEST, createPortfolioFromTemplateProcess(), ilObjPortfolioTemplate\getAvailablePortfolioTemplates(), initCreatePortfolioFromTemplateForm(), and toRepository().
Referenced by createPortfolioFromTemplateProcess(), and save().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Definition at line 983 of file class.ilObjPortfolioGUI.php.
References $_REQUEST, $ilSetting, $ilUser, $target_id, createPortfolioFromTemplate(), ilPortfolioPage\getAllPages(), ilObjPortfolioTemplate\getAvailablePortfolioTemplates(), initCreatePortfolioFromTemplateForm(), ilUtil\sendSuccess(), toRepository(), ilPortfolioTemplatePage\TYPE_BLOG_TEMPLATE, and ilExAssignment\TYPE_PORTFOLIO.
Referenced by createPortfolioFromTemplate().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjPortfolioGUI::downloadExcAssFile | ( | ) | 
Definition at line 721 of file class.ilObjPortfolioGUI.php.
References $_GET, $file, ilUtil\deliverFile(), and ilExAssignment\getFiles().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjPortfolioGUI::downloadExcSubFile | ( | ) | 
Definition at line 742 of file class.ilObjPortfolioGUI.php.
References $_GET, ilObjPortfolioBaseGUI\$user_id, ilObjUser\_lookupName(), ilObject\_lookupTitle(), ilUtil\deliverFile(), and ilExAssignment\getDeliveredFiles().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjPortfolioGUI::executeCommand | ( | ) | 
execute command
Reimplemented from ilObject2GUI.
Definition at line 44 of file class.ilObjPortfolioGUI.php.
References $_GET, ilObject2GUI\$access_handler, $cmd, $ret, addLocator(), checkPermissionBool(), ilObjPortfolioBaseGUI\determinePageCall(), ilPermanentLinkGUI\getHTML(), ilUtil\getImagePath(), ilObjPortfolioBaseGUI\handlePageCall(), ilObjectGUI\omitLocator(), ilObjPortfolioBaseGUI\preview(), ilFileInputGUI\setPersonalWorkspaceQuotaCheck(), and setTabs().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Finalize and submit portfolio to exercise.
Definition at line 769 of file class.ilObjPortfolioGUI.php.
References $_GET, $_REQUEST, ilObject\_getAllReferences(), and ilUtil\sendSuccess().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Add values to custom edit fields.
| array | $a_values | 
Reimplemented from ilObjPortfolioBaseGUI.
Definition at line 431 of file class.ilObjPortfolioGUI.php.
| ilObjPortfolioGUI::getExerciseInfo | ( | $a_assignment_id, | |
| $a_add_submit = false | |||
| ) | 
Definition at line 610 of file class.ilObjPortfolioGUI.php.
References $file, ilObject\_getAllReferences(), ilLink\_getStaticLink(), ilObject\_lookupTitle(), ilDatePresentation\formatDate(), ilExAssignment\getDeliveredFiles(), ilExAssignment\getFiles(), IL_CAL_DATETIME, ilDatePresentation\setUseRelativeDates(), and ilDatePresentation\useRelativeDates().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjPortfolioGUI::getPageGUIClassName | ( | ) | 
Reimplemented from ilObjPortfolioBaseGUI.
Definition at line 495 of file class.ilObjPortfolioGUI.php.
| 
 | protected | 
Get portfolio template page gui instance.
| int | $a_page_id | 
Reimplemented from ilObjPortfolioBaseGUI.
Definition at line 482 of file class.ilObjPortfolioGUI.php.
References ilObjPortfolioBaseGUI\getAdditional(), and ilPortfolioPageGUI\setAdditional().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Get portfolio template page instance.
| int | $a_page_id | |
| int | $a_portfolio_id | 
Reimplemented from ilObjPortfolioBaseGUI.
Definition at line 463 of file class.ilObjPortfolioGUI.php.
Referenced by afterSave(), and saveBlog().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjPortfolioGUI::getType | ( | ) | 
Functions that must be overwritten.
Reimplemented from ilObject2GUI.
Definition at line 26 of file class.ilObjPortfolioGUI.php.
Referenced by initCreateForm().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjPortfolioGUI::initBlogForm | ( | ) | 
Init blog page form.
| string | $a_mode | 
Reimplemented from ilObjPortfolioBaseGUI.
Definition at line 537 of file class.ilObjPortfolioGUI.php.
References $options, ilObject2GUI\$tree, ilUtil\sendInfo(), and ilFormPropertyGUI\setRequired().
Referenced by saveBlog().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Reimplemented from ilObjPortfolioBaseGUI.
Definition at line 500 of file class.ilObjPortfolioGUI.php.
References $options, ilObjPortfolio\getPortfoliosOfUser(), ilTextInputGUI\setMaxLength(), and ilFormPropertyGUI\setRequired().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Init object creation form.
| string | $a_new_type | 
Reimplemented from ilObjectGUI.
Definition at line 195 of file class.ilObjPortfolioGUI.php.
References $_REQUEST, $ilSetting, $options, ilObject2GUI\$tree, ilPageLayout\activeLayouts(), ilObjPortfolioTemplate\getAvailablePortfolioTemplates(), getType(), ilPageLayout\MODULE_PORTFOLIO, ilUtil\sendInfo(), ilTextInputGUI\setMaxLength(), ilFormPropertyGUI\setRequired(), ilTextInputGUI\setSize(), ilRadioGroupInputGUI\setValue(), and ilObject\TITLE_LENGTH.
Referenced by initCreationForms(), and save().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Definition at line 820 of file class.ilObjPortfolioGUI.php.
References $_REQUEST, $ilSetting, $ilUser, ilObject2GUI\$tree, ilDiskQuotaActivationChecker\_isPersonalWorkspaceActive(), ilSkillTreeNode\_lookupTitle(), ilObject\_lookupTitle(), ilPortfolioPage\getAllPages(), ilPersonalSkill\getSelectedUserSkills(), ilDiskQuotaHandler\isUploadPossible(), ilUtil\sendFailure(), ilFormPropertyGUI\setInfo(), ilFormPropertyGUI\setRequired(), ilNonEditableValueGUI\setValue(), ilPortfolioTemplatePage\TYPE_BLOG_TEMPLATE, and ilPortfolioPage\TYPE_PAGE.
Referenced by createPortfolioFromTemplate(), and createPortfolioFromTemplateProcess().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Init creation froms.
this will create the default creation forms: new, import, clone
| string | $a_new_type | 
Reimplemented from ilObject2GUI.
Definition at line 190 of file class.ilObjPortfolioGUI.php.
References initCreateForm().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Init object edit form.
Reimplemented from ilObjectGUI.
Definition at line 395 of file class.ilObjPortfolioGUI.php.
References ilObjPortfolioBaseGUI\initEditCustomForm(), ilCheckboxInputGUI\setChecked(), ilTextInputGUI\setSize(), and ilObject\TITLE_LENGTH.
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjPortfolioGUI::save | ( | ) | 
Reimplemented from ilObject2GUI.
Definition at line 332 of file class.ilObjPortfolioGUI.php.
References $_REQUEST, createPortfolioFromTemplate(), and initCreateForm().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjPortfolioGUI::saveBlog | ( | ) | 
Create new portfolio blog page.
Reimplemented from ilObjPortfolioBaseGUI.
Definition at line 583 of file class.ilObjPortfolioGUI.php.
References checkPermissionBool(), getPageInstance(), initBlogForm(), ilUtil\sendSuccess(), and ilPortfolioPage\TYPE_BLOG.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
create tabs (repository/workspace switch)
this had to be moved here because of the context-specific permission tab
Reimplemented from ilObject2GUI.
Definition at line 146 of file class.ilObjPortfolioGUI.php.
References checkPermissionBool().
Referenced by executeCommand().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Definition at line 379 of file class.ilObjPortfolioGUI.php.
References $_REQUEST, ilLink\_getLink(), and ilUtil\redirect().
Referenced by createPortfolioFromTemplate(), and createPortfolioFromTemplateProcess().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjPortfolioGUI::updateCustom | ( | ilPropertyFormGUI | $a_form | ) | 
Insert custom update form values into object.
| ilPropertyFormGUI | $a_form | 
Reimplemented from ilObjPortfolioBaseGUI.
Definition at line 438 of file class.ilObjPortfolioGUI.php.
References ilPropertyFormGUI\getInput(), and ilObjPortfolio\setUserDefault().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Definition at line 19 of file class.ilObjPortfolioGUI.php.