|
ILIAS
release_8 Revision v8.24
|
Class ilBlogPosting GUI class. More...
Inheritance diagram for ilBlogPostingGUI:
Collaboration diagram for ilBlogPostingGUI:Public Member Functions | |
| __construct (int $a_node_id, object $a_access_handler=null, int $a_id=0, int $a_old_nr=0, bool $a_enable_public_notes=true, bool $a_may_contribute=true, int $a_style_sheet_id=0) | |
| executeCommand () | |
| execute command More... | |
| setBlogPosting (ilBlogPosting $a_posting) | |
| preview (string $a_mode=null) | |
| previewEmbedded () | |
| Needed for portfolio/blog handling. More... | |
| previewFullscreen () | |
| Needed for portfolio/blog handling. More... | |
| showPage (string $a_title="") | |
| postOutputProcessing (string $a_output) | |
| Finalizing output processing. More... | |
| getTabs (string $a_activate="") | |
| deleteBlogPostingConfirmationScreen () | |
| cancelBlogPostingDeletion () | |
| confirmBlogPostingDeletion () | |
| editTitle (ilPropertyFormGUI $a_form=null) | |
| updateTitle () | |
| initTitleForm () | |
| editDate (ilPropertyFormGUI $a_form=null) | |
| updateDate () | |
| initDateForm () | |
| observeNoteAction (int $a_blog_id, int $a_posting_id, string $a_type, string $a_action, int $a_note_id) | |
| getActivationCaptions () | |
| Get captions for activation action menu entries. More... | |
| deactivatePageToList () | |
| deactivatePage (bool $a_to_list=false) | |
| activatePageToList () | |
| activatePage (bool $a_to_list=false) | |
| editKeywords () | |
| Diplay the keywords form. More... | |
| saveKeywordsForm () | |
| getDisabledText () | |
| getCommentsHTMLExport () | |
| finishEditing () | |
Public Member Functions inherited from ilPageObjectGUI | |
| __construct (string $a_parent_type, int $a_id, int $a_old_nr=0, bool $a_prevent_get_id=false, string $a_lang="", string $concrete_lang="") | |
| setTemplate (ilGlobalTemplateInterface $main_tpl) | |
| afterConstructor () | |
| setAdvMdRecordObject (int $a_adv_ref_id, string $a_adv_type, string $a_adv_subtype="-") | |
| Set object, that defines the adv md records being used. More... | |
| getAdvMdRecordObject () | |
| Get adv md record type. More... | |
| setParentType (string $a_val) | |
| getParentType () | |
| setId (int $a_val) | |
| getId () | |
| setOldNr (int $a_val) | |
| Set old nr (historic page) More... | |
| getOldNr () | |
| setLanguage (string $a_val) | |
| getLanguage () | |
| setEnablePCType (string $a_pc_type, bool $a_val) | |
| getEnablePCType (string $a_pc_type) | |
| setPageConfig (ilPageConfig $a_val) | |
| getPageConfig () | |
| setPageObject (ilPageObject $a_pg_obj) | |
| getPageObject () | |
| setOutputMode (string $a_mode=self::PRESENTATION) | |
| getOutputMode () | |
| setTemplateOutput (bool $a_output=true) | |
| outputToTemplate () | |
| setPresentationTitle (string $a_title="") | |
| getPresentationTitle () | |
| setHeader (string $a_title="") | |
| getHeader () | |
| setLinkParams (string $l_params="") | |
| getLinkParams () | |
| setLinkFrame (string $l_frame="") | |
| getLinkFrame () | |
| setPageLinker (\ILIAS\COPage\PageLinker $page_linker) | |
| getLinkXML () | |
| setQuestionHTML (array $question_html) | |
| getQuestionHTML () | |
| setTemplateTargetVar (string $a_variable) | |
| getTemplateTargetVar () | |
| getTemplateOutputVar () | |
| setSourcecodeDownloadScript (string $script_name) | |
| getSourcecodeDownloadScript () | |
| setTabs (ilTabsGUI $a_tabs) | |
| setPageBackTitle (string $a_title) | |
| setFileDownloadLink (string $a_download_link) | |
| getFileDownloadLink () | |
| setFullscreenLink (string $a_fullscreen_link) | |
| getFullscreenLink () | |
| setIntLinkReturn (string $a_return) | |
| enableChangeComments (bool $a_enabled) | |
| isEnabledChangeComments () | |
| enableNotes (bool $a_enabled, int $a_parent_id) | |
| isEnabledNotes () | |
| setOfflineDirectory (string $offdir) | |
| getOfflineDirectory () | |
| setViewPageLink (string $a_link, string $a_target="") | |
| set link for "view page" button More... | |
| getViewPageLink () | |
| getViewPageTarget () | |
| getViewPageText () | |
| setActivationListener (object $a_obj, string $a_meth) | |
| setEnabledNews (bool $a_enabled, int $a_news_obj_id=0, string $a_news_obj_type="") | |
| getEnabledNews () | |
| setTabHook (object $a_object, string $a_function) | |
| setEditPreview (bool $a_editpreview) | |
| Set Display first Edit tab, then Preview tab, instead of Page and Edit. More... | |
| getEditPreview () | |
| setEnabledTabs (bool $a_enabledtabs) | |
| getEnabledTabs () | |
| setEnabledPageFocus (bool $a_enabledpagefocus) | |
| setOpenPlaceHolder (string $a_val) | |
| getOpenPlaceHolder () | |
| getEnabledPageFocus () | |
| setPrependingHtml (string $a_prependinghtml) | |
| getPrependingHtml () | |
| setEnableEditing (bool $a_enableediting) | |
| getEnableEditing () | |
| setRawPageContent (bool $a_rawpagecontent) | |
| Set Get raw page content only. More... | |
| getRawPageContent () | |
| setStyleId (int $a_styleid) | |
| getStyleId () | |
| setCompareMode (bool $a_val) | |
| getCompareMode () | |
| setAbstractOnly (bool $a_val, string $pcid="") | |
| Get only abstract (first text paragraph) More... | |
| getAbstractOnly () | |
| setRenderPageContainer (bool $a_val) | |
| getRenderPageContainer () | |
| getDisabledText () | |
| getEnabledHref () | |
| setEnabledHref (bool $enable) | |
| activateMetaDataEditor (ilObject $a_rep_obj, string $a_type, int $a_sub_obj_id, object $a_observer_obj=null, string $a_observer_func="") | |
| Activate meda data editor. More... | |
| determineFileDownloadLink () | |
| determineFullscreenLink () | |
| determineSourcecodeDownloadScript () | |
| getComponentPluginsXML () | |
| Put information about activated plugins into XML. More... | |
| executeCommand () | |
| execute command More... | |
| setQEditTabs (string $a_active) | |
| Set question editing tabs. More... | |
| onFeedbackEditingForwarding () | |
| deactivatePage () | |
| activatePage () | |
| showPage () | |
| display content of page More... | |
| replaceCurlyBrackets (string $output) | |
| getActivationCaptions () | |
| Get captions for activation action menu entries. More... | |
| setEditMode () | |
| Set edit mode. More... | |
| setDefaultLinkXml () | |
| setLinkXml (string $xml) | |
| getProfileBackUrl () | |
| setProfileBackUrl (string $url) | |
| downloadFile () | |
| displayMediaFullscreen () | |
| displayMedia (bool $a_fullscreen=false) | |
| download_paragraph () | |
| download source code paragraph More... | |
| insertPageToc (string $a_output) | |
| insertResources (string $a_output) | |
| insertAdvTrigger (string $a_output) | |
| Insert adv content trigger. More... | |
| postOutputProcessing (string $a_output) | |
| Finalizing output processing. More... | |
| previewHistory () | |
| Preview history. More... | |
| preview () | |
| edit () | |
| getBlockingInfoMessage () | |
| insertJSAtPlaceholder () | |
| presentation (string $a_mode=self::PRESENTATION) | |
| getHTML () | |
| showMediaFullscreen (int $a_style_id=0) | |
| show fullscreen view of media object More... | |
| displayValidationError ($a_error) | |
| display validation error More... | |
| history () | |
| Get history table as HTML. More... | |
| rollbackConfirmation () | |
| Rollback confirmation. More... | |
| rollback () | |
| Rollback to a previous version. More... | |
| setScreenIdComponent () | |
| getTabs (string $a_activate="") | |
| compareVersion () | |
| Compares two revisions of the page. More... | |
| replaceDiffTags (string $a_html) | |
| editActivation () | |
| Edit activation (only, if scheduled page activation is activated in administration) More... | |
| initActivationForm () | |
| Init activation form. More... | |
| getActivationFormValues () | |
| Get values for activation form. More... | |
| saveActivation () | |
| Save Activation. More... | |
| getNotesHTML (object $a_content_object=null, bool $a_enable_private_notes=true, bool $a_enable_public_notes=false, bool $a_enable_notes_deletion=false, callable $a_callback=null, bool $export=false) | |
| Get html for public and/or private notes. More... | |
| processAnswer () | |
| Process answer. More... | |
| initialOpenedContent () | |
| Initially opened content. More... | |
| initOpenedContentForm () | |
| saveInitialOpenedContent () | |
| switchToLanguage () | |
| Switch to language. More... | |
| confirmPageTranslationCreation () | |
| Confirm page translation creation. More... | |
| editMasterLanguage () | |
| Edit master language. More... | |
| createPageTranslation () | |
| Create page translation. More... | |
| releasePageLock () | |
| Release page lock. More... | |
| finishEditing () | |
| getPagePermaLink () | |
| getAdditionalPageActions () | |
| Get additional page actions. More... | |
Static Public Member Functions | |
| static | getSnippet (int $a_id, bool $a_truncate=false, int $a_truncate_length=500, string $a_truncate_sign="...", bool $a_include_picture=false, int $a_picture_width=144, int $a_picture_height=144, string $a_export_directory=null) |
| Get first text paragraph of page. More... | |
Static Public Member Functions inherited from ilPageObjectGUI | |
| static | getTinyMenu (string $a_par_type, bool $a_int_links=false, bool $a_wiki_links=false, bool $a_keywords=false, $a_style_id=0, $a_paragraph_styles=true, $a_save_return=true, $a_anchors=false, $a_save_new=true, $a_user_links=false, \ILIAS\COPage\Editor\Server\UIWrapper $ui_wrapper=null) |
| Get Tiny Menu. More... | |
Protected Member Functions | |
| checkAccess (string $a_cmd) | |
| isInWorkspace () | |
| Is current page part of personal workspace blog? More... | |
| showPageHeading () | |
| getPageHeading () | |
| Get page heading see also https://docu.ilias.de/goto_docu_wiki_wpage_5793_1357.html the presentation heading has a defined layout, title is not from page content. More... | |
| cancelEdit () | |
| initKeywordsForm () | |
| getParentObjId () | |
| getFirstMediaObjectAsTag (int $a_width=144, int $a_height=144, string $a_export_directory=null) | |
| showEditToolbar () | |
| Show edit toolbar. More... | |
Protected Member Functions inherited from ilPageObjectGUI | |
| initPageObject () | |
| Init page object. More... | |
| showEditToolbar () | |
| Show edit toolbar. More... | |
| setEditorToolContext () | |
| Set editor tool context. More... | |
| initEditing () | |
| showEditLockInfo () | |
| setBackToEditTabs () | |
| isPageContainerToBeRendered () | |
| addResourcesToTemplate (ilGlobalTemplateInterface $tpl) | |
| Add resources to template. More... | |
Static Protected Member Functions | |
| static | parseImage (int $src_width, int $src_height, int $tgt_width, int $tgt_height) |
Class ilBlogPosting GUI class.
Definition at line 27 of file class.ilBlogPostingGUI.php.
| ilBlogPostingGUI::__construct | ( | int | $a_node_id, |
| object | $a_access_handler = null, |
||
| int | $a_id = 0, |
||
| int | $a_old_nr = 0, |
||
| bool | $a_enable_public_notes = true, |
||
| bool | $a_may_contribute = true, |
||
| int | $a_style_sheet_id = 0 |
||
| ) |
Definition at line 44 of file class.ilBlogPostingGUI.php.
References $DIC, ilPageObjectGUI\$lng, ilPageObjectGUI\$tpl, ILIAS\GlobalScreen\Provider\__construct(), ilObjStyleSheet\getContentStylePath(), ilObjStyleSheet\getSyntaxStylePath(), isInWorkspace(), ilLanguage\loadLanguageModule(), ILIAS\Repository\locator(), ilGlobalTemplateInterface\parseCurrentBlock(), ilGlobalTemplateInterface\setCurrentBlock(), ilPageObjectGUI\setEnableEditing(), ilPageObjectGUI\setStyleId(), ILIAS\Repository\settings(), ilGlobalTemplateInterface\setVariable(), ILIAS\Repository\tabs(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilBlogPostingGUI::activatePage | ( | bool | $a_to_list = false | ) |
Definition at line 611 of file class.ilBlogPostingGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Survey\Mode\getId(), and ilObjBlog\sendNotification().
Here is the call graph for this function:| ilBlogPostingGUI::activatePageToList | ( | ) |
Definition at line 606 of file class.ilBlogPostingGUI.php.
| ilBlogPostingGUI::cancelBlogPostingDeletion | ( | ) |
Definition at line 408 of file class.ilBlogPostingGUI.php.
|
protected |
Definition at line 561 of file class.ilBlogPostingGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:
|
protected |
Definition at line 164 of file class.ilBlogPostingGUI.php.
References $may_contribute.
| ilBlogPostingGUI::confirmBlogPostingDeletion | ( | ) |
Definition at line 415 of file class.ilBlogPostingGUI.php.
| ilBlogPostingGUI::deactivatePage | ( | bool | $a_to_list = false | ) |
Definition at line 592 of file class.ilBlogPostingGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilBlogPostingGUI::deactivatePageToList | ( | ) |
Definition at line 587 of file class.ilBlogPostingGUI.php.
| ilBlogPostingGUI::deleteBlogPostingConfirmationScreen | ( | ) |
Definition at line 368 of file class.ilBlogPostingGUI.php.
References $lng, $tpl, and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilBlogPostingGUI::editDate | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 497 of file class.ilBlogPostingGUI.php.
References $tpl, and ILIAS\Repository\lng().
Here is the call graph for this function:| ilBlogPostingGUI::editKeywords | ( | ) |
Diplay the keywords form.
Definition at line 631 of file class.ilBlogPostingGUI.php.
References $DIC, $tpl, and ILIAS\Repository\lng().
Here is the call graph for this function:| ilBlogPostingGUI::editTitle | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 436 of file class.ilBlogPostingGUI.php.
References $tpl, and ILIAS\Repository\lng().
Here is the call graph for this function:| ilBlogPostingGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilPageObjectGUI.
Definition at line 110 of file class.ilBlogPostingGUI.php.
References ilPageObjectGUI\$ctrl, $locator, ilPageObjectGUI\$tpl, ilObject\_lookupTitle(), ilUtil\getImagePath(), ILIAS\Repository\lng(), previewFullscreen(), ilPageObjectGUI\setPresentationTitle(), ilGlobalTemplateInterface\setTitle(), and ilGlobalTemplateInterface\setTitleIcon().
Here is the call graph for this function:| ilBlogPostingGUI::finishEditing | ( | ) |
Reimplemented from ilPageObjectGUI.
Definition at line 872 of file class.ilBlogPostingGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilBlogPostingGUI::getActivationCaptions | ( | ) |
Get captions for activation action menu entries.
Reimplemented from ilPageObjectGUI.
Definition at line 579 of file class.ilBlogPostingGUI.php.
References $lng.
| ilBlogPostingGUI::getCommentsHTMLExport | ( | ) |
Definition at line 856 of file class.ilBlogPostingGUI.php.
| ilBlogPostingGUI::getDisabledText | ( | ) |
Reimplemented from ilPageObjectGUI.
Definition at line 851 of file class.ilBlogPostingGUI.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 781 of file class.ilBlogPostingGUI.php.
References $location, and ilObjMediaObject\_getDirectory().
Here is the call graph for this function:
|
protected |
Get page heading see also https://docu.ilias.de/goto_docu_wiki_wpage_5793_1357.html the presentation heading has a defined layout, title is not from page content.
Definition at line 310 of file class.ilBlogPostingGUI.php.
References $tpl, ilDatePresentation\formatDate(), ILIAS\Survey\Mode\getId(), ilUserUtil\getNamePresentation(), ilPageObject\getPageContributors(), ILIAS\Repository\lng(), ilDatePresentation\setUseRelativeDates(), and ilDatePresentation\useRelativeDates().
Here is the call graph for this function:
|
protected |
Definition at line 699 of file class.ilBlogPostingGUI.php.
References ilObject\_lookupObjId().
Here is the call graph for this function:
|
static |
Get first text paragraph of page.
Definition at line 740 of file class.ilBlogPostingGUI.php.
References $img.
Referenced by ilObjBlog\deliverRSS(), and ilBlogPosting\getNotificationAbstract().
Here is the caller graph for this function:| ilBlogPostingGUI::getTabs | ( | string | $a_activate = "" | ) |
Reimplemented from ilPageObjectGUI.
Definition at line 359 of file class.ilBlogPostingGUI.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilBlogPostingGUI::initDateForm | ( | ) |
Definition at line 538 of file class.ilBlogPostingGUI.php.
References $lng.
|
protected |
| ilCtrlException |
Definition at line 655 of file class.ilBlogPostingGUI.php.
References $DIC, $id, ilBlogPosting\getAllPostings(), ILIAS\Survey\Mode\getId(), ilBlogPosting\getKeywords(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilBlogPostingGUI::initTitleForm | ( | ) |
Definition at line 476 of file class.ilBlogPostingGUI.php.
References $lng.
|
protected |
Is current page part of personal workspace blog?
Definition at line 272 of file class.ilBlogPostingGUI.php.
Referenced by __construct().
Here is the caller graph for this function:| ilBlogPostingGUI::observeNoteAction | ( | int | $a_blog_id, |
| int | $a_posting_id, | ||
| string | $a_type, | ||
| string | $a_action, | ||
| int | $a_note_id | ||
| ) |
Definition at line 566 of file class.ilBlogPostingGUI.php.
|
staticprotected |
Definition at line 830 of file class.ilBlogPostingGUI.php.
| ilBlogPostingGUI::postOutputProcessing | ( | string | $a_output | ) |
Finalizing output processing.
Reimplemented from ilPageObjectGUI.
Definition at line 285 of file class.ilBlogPostingGUI.php.
| ilBlogPostingGUI::preview | ( | string | $a_mode = null | ) |
Definition at line 172 of file class.ilBlogPostingGUI.php.
| ilBlogPostingGUI::previewEmbedded | ( | ) |
Needed for portfolio/blog handling.
Definition at line 238 of file class.ilBlogPostingGUI.php.
| ilBlogPostingGUI::previewFullscreen | ( | ) |
Needed for portfolio/blog handling.
Definition at line 246 of file class.ilBlogPostingGUI.php.
Referenced by executeCommand().
Here is the caller graph for this function:| ilBlogPostingGUI::saveKeywordsForm | ( | ) |
Definition at line 711 of file class.ilBlogPostingGUI.php.
References $DIC, and ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilBlogPostingGUI::setBlogPosting | ( | ilBlogPosting | $a_posting | ) |
Definition at line 152 of file class.ilBlogPostingGUI.php.
References ilPageObjectGUI\setPageObject().
Here is the call graph for this function:
|
protected |
Show edit toolbar.
Reimplemented from ilPageObjectGUI.
Definition at line 868 of file class.ilBlogPostingGUI.php.
| ilBlogPostingGUI::showPage | ( | string | $a_title = "" | ) |
Definition at line 252 of file class.ilBlogPostingGUI.php.
|
protected |
Definition at line 296 of file class.ilBlogPostingGUI.php.
| ilBlogPostingGUI::updateDate | ( | ) |
Definition at line 514 of file class.ilBlogPostingGUI.php.
References $lng, and ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilBlogPostingGUI::updateTitle | ( | ) |
Definition at line 453 of file class.ilBlogPostingGUI.php.
References $lng, and ILIAS\Repository\ctrl().
Here is the call graph for this function:
|
protected |
Definition at line 36 of file class.ilBlogPostingGUI.php.
| bool ilBlogPostingGUI::$add_date = false |
Definition at line 42 of file class.ilBlogPostingGUI.php.
|
protected |
Definition at line 31 of file class.ilBlogPostingGUI.php.
|
protected |
Definition at line 40 of file class.ilBlogPostingGUI.php.
|
protected |
Definition at line 37 of file class.ilBlogPostingGUI.php.
|
protected |
Definition at line 39 of file class.ilBlogPostingGUI.php.
|
protected |
Definition at line 33 of file class.ilBlogPostingGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 38 of file class.ilBlogPostingGUI.php.
Referenced by checkAccess().
|
protected |
Definition at line 35 of file class.ilBlogPostingGUI.php.
|
protected |
Definition at line 29 of file class.ilBlogPostingGUI.php.
|
protected |
Definition at line 30 of file class.ilBlogPostingGUI.php.
|
protected |
Definition at line 34 of file class.ilBlogPostingGUI.php.
|
protected |
Definition at line 41 of file class.ilBlogPostingGUI.php.
|
protected |
Definition at line 32 of file class.ilBlogPostingGUI.php.