ILIAS
trunk Revision v11.0_alpha-1713-gd8962da2f67
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
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... | |
![]() | |
__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... | |
![]() | |
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 | |
int | $requested_blog |
int | $requested_blog_id |
ilObjUser | $user |
![]() | |
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 | _getCommonBBButtons () |
![]() | |
ilPageContent | $content_obj |
ilGlobalTemplateInterface | $tpl |
ilLanguage | $lng |
ilCtrl | $ctrl |
ilPageObject | $pg_obj |
string | $hier_id = "" |
DOMDocument | $dom |
$updated | |
string | $target_script = "" |
string | $return_location = "" |
ilPageConfig | $page_config = null |
![]() | |
static string | $style_selector_reset = "margin-top:2px; margin-bottom:2px; text-indent:0px; position:static; float:none; width: auto;" |
![]() | |
static array | $common_bb_buttons |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilPCBlogGUI Handles user commands on blog data
Definition at line 25 of file class.ilPCBlogGUI.php.
ilPCBlogGUI::__construct | ( | ilPageObject | $a_pg_obj, |
?ilPageContent | $a_content_obj, | ||
string | $a_hier_id, | ||
string | $a_pc_id = "" |
||
) |
Definition at line 31 of file class.ilPCBlogGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
ilPCBlogGUI::create | ( | ) |
Create new blog.
Definition at line 135 of file class.ilPCBlogGUI.php.
References ILIAS\Repository\ctrl(), ilPageContentGUI\getPage(), initForm(), initPostingForm(), insert(), and insertPosting().
ilPCBlogGUI::edit | ( | ?ilPropertyFormGUI | $a_form = null | ) |
Definition at line 82 of file class.ilPCBlogGUI.php.
References ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), initForm(), and ILIAS\UICore\GlobalTemplate\setContent().
Referenced by update().
ilPCBlogGUI::editPosting | ( | int | $a_blog_id, |
?ilPropertyFormGUI | $a_form = null |
||
) |
Edit blog posting form.
Definition at line 215 of file class.ilPCBlogGUI.php.
References ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), initPostingForm(), and ILIAS\UICore\GlobalTemplate\setContent().
Referenced by update().
ilPCBlogGUI::executeCommand | ( | ) |
execute command
Definition at line 53 of file class.ilPCBlogGUI.php.
References ILIAS\Repository\ctrl().
|
protected |
Definition at line 94 of file class.ilPCBlogGUI.php.
References ilPageContentGUI\$ctrl, $user, ilObject\_lookupTitle(), ILIAS\Repository\lng(), ilBlogPosting\searchBlogsByAuthor(), and ilFormPropertyGUI\setRequired().
Referenced by create(), edit(), insert(), and update().
|
protected |
Init blog posting form.
Definition at line 232 of file class.ilPCBlogGUI.php.
References ilPageContentGUI\$ctrl, $post, $user, ilDatePresentation\formatDate(), ilBlogPosting\getAllPostings(), IL_CAL_DATETIME, ILIAS\Repository\lng(), and ilFormPropertyGUI\setRequired().
Referenced by create(), editPosting(), insertPosting(), and update().
ilPCBlogGUI::insert | ( | ?ilPropertyFormGUI | $a_form = null | ) |
Definition at line 70 of file class.ilPCBlogGUI.php.
References ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), initForm(), and ILIAS\UICore\GlobalTemplate\setContent().
Referenced by create().
ilPCBlogGUI::insertPosting | ( | int | $a_blog_id, |
?ilPropertyFormGUI | $a_form = null |
||
) |
Insert new blog posting form.
Definition at line 198 of file class.ilPCBlogGUI.php.
References ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), initPostingForm(), and ILIAS\UICore\GlobalTemplate\setContent().
Referenced by create().
ilPCBlogGUI::update | ( | ) |
Update blog.
Definition at line 166 of file class.ilPCBlogGUI.php.
References ILIAS\Repository\ctrl(), edit(), editPosting(), initForm(), and initPostingForm().
|
protected |
Definition at line 27 of file class.ilPCBlogGUI.php.
|
protected |
Definition at line 28 of file class.ilPCBlogGUI.php.
|
protected |
Definition at line 29 of file class.ilPCBlogGUI.php.
Referenced by initForm(), and initPostingForm().