48    public function __construct($a_id = 0, $a_id_type = self::REPOSITORY_NODE_ID, $a_parent_node_id = 0)
 
   52        $this->
user = $DIC->user();
 
   53        $this->locator = 
$DIC[
"ilLocator"];
 
   54        $this->toolbar = 
$DIC->toolbar();
 
   56        $this->tree = 
$DIC->repositoryTree();
 
   57        $this->
help = $DIC[
"ilHelp"];
 
   58        $this->main_menu = 
$DIC[
"ilMainMenu"];
 
   59        $this->tpl = 
$DIC[
"tpl"];
 
   61        $this->
ui = $DIC->ui();
 
   63        $this->
ui = $DIC->ui();
 
   67        $this->user_id = 
$ilUser->getId();
 
   69        $this->lng->loadLanguageModule(
"prtf");
 
   70        $this->lng->loadLanguageModule(
"user");
 
   71        $this->lng->loadLanguageModule(
"obj");
 
   73        $this->requested_ppage = (int) $_REQUEST[
"ppage"];
 
   74        $this->requested_user_page = (int) $_REQUEST[
"user_page"];
 
   77        $back = str_replace(
"&", 
":::", $_REQUEST[
"back_url"]);
 
   79            "/[^a-zA-Z0-9_\.\?=:\s]/",
 
   83        $this->requested_back_url = str_replace(
":::", 
"&", $back);
 
   85        $this->ctrl->setParameterbyClass(
"ilobjportfoliogui", 
"back_url", rawurlencode($this->requested_back_url));
 
   94                strip_tags($this->object->getTitle()),
 
   95                $this->ctrl->getLinkTarget($this, 
"view")
 
  101            $title = $page->getTitle();
 
  108                $this->ctrl->getLinkTargetByClass($this->getPageGUIClassName(), 
"edit")
 
  116        if ($this->requested_ppage > 0) {
 
  118                $this->ctrl->redirect($this, 
"view");
 
  122            $this->page_mode = 
"edit";
 
  123            $this->ctrl->setParameter($this, 
"ppage", $this->page_id);
 
  129            $this->page_mode = 
"preview";
 
  130            $this->ctrl->setParameter($this, 
"user_page", $this->page_id);
 
  137        if (!$this->page_id) {
 
  138            $this->ctrl->redirect($this, 
"view");
 
  143        $this->tabs_gui->clearTargets();
 
  144        $this->tabs_gui->setBackTarget(
 
  145            $this->lng->txt(
"back"),
 
  146            $this->ctrl->getLinkTarget($this, 
"view")
 
  151            $this->object->getStyleSheetId(),
 
  155        $ret = $this->ctrl->forwardCommand($page_gui);
 
  159            if ($this->page_mode == 
"preview") {
 
  163                    $this->
preview(
false, 
$ret, ($a_cmd != 
"previewEmbedded"));
 
  171                if (is_string(
$ret)) {
 
  172                    $this->tpl->setContent(
$ret);
 
  185        $this->additional = $a_additional;
 
  206        $this->perma_link = array(
"obj_id" => $a_obj_id, 
"type" => $a_type);
 
  217        $this->lng->loadLanguageModule($this->
getType());
 
  220        $this->tabs_gui->addSubTab(
 
  222            $this->lng->txt($this->getType() . 
"_properties"),
 
  223            $this->ctrl->getLinkTarget($this, 
'edit')
 
  226        $this->tabs_gui->addSubTab(
 
  228            $this->lng->txt(
"obj_sty"),
 
  229            $this->ctrl->getLinkTarget($this, 
'editStyleProperties')
 
  232        $this->tabs_gui->activateSubTab($a_active);
 
  245        if ($prfa_set->get(
"banner")) {
 
  246            $dimensions = 
" (" . $prfa_set->get(
"banner_width") . 
"x" .
 
  247                $prfa_set->get(
"banner_height") . 
")";
 
  253            $file = $this->
object->getImageFullPath(
true);
 
  255                $img->setImage($file);
 
  260        $section->setTitle($this->lng->txt(
'obj_features'));
 
  264        $comments = 
new ilCheckboxInputGUI($this->lng->txt(
"prtf_public_comments"), 
"comments");
 
  278        $a_values[
"comments"] = $this->
object->hasPublicComments();
 
  279        $a_values[
"ppic"] = $this->
object->hasProfilePicture();
 
  288        $this->
object->setPublicComments($a_form->
getInput(
"comments"));
 
  289        $this->
object->setProfilePicture($a_form->
getInput(
"ppic"));
 
  297        if ($_FILES[
"banner"][
"tmp_name"]) {
 
  298            $this->
object->uploadImage($_FILES[
"banner"]);
 
  299        } elseif ($prfa_set->get(
'banner') and $a_form->
getItemByPostVar(
"banner")->getDeletionFlag()) {
 
  300            $this->
object->deleteImage();
 
  309    abstract protected function getPageInstance($a_page_id = 
null, $a_portfolio_id = 
null);
 
  326            $this->ctrl->redirect($this, 
"infoScreen");
 
  329        $this->tabs_gui->activateTab(
"pages");
 
  333        $button->setCaption(
"prtf_add_page");
 
  334        $button->setUrl($this->ctrl->getLinkTarget($this, 
"addPage"));
 
  335        $ilToolbar->addStickyItem($button);
 
  339            $button->setCaption(
"prtf_add_blog");
 
  340            $button->setUrl($this->ctrl->getLinkTarget($this, 
"addBlog"));
 
  341            $ilToolbar->addStickyItem($button);
 
  347        if ($this->
getType() == 
"prtf") {
 
  348            $ilToolbar->addSeparator();
 
  352            if ($this->object->isCommentsExportPossible()) {
 
  353                $this->lng->loadLanguageModule(
"note");
 
  354                $comment_export_helper = new \ILIAS\Notes\Export\ExportHelperGUI();
 
  355                $comment_modal = $comment_export_helper->getCommentIncludeModalDialog(
 
  356                    $this->lng->txt(
"export_html"),
 
  357                    $this->lng->txt(
"note_html_export_include_comments"),
 
  358                    $this->ctrl->getLinkTarget($this, 
"export"),
 
  359                    $this->ctrl->getLinkTarget($this, 
"exportWithComments")
 
  361                $button = 
$ui->factory()->button()->standard($this->lng->txt(
"export_html"), 
'')
 
  362                             ->withOnClick($comment_modal->getShowSignal());
 
  363                $ilToolbar->addComponent($button);
 
  364                $modal_html = 
$ui->renderer()->render($comment_modal);
 
  367                $button->setCaption(
"export_html");
 
  368                $button->setUrl($this->ctrl->getLinkTarget($this, 
"export"));
 
  369                $ilToolbar->addButtonInstance($button);
 
  374            $button->setCaption(
"prtf_pdf");
 
  375            $button->setUrl($this->ctrl->getLinkTarget($this, 
"exportPDFSelection"));
 
  376            $ilToolbar->addButtonInstance($button);
 
  382        $this->tpl->setContent(
$message . $table->getHTML() . $modal_html);
 
  392        $this->tabs_gui->clearTargets();
 
  393        $this->tabs_gui->setBackTarget(
 
  394            $this->lng->txt(
"back"),
 
  395            $this->ctrl->getLinkTarget($this, 
"view")
 
  398        $ilHelp->setScreenIdComponent(
"prtf");
 
  399        $ilHelp->setScreenId(
"add_page");
 
  403        $this->tpl->setContent($form->getHTML());
 
  415        $form->setFormAction($this->ctrl->getFormAction($this));
 
  419        $ti->setMaxLength(200);
 
  420        $ti->setRequired(
true);
 
  424        if ($a_mode == 
"create") {
 
  428                $use_template->setRequired(
true);
 
  429                $form->addItem($use_template);
 
  432                $use_template->addOption($opt);
 
  434                foreach ($templates as $templ) {
 
  435                    $templ->readObject();
 
  437                    $opt = 
new ilRadioOption($templ->getTitle() . $templ->getPreview(), $templ->getId());
 
  438                    $use_template->addOption($opt);
 
  442            $form->setTitle($this->lng->txt(
"prtf_add_page") . 
": " .
 
  443                $this->object->getTitle());
 
  444            $form->addCommandButton(
"savePage", $this->lng->txt(
"save"));
 
  445            $form->addCommandButton(
"view", $this->lng->txt(
"cancel"));
 
  463        if ($form->checkInput() && $this->checkPermissionBool(
"write")) {
 
  466            $page->setTitle($form->getInput(
"title"));
 
  469            $layout_id = $form->getInput(
"tmpl");
 
  472                $page->setXMLContent($layout_obj->getXMLContent());
 
  477            ilUtil::sendSuccess($this->lng->txt(
"prtf_page_created"), 
true);
 
  478            $this->ctrl->redirect($this, 
"view");
 
  481        $this->tabs_gui->clearTargets();
 
  482        $this->tabs_gui->setBackTarget(
 
  483            $this->lng->txt(
"back"),
 
  484            $this->ctrl->getLinkTarget($this, 
"view")
 
  487        $form->setValuesByPost();
 
  488        $this->tpl->setContent($form->getHtml());
 
  498        $this->tabs_gui->clearTargets();
 
  499        $this->tabs_gui->setBackTarget(
 
  500            $this->lng->txt(
"back"),
 
  501            $this->ctrl->getLinkTarget($this, 
"view")
 
  504        $ilHelp->setScreenIdComponent(
"prtf");
 
  505        $ilHelp->setScreenId(
"add_blog");
 
  508        $this->tpl->setContent($form->getHTML());
 
  524        $title_changes = array();
 
  526        if (is_array(
$_POST[
"order"])) {
 
  527            foreach (
$_POST[
"order"] as $k => $v) {
 
  529                if (
$_POST[
"title"][$k]) {
 
  531                    if ($page->getTitle() != $new_title) {
 
  532                        $title_changes[$page->getId()] = array(
"old" => $page->getTitle(), 
"new" => $new_title);
 
  533                        $page->setTitle($new_title);
 
  542        $this->
object->fixLinksOnTitleChange($title_changes);
 
  544        ilUtil::sendSuccess($this->lng->txt(
"msg_obj_modified"), 
true);
 
  545        $this->ctrl->redirect($this, 
"view");
 
  553        $prtf_pages = $_REQUEST[
"prtf_pages"];
 
  555        if (!is_array($prtf_pages) || count($prtf_pages) == 0) {
 
  557            $this->ctrl->redirect($this, 
"view");
 
  559            $this->tabs_gui->activateTab(
"pages");
 
  562            $cgui->setFormAction($this->ctrl->getFormAction($this));
 
  563            $cgui->setHeaderText($this->lng->txt(
"prtf_sure_delete_portfolio_pages"));
 
  564            $cgui->setCancel($this->lng->txt(
"cancel"), 
"view");
 
  565            $cgui->setConfirm($this->lng->txt(
"delete"), 
"deletePortfolioPages");
 
  567            foreach ($prtf_pages as $id) {
 
  570                if ($page->getPortfolioId() != $this->object->getId()) {
 
  574                $title = $page->getTitle();
 
  578                $cgui->addItem(
"prtf_pages[]", $id, $title);
 
  581            $this->tpl->setContent($cgui->getHTML());
 
  594        if (is_array(
$_POST[
"prtf_pages"])) {
 
  595            foreach (
$_POST[
"prtf_pages"] as $id) {
 
  601        ilUtil::sendSuccess($this->lng->txt(
"prtf_portfolio_page_deleted"), 
true);
 
  602        $this->ctrl->redirect($this, 
"view");
 
  608    public function preview($a_return = 
false, $a_content = 
false, $a_show_notes = 
true)
 
  613        $portfolio_id = $this->
object->getId();
 
  614        $user_id = $this->
object->getOwner();
 
  616        $this->tabs_gui->clearTargets();
 
  622        if ($pages && $current_page) {
 
  624            foreach ($pages as $page) {
 
  625                if ($page[
"id"] == $current_page) {
 
  631                $current_page = 
null;
 
  636        if (!$current_page && $pages) {
 
  637            $current_page = $pages;
 
  638            $current_page = array_shift($current_page);
 
  639            $current_page = $current_page[
"id"];
 
  645            $this->tpl->setLoginTargetPar(
"prtf_" . $this->object->getId() . 
"_" . $current_page);
 
  651        if ($this->requested_back_url != 
"") {
 
  653        } elseif (
$_GET[
"baseClass"] != 
"ilPublicUserProfileGUI" &&
 
  657                if ($this->
getType() == 
"prtf") {
 
  658                    $this->ctrl->setParameterByClass(
"ilportfoliorepositorygui", 
"shr_id", $this->object->getOwner());
 
  659                    $back = $this->ctrl->getLinkTargetByClass(array(
"ildashboardgui", 
"ilportfoliorepositorygui"), 
"showOther");
 
  660                    $this->ctrl->setParameterByClass(
"ilportfoliorepositorygui", 
"shr_id", 
"");
 
  672                $back = $this->ctrl->getLinkTarget($this, 
"view");
 
  673                if ($this->
getType() == 
"prtf") {
 
  674                    $back_caption = $this->lng->txt(
"prtf_back_to_portfolio_owner");
 
  677                    $this->lng->loadLanguageModule(
"prtt");
 
  678                    $back_caption = $this->lng->txt(
"prtt_edit");
 
  687            $ilMainMenu->setTopBarBack($back, $back_caption);
 
  691        $current_blog = 
null;
 
  692        if (count($pages) > 1) {
 
  693            foreach ($pages as $p) {
 
  696                    if ($p[
"id"] == $current_page) {
 
  697                        $current_blog = (int) $p[
"title"];
 
  702                $this->ctrl->setParameter($this, 
"user_page", $p[
"id"]);
 
  703                $this->tabs_gui->addTab(
 
  704                    "user_page_" . $p[
"id"],
 
  706                    $this->ctrl->getLinkTarget($this, 
"preview")
 
  710            $this->tabs_gui->activateTab(
"user_page_" . $current_page);
 
  713        $this->ctrl->setParameter($this, 
"user_page", $current_page);
 
  720                $page_gui->setEmbedded(
true);
 
  722                $content = $this->ctrl->getHTML($page_gui);
 
  725            $content = $a_content;
 
  734        if ($a_show_notes && $this->object->hasPublicComments() && !$current_blog && $current_page) {
 
  735            $note_gui = 
new ilNoteGUI($portfolio_id, $current_page, 
"pfpg");
 
  737            $note_gui->setRepositoryMode(
false);
 
  738            $note_gui->enablePublicNotes(
true);
 
  739            $note_gui->enablePrivateNotes(
false);
 
  741            $note_gui->enablePublicNotesDeletion(($this->user_id == 
$user_id) &&
 
  744            $next_class = $this->ctrl->getNextClass($this);
 
  745            if ($next_class == 
"ilnotegui") {
 
  746                $notes = $this->ctrl->forwardCommand($note_gui);
 
  748                $notes = $note_gui->getNotesHTML();
 
  752        if ($this->perma_link === 
null) {
 
  753            if ($this->
getType() == 
"prtf") {
 
  754                $this->tpl->setPermanentLink($this->
getType(), $this->object->getId(), 
"_" . $current_page);
 
  756                $this->tpl->setPermanentLink($this->
getType(), $this->object->getRefId());
 
  759            $this->tpl->setPermanentLink($this->perma_link[
"type"], $this->perma_link[
"obj_id"]);
 
  770        $this->ctrl->setParameter($this, 
"user_page", 
"");
 
  772        $this->ctrl->setParameter($this, 
"user_page", $this->page_id);
 
  775        if (!$current_blog) {
 
  776            $content = 
'<div id="ilCOPageContent" class="ilc_page_cont_PageContainer">' .
 
  777                '<div class="ilc_page_Page">' .
 
  787        $this->tpl->setContent($content .
 
  788            '<div class="ilClearFloat">' . $notes . 
'</div>');
 
  797        $page_class = ($this->
getType() == 
"prtt")
 
  798            ? 
"ilPortfolioTemplatePageGUI" 
  799            : 
"ilportfoliopagegui";
 
  803            if ($this->
getType() === 
"prtt") {
 
  804                $button = $this->
ui->factory()->button()->standard(
 
  805                    $this->lng->txt(
"prtt_edit"),
 
  806                    $this->ctrl->getLinkTargetByClass([
"ilobjportfoliotemplategui"], 
"view")
 
  809                $button = $this->
ui->factory()->button()->standard(
 
  810                    $this->lng->txt(
"prtf_edit_portfolio"),
 
  811                    $this->ctrl->getLinkTargetByClass([
"ilobjportfoliogui"], 
"view")
 
  814            $this->toolbar->addComponent($button);
 
  818            $this->ctrl->setParameterByClass($page_class, 
"ppage", 
$page_id);
 
  819            $button = $this->
ui->factory()->button()->standard(
 
  820                $this->lng->txt(
"edit_page"),
 
  821                $this->ctrl->getLinkTargetByClass($page_class, 
"edit")
 
  824                $this->toolbar->addComponent($button);
 
  828            if ($this->
getType() != 
"prtt") {
 
  842            $this->tpl->setHeaderActionMenu($this->
ui->renderer()->render($button));
 
  861                $a_portfolio->getType(),
 
  862                ($a_portfolio->getType() == 
"prtt")
 
  863                    ? $a_portfolio->getRefId()
 
  864                    : $a_portfolio->getId(),
 
  865                $a_portfolio->getId(),
 
  874        $banner = $banner_width = $banner_height = 
false;
 
  876        if ($prfa_set->get(
"banner")) {
 
  878            $banner_width = $prfa_set->get(
"banner_width");
 
  879            $banner_height = $prfa_set->get(
"banner_height");
 
  881                $banner = basename($banner);
 
  887        if ($a_portfolio->hasProfilePicture()) {
 
  890                $ppic = basename($ppic);
 
  894        $a_tpl->resetHeaderBlock(
false);
 
  897        $a_tpl->setBanner($banner, $banner_width, $banner_height, $a_export);
 
  898        $a_tpl->setTitleIcon($ppic);
 
  899        $a_tpl->setTitle($a_portfolio->getTitle());
 
  901        $a_tpl->setDescription(
$name);
 
  904        $a_tpl->setVariable(
"LOCATOR", 
"");
 
  910    public function export($a_with_comments = 
false)
 
  912        $port_export = new \ILIAS\Portfolio\Export\PortfolioHtmlExport($this);
 
  913        $port_export->includeComments($a_with_comments);
 
  914        $zip = $port_export->exportHtml();
 
  929        $prtf_pages = $_REQUEST[
"prtf_pages"];
 
  931        if (!is_array($prtf_pages) || count($prtf_pages) == 0) {
 
  933            $this->ctrl->redirect($this, 
"view");
 
  935            $this->tabs_gui->activateTab(
"pages");
 
  944                $a_form->addItem($item);
 
  947            $this->tpl->setContent($a_form->getHTML());
 
  954        if ($form->checkInput()) {
 
  956            if ($form->getInput(
"target") == 
"old") {
 
  957                $portfolio_id = $form->getInput(
"prtf");
 
  962                $portfolio->setTitle($form->getInput(
"title"));
 
  963                $portfolio->create();
 
  964                $portfolio_id = $portfolio->getId();
 
  972                $target->setXMLContent(
$source->copyXmlContent(
true)); 
 
  973                $target->setType(
$source->getType());
 
  974                $target->setTitle(
$source->getTitle());
 
  978            ilUtil::sendSuccess($this->lng->txt(
"prtf_pages_copied"), 
true);
 
  979            $this->ctrl->redirect($this, 
"view");
 
  982        $form->setValuesByPost();
 
  991        $form->setFormAction($this->ctrl->getFormAction($this));
 
  992        $form->setTitle($this->lng->txt(
"prtf_copy_page"));
 
  996        $form->addCommandButton(
"copyPage", $this->lng->txt(
"save"));
 
  997        $form->addCommandButton(
"view", $this->lng->txt(
"cancel"));
 
 1011        if ($a_tpl != 
null) {
 
 1017        $ctpl->setCurrentBlock(
"ContentStyle");
 
 1019            "LOCATION_CONTENT_STYLESHEET",
 
 1022        $ctpl->parseCurrentBlock();
 
 1029        $this->tabs_gui->activateTab(
"settings");
 
 1033        $this->tpl->setContent($form->getHTML());
 
 1040        $this->lng->loadLanguageModule(
"style");
 
 1044        $fixed_style = 
$ilSetting->get(
"fixed_content_style_id");
 
 1045        $style_id = $this->
object->getStyleSheetId();
 
 1047        if ($fixed_style > 0) {
 
 1050                $this->lng->txt(
"global_fixed") . 
")");
 
 1051            $form->addItem($st);
 
 1059            $st_styles[0] = $this->lng->txt(
"default");
 
 1062            if ($style_id > 0) {
 
 1067                    $form->addItem($st);
 
 1070                    $form->addCommandButton(
"editStyle", $this->lng->txt(
"style_edit_style"));
 
 1071                    $form->addCommandButton(
"deleteStyle", $this->lng->txt(
"style_delete_style"));
 
 1077                    $this->lng->txt(
"style_current_style"),
 
 1080                $style_sel->setOptions($st_styles);
 
 1081                $style_sel->setValue($style_id);
 
 1082                $form->addItem($style_sel);
 
 1084                $form->addCommandButton(
"saveStyleSettings", $this->lng->txt(
"save"));
 
 1085                $form->addCommandButton(
"createStyle", $this->lng->txt(
"sty_create_ind_style"));
 
 1089        $form->setTitle($this->lng->txt($this->getType() . 
"_style"));
 
 1090        $form->setFormAction($this->ctrl->getFormAction($this));
 
 1097        $this->ctrl->redirectByClass(
"ilobjstylesheetgui", 
"create");
 
 1102        $this->ctrl->redirectByClass(
"ilobjstylesheetgui", 
"edit");
 
 1107        $this->ctrl->redirectByClass(
"ilobjstylesheetgui", 
"delete");
 
 1114        if (
$ilSetting->get(
"fixed_content_style_id") <= 0 &&
 
 1116            || $this->object->getStyleSheetId() == 0)) {
 
 1118            $this->
object->update();
 
 1120            ilUtil::sendSuccess($this->lng->txt(
"msg_obj_modified"), 
true);
 
 1122        $this->ctrl->redirect($this, 
"editStyleProperties");
 
An exception for terminatinating execution or to throw for unit testing.
static _recordReadEvent( $a_type, $a_ref_id, $obj_id, $usr_id, $isCatchupWriteEvents=true, $a_ext_rc=false, $a_ext_time=false)
Records a read event and catches up with write events.
Confirmation screen class.
static _getStaticLink( $a_ref_id, $a_type='', $a_fallback_goto=true, $append="")
Get static link.
This class represents a non editable value in a property form.
Portfolio view gui base class.
initPageForm($a_mode="create")
Init portfolio page form.
setPermaLink($a_obj_id, $a_type)
Set custom perma link (used in public profile?)
initCopyPageFormOptions(ilPropertyFormGUI $a_form)
addBlog()
Show portfolio blog page creation form.
addPage()
Show portfolio page creation form.
view()
Show list of portfolio pages.
savePage()
Create new portfolio page.
initEditCustomForm(ilPropertyFormGUI $a_form)
Add custom fields to update form.
getAdditional()
Get Additonal Information.
updateCustom(ilPropertyFormGUI $a_form)
Insert custom update form values into object.
confirmPortfolioPageDeletion()
Confirm portfolio deletion.
showEditButton($page_id)
Show edit button.
__construct($a_id=0, $a_id_type=self::REPOSITORY_NODE_ID, $a_parent_node_id=0)
Constructor.
initStylePropertiesForm()
getEditFormCustomValues(array &$a_values)
Add values to custom edit fields.
copyPageForm($a_form=null)
Select target portfolio for page(s) copy.
deletePortfolioPages()
Delete portfolio pages.
getPageInstance($a_page_id=null, $a_portfolio_id=null)
savePortfolioPagesOrdering()
Save ordering of portfolio pages.
export($a_with_comments=false)
addLocatorItems()
Functions to be overwritten.
static renderFullscreenHeader($a_portfolio, $a_tpl, $a_user_id, $a_export=false)
Render banner, user name.
setAdditional($a_additional)
Set Additonal Information (used in public profile?)
preview($a_return=false, $a_content=false, $a_show_notes=true)
Show user page.
setSettingsSubTabs($a_active)
getPageGUIInstance($a_page_id)
setContentStyleSheet($a_tpl=null)
static _lookupStandard($a_id)
Lookup standard flag.
static _getStandardStyles( $a_exclude_default_style=false, $a_include_deactivated=false, $a_scope=0)
Get standard styles.
static getEffectiveContentStyleId($a_style_id, $a_type="")
Get effective Style Id.
static getContentStylePath($a_style_id, $add_random=true, $add_token=true)
get content style path
static _getPersonalPicturePath( $a_usr_id, $a_size="small", $a_force_pic=false, $a_prevent_no_photo_image=false, $html_export=false)
Get path to personal picture.
static _lookupName($a_user_id)
lookup user name
New implementation of ilObjectGUI.
getType()
Functions that must be overwritten.
checkPermissionBool($a_perm, $a_cmd="", $a_type="", $a_node_id=null)
Check permission.
checkPermission($a_perm, $a_cmd="", $a_type="", $a_ref_id=null)
Check permission and redirect on error.
static _lookupTitle($a_id)
lookup object title
static _lookupTitle($a_id)
lookup object title
static activeLayouts($a_special_page=false, $a_module=null)
Get active layouts.
static lookupType($a_page_id)
Lookup type.
static getAllPortfolioPages($a_portfolio_id)
Get pages of portfolio.
static fixOrdering($a_portfolio_id)
Fix ordering.
This class represents an option in a radio group.
This class represents a text property in a property form.
static deliverFile( $a_file, $a_filename, $a_mime='', $isInline=false, $removeAfterDelivery=false, $a_exit_after=true)
deliver file for download via browser.
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled
static sendInfo($a_info="", $a_keep=false)
Send Info Message to Screen.
static signFile($path_to_file)
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc