|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Class ilPCBlogGUI Handles user commands on blog data. More...
Inheritance diagram for ilPCBlogGUI:
Collaboration diagram for ilPCBlogGUI:Public Member Functions | |
| __construct (ilPageObject $a_pg_obj, ?ilPageContent $a_content_obj, string $a_hier_id, string $a_pc_id="") | |
| executeCommand () | |
| execute command More... | |
| insert (?ilPropertyFormGUI $a_form=null) | |
| edit (?ilPropertyFormGUI $a_form=null) | |
| create () | |
| Create new blog. More... | |
| update () | |
| Update blog. More... | |
| insertPosting (int $a_blog_id, ?ilPropertyFormGUI $a_form=null) | |
| Insert new blog posting form. More... | |
| editPosting (int $a_blog_id, ?ilPropertyFormGUI $a_form=null) | |
| Edit blog posting form. More... | |
Public Member Functions inherited from ilPageContentGUI | |
| __construct (ilPageObject $a_pg_obj, ?ilPageContent $a_content_obj, string $a_hier_id="", string $a_pc_id="0") | |
| setContentObject (ilPageContent $a_val) | |
| getContentObject () | |
| setPage (ilPageObject $a_val) | |
| getPage () | |
| setPageConfig (ilPageConfig $a_val) | |
| getPageConfig () | |
| setStyleId (int $a_styleid) | |
| getStyleId () | |
| getStyle () | |
| getCharacteristicsOfCurrentStyle (array $a_type) | |
| Get characteristics of current style and call setCharacteristics, if style is given. More... | |
| setCharacteristics (array $a_chars) | |
| getCharacteristics () | |
| getHierId () | |
| setHierId (string $a_hier_id) | |
| set hierarchical id in dom object More... | |
| delete () | |
| displayValidationError () | |
| cancelCreate () | |
| cancel creating page content More... | |
| cancelUpdate () | |
| cancel update More... | |
| cancel () | |
| Cancel. More... | |
| deactivate () | |
| gui function set enabled if is not enabled and vice versa More... | |
| cut () | |
| Cut single element. More... | |
| copy () | |
| Copy single element. More... | |
| getTemplateOptions (string $a_type="") | |
| Get table templates. More... | |
Protected Member Functions | |
| initForm (bool $a_insert=false) | |
| initPostingForm (int $a_blog_id, bool $a_insert=false) | |
| Init blog posting form. More... | |
Protected Member Functions inherited from ilPageContentGUI | |
| redirectToParent (string $hier_id="") | |
| getParentReturn (string $hier_id="") | |
| updateAndReturn () | |
| setCurrentTextLang (string $lang_key) | |
| getCurrentTextLang () | |
| setEditorToolContext () | |
| initEditor () | |
| getEditorScriptTag (string $form_pc_id="", string $form_cname="") | |
Protected Attributes | |
| PostingManager | $posting_manger |
| int | $requested_blog |
| int | $requested_blog_id |
| ilObjUser | $user |
Protected Attributes inherited from ilPageContentGUI | |
| ILIAS COPage Editor GUIService | $editor_gui |
| ILIAS COPage InternalGUIService | $gui |
| EditSessionRepository | $edit_repo |
| string | $pc_id = "" |
| array | $chars |
| ilObjStyleSheet | $style = null |
| LOMServices | $lom_services |
| ilLogger | $log |
| int | $styleid = 0 |
| EditGUIRequest | $request |
| string | $sub_command = "" |
| int | $requested_ref_id = 0 |
| ILIAS GlobalScreen ScreenContext ContextServices | $tool_context |
| Style Content CharacteristicManager | $char_manager |
Additional Inherited Members | |
Static Public Member Functions inherited from ilPageContentGUI | |
| static | _getCommonBBButtons () |
Data Fields inherited from ilPageContentGUI | |
| ilPageContent | $content_obj |
| ilGlobalTemplateInterface | $tpl |
| ilLanguage | $lng |
| ilCtrl | $ctrl |
| ilPageObject | $pg_obj |
| string | $hier_id = "" |
| DOMDocument | $dom |
| array bool null | $updated = null |
| string | $target_script = "" |
| string | $return_location = "" |
| ilPageConfig | $page_config = null |
Static Public Attributes inherited from ilPageContentGUI | |
| static string | $style_selector_reset = "margin-top:2px; margin-bottom:2px; text-indent:0px; position:static; float:none; width: auto;" |
Static Protected Attributes inherited from ilPageContentGUI | |
| static array | $common_bb_buttons |
Class ilPCBlogGUI Handles user commands on blog data.
Definition at line 27 of file class.ilPCBlogGUI.php.
| ilPCBlogGUI::__construct | ( | ilPageObject | $a_pg_obj, |
| ?ilPageContent | $a_content_obj, | ||
| string | $a_hier_id, | ||
| string | $a_pc_id = "" |
||
| ) |
Reimplemented from ilPageContentGUI.
Definition at line 34 of file class.ilPCBlogGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilPCBlogGUI::create | ( | ) |
Create new blog.
Definition at line 140 of file class.ilPCBlogGUI.php.
References ILIAS\Repository\ctrl(), ilPageContentGUI\getPage(), initForm(), initPostingForm(), insert(), and insertPosting().
Here is the call graph for this function:| ilPCBlogGUI::edit | ( | ?ilPropertyFormGUI | $a_form = null | ) |
Definition at line 86 of file class.ilPCBlogGUI.php.
References ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), initForm(), and ILIAS\UICore\GlobalTemplate\setContent().
Referenced by update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCBlogGUI::editPosting | ( | int | $a_blog_id, |
| ?ilPropertyFormGUI | $a_form = null |
||
| ) |
Edit blog posting form.
Definition at line 220 of file class.ilPCBlogGUI.php.
Referenced by update().
Here is the caller graph for this function:| ilPCBlogGUI::executeCommand | ( | ) |
execute command
Definition at line 57 of file class.ilPCBlogGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:
|
protected |
Definition at line 98 of file class.ilPCBlogGUI.php.
References ilPageContentGUI\$ctrl, ILIAS\UI\Implementation\Component\Input\Field\$options, $user, ilObject\_lookupTitle(), and ILIAS\Repository\lng().
Referenced by create(), edit(), insert(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Init blog posting form.
Definition at line 237 of file class.ilPCBlogGUI.php.
Referenced by create(), and update().
Here is the caller graph for this function:| ilPCBlogGUI::insert | ( | ?ilPropertyFormGUI | $a_form = null | ) |
Definition at line 74 of file class.ilPCBlogGUI.php.
References ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), initForm(), and ILIAS\UICore\GlobalTemplate\setContent().
Referenced by create().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCBlogGUI::insertPosting | ( | int | $a_blog_id, |
| ?ilPropertyFormGUI | $a_form = null |
||
| ) |
Insert new blog posting form.
Definition at line 203 of file class.ilPCBlogGUI.php.
Referenced by create().
Here is the caller graph for this function:| ilPCBlogGUI::update | ( | ) |
Update blog.
Definition at line 171 of file class.ilPCBlogGUI.php.
References ILIAS\Repository\ctrl(), edit(), editPosting(), initForm(), and initPostingForm().
Here is the call graph for this function:
|
protected |
Definition at line 29 of file class.ilPCBlogGUI.php.
|
protected |
Definition at line 30 of file class.ilPCBlogGUI.php.
|
protected |
Definition at line 31 of file class.ilPCBlogGUI.php.
|
protected |
Definition at line 32 of file class.ilPCBlogGUI.php.
Referenced by initForm().