◆ __construct()
ILIAS\COPage\PC\LayoutTemplate\LayoutTemplateCommandActionHandler::__construct |
( |
\ilPageObjectGUI |
$page_gui | ) |
|
◆ handle()
ILIAS\COPage\PC\LayoutTemplate\LayoutTemplateCommandActionHandler::handle |
( |
array |
$query, |
|
|
array |
$body |
|
) |
| |
◆ insertCommand()
ILIAS\COPage\PC\LayoutTemplate\LayoutTemplateCommandActionHandler::insertCommand |
( |
array |
$body | ) |
|
|
protected |
Definition at line 57 of file class.LayoutTemplateCommandActionHandler.php.
Referenced by ILIAS\COPage\PC\LayoutTemplate\LayoutTemplateCommandActionHandler\handle().
59 $page = $this->page_gui->getPageObject();
63 if (!in_array($body[
"after_pcid"], [
"",
"pg"])) {
64 $hier_ids = $page->getHierIdsForPCIds([$body[
"after_pcid"]]);
65 $hier_id = $hier_ids[$body[
"after_pcid"]];
66 $pc_id = $body[
"after_pcid"];
69 $lay = new \ilPCLayoutTemplate($page);
70 $lay->create($page, $hier_id, $pc_id, (
int) $body[
"tmpl"]);
71 $updated = $page->update();
73 return $this->ui_wrapper->sendPage($this->page_gui, $updated);
◆ $lng
ilLanguage ILIAS\COPage\PC\LayoutTemplate\LayoutTemplateCommandActionHandler::$lng |
|
protected |
◆ $page_gui
ilPageObjectGUI ILIAS\COPage\PC\LayoutTemplate\LayoutTemplateCommandActionHandler::$page_gui |
|
protected |
◆ $ui
ILIAS DI UIServices ILIAS\COPage\PC\LayoutTemplate\LayoutTemplateCommandActionHandler::$ui |
|
protected |
◆ $ui_wrapper
Server UIWrapper ILIAS\COPage\PC\LayoutTemplate\LayoutTemplateCommandActionHandler::$ui_wrapper |
|
protected |
◆ $user
ilObjUser ILIAS\COPage\PC\LayoutTemplate\LayoutTemplateCommandActionHandler::$user |
|
protected |
The documentation for this class was generated from the following file: