ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilPCListItemGUI Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilPCListItemGUI:
+ Collaboration diagram for ilPCListItemGUI:

Public Member Functions

 __construct (ilPageObject $a_pg_obj, ?ilPageContent $a_content_obj, string $a_hier_id, string $a_pc_id="")
 
 executeCommand ()
 
 newItemAfter ()
 insert new list item after current one More...
 
 newItemBefore ()
 insert new list item before current one More...
 
 deleteItem ()
 delete a list item More...
 
 moveItemDown ()
 move list item down More...
 
 moveItemUp ()
 move list item up 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 ()
 
 moveAfter ()
 move content element after another element More...
 
 moveBefore ()
 move content element before another element More...
 
 splitPage ()
 split page to new page at specified position More...
 
 splitPageNext ()
 split page to next page at specified position More...
 
 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...
 

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 = ""
 
php4DOMDocument $dom
 
 $updated
 
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;"
 
- Protected Member Functions inherited from ilPageContentGUI
 redirectToParent (string $hier_id="")
 
 getParentReturn (string $hier_id="")
 
 updateAndReturn ()
 
 setCurrentTextLang (string $lang_key)
 
 getCurrentTextLang ()
 
- Protected Attributes inherited from ilPageContentGUI
EditSessionRepository $edit_repo
 
string $pc_id = ""
 
array $chars
 
ilObjStyleSheet $style = null
 
ilLogger $log
 
int $styleid = 0
 
EditGUIRequest $request
 
string $sub_command = ""
 
int $requested_ref_id = 0
 
Style Content CharacteristicManager $char_manager
 
- Static Protected Attributes inherited from ilPageContentGUI
static array $common_bb_buttons
 

Detailed Description

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 ilPCListItemGUI Handles user commands on list items

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 24 of file class.ilPCListItemGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilPCListItemGUI::__construct ( ilPageObject  $a_pg_obj,
?ilPageContent  $a_content_obj,
string  $a_hier_id,
string  $a_pc_id = "" 
)

Definition at line 26 of file class.ilPCListItemGUI.php.

References ILIAS\GlobalScreen\Provider\__construct().

31  {
32  parent::__construct($a_pg_obj, $a_content_obj, $a_hier_id, $a_pc_id);
33  }
__construct(Container $dic, ilPlugin $plugin)
+ Here is the call graph for this function:

Member Function Documentation

◆ deleteItem()

ilPCListItemGUI::deleteItem ( )

delete a list item

Definition at line 72 of file class.ilPCListItemGUI.php.

References ilPageContentGUI\updateAndReturn().

72  : void
73  {
74  $this->content_obj->deleteItem();
75  $this->updateAndReturn();
76  }
+ Here is the call graph for this function:

◆ executeCommand()

ilPCListItemGUI::executeCommand ( )

Definition at line 35 of file class.ilPCListItemGUI.php.

References ILIAS\Repository\ctrl().

35  : void
36  {
37  // get next class that processes or forwards current command
38  $next_class = $this->ctrl->getNextClass($this);
39 
40  // get current command
41  $cmd = $this->ctrl->getCmd();
42 
43  switch ($next_class) {
44  default:
45  $this->$cmd();
46  break;
47  }
48  }
+ Here is the call graph for this function:

◆ moveItemDown()

ilPCListItemGUI::moveItemDown ( )

move list item down

Definition at line 81 of file class.ilPCListItemGUI.php.

References ilPageContentGUI\updateAndReturn().

81  : void
82  {
83  $this->content_obj->moveItemDown();
84  $this->updateAndReturn();
85  }
+ Here is the call graph for this function:

◆ moveItemUp()

ilPCListItemGUI::moveItemUp ( )

move list item up

Definition at line 90 of file class.ilPCListItemGUI.php.

References ilPageContentGUI\updateAndReturn().

90  : void
91  {
92  $this->content_obj->moveItemUp();
93  $this->updateAndReturn();
94  }
+ Here is the call graph for this function:

◆ newItemAfter()

ilPCListItemGUI::newItemAfter ( )

insert new list item after current one

Definition at line 54 of file class.ilPCListItemGUI.php.

References ilPageContentGUI\updateAndReturn().

54  : void
55  {
56  $this->content_obj->newItemAfter();
57  $this->updateAndReturn();
58  }
+ Here is the call graph for this function:

◆ newItemBefore()

ilPCListItemGUI::newItemBefore ( )

insert new list item before current one

Definition at line 63 of file class.ilPCListItemGUI.php.

References ilPageContentGUI\updateAndReturn().

63  : void
64  {
65  $this->content_obj->newItemBefore();
66  $this->updateAndReturn();
67  }
+ Here is the call graph for this function:

The documentation for this class was generated from the following file: