|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilPageLayout:Public Member Functions | |
| __construct (int $a_id=0) | |
| getActive () | |
| getDescription () | |
| setDescription (string $a_description) | |
| getTitle () | |
| setTitle (string $a_title) | |
| getId () | |
| setModules (array $a_values=[]) | |
| getModules () | |
| activate (bool $a_setting=true) | |
| (De-)Activate layout More... | |
| delete () | |
| Delete page layout. More... | |
| update () | |
| Update page layout. More... | |
| readObject () | |
| setXMLContent (string $content) | |
| getXMLContent () | |
| copyXmlContent (bool $self_ass=true) | |
| getPreview () | |
Static Public Member Functions | |
| static | getLayoutsAsArray (int $a_active=0) |
| static | getLayouts (bool $a_active=false, int $a_module=0) |
| static | activeLayouts (int $a_module=0) |
| Get active layouts. More... | |
| static | import (string $a_filename, string $a_filepath) |
| Import page layout. More... | |
| static | getAvailableModules () |
Data Fields | |
| const | SEQ_TEMPLATE_DIR = './Modules/Scorm2004/templates/editor/page_layouts_temp/thumbnails' |
| const | MODULE_SCORM = 1 |
| const | MODULE_PORTFOLIO = 2 |
| const | MODULE_LM = 3 |
| int | $layout_id = 0 |
| string | $title = "" |
| string | $description = "" |
| bool | $active = false |
| array | $modules = array() |
Protected Member Functions | |
| xslt (string $xml, array $params) | |
Protected Attributes | |
| string | $xml_content = null |
| ILIAS COPage Dom DomUtil | $dom_util |
| int | $special_page |
| int | $style_id |
| ilDBInterface | $db |
Private Member Functions | |
| getXSLPath () | |
| generatePreview () | |
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 for Page Layouts
Definition at line 24 of file class.ilPageLayout.php.
| ilPageLayout::__construct | ( | int | $a_id = 0 | ) |
Definition at line 42 of file class.ilPageLayout.php.
| ilPageLayout::activate | ( | bool | $a_setting = true | ) |
|
static |
Get active layouts.
Definition at line 337 of file class.ilPageLayout.php.
Referenced by ilChapterHierarchyFormGUI\__construct(), ilPCLayoutTemplateGUI\initCreationForm(), ilObjPortfolioBaseGUI\initPageForm(), ilPageConfig\loadParentKey(), and ilPageLayoutGUI\setTabs().
Here is the caller graph for this function:| ilPageLayout::copyXmlContent | ( | bool | $self_ass = true | ) |
Definition at line 221 of file class.ilPageLayout.php.
| ilPageLayout::delete | ( | ) |
Delete page layout.
Definition at line 147 of file class.ilPageLayout.php.
|
private |
Definition at line 237 of file class.ilPageLayout.php.
References $path, getXMLContent(), and xslt().
Referenced by getPreview().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageLayout::getActive | ( | ) |
|
static |
Definition at line 359 of file class.ilPageLayout.php.
Referenced by ilPageLayoutTableGUI\getPageLayouts(), ilPageLayoutAdministrationGUI\initAddPageLayoutForm(), ilPageLayoutGUI\initForm(), and setModules().
Here is the caller graph for this function:| ilPageLayout::getDescription | ( | ) |
| ilPageLayout::getId | ( | ) |
|
static |
Definition at line 298 of file class.ilPageLayout.php.
References $DIC, $ilDB, and ilDBConstants\FETCHMODE_ASSOC.
Referenced by ilPageLayoutAdministrationGUI\initAddPageLayoutForm().
Here is the caller graph for this function:
|
static |
Definition at line 277 of file class.ilPageLayout.php.
References $DIC, $ilDB, ilPageObject\_exists(), and ilDBConstants\FETCHMODE_ASSOC.
Referenced by ilPageLayoutTableGUI\getPageLayouts().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageLayout::getModules | ( | ) |
| ilPageLayout::getPreview | ( | ) |
Definition at line 227 of file class.ilPageLayout.php.
References generatePreview().
Here is the call graph for this function:| ilPageLayout::getTitle | ( | ) |
| ilPageLayout::getXMLContent | ( | ) |
Definition at line 212 of file class.ilPageLayout.php.
References $xml_content.
Referenced by generatePreview().
Here is the caller graph for this function:
|
private |
Definition at line 232 of file class.ilPageLayout.php.
Referenced by xslt().
Here is the caller graph for this function:
|
static |
Import page layout.
Definition at line 346 of file class.ilPageLayout.php.
Referenced by ilPageLayoutAdministrationGUI\importPageLayout().
Here is the caller graph for this function:| ilPageLayout::readObject | ( | ) |
Definition at line 184 of file class.ilPageLayout.php.
References $db, $ilDB, and setModules().
Here is the call graph for this function:| ilPageLayout::setDescription | ( | string | $a_description | ) |
Definition at line 83 of file class.ilPageLayout.php.
| ilPageLayout::setModules | ( | array | $a_values = [] | ) |
Definition at line 116 of file class.ilPageLayout.php.
References $valid, and getAvailableModules().
Referenced by readObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageLayout::setTitle | ( | string | $a_title | ) |
Definition at line 93 of file class.ilPageLayout.php.
| ilPageLayout::setXMLContent | ( | string | $content | ) |
Definition at line 207 of file class.ilPageLayout.php.
| ilPageLayout::update | ( | ) |
|
protected |
Definition at line 256 of file class.ilPageLayout.php.
References ILIAS\LTI\ToolProvider\$key, and getXSLPath().
Referenced by generatePreview().
Here is the call graph for this function:
Here is the caller graph for this function:| bool ilPageLayout::$active = false |
Definition at line 39 of file class.ilPageLayout.php.
Referenced by getActive().
|
protected |
Definition at line 35 of file class.ilPageLayout.php.
Referenced by activate(), delete(), readObject(), and update().
| string ilPageLayout::$description = "" |
Definition at line 38 of file class.ilPageLayout.php.
Referenced by getDescription().
|
protected |
Definition at line 31 of file class.ilPageLayout.php.
| int ilPageLayout::$layout_id = 0 |
Definition at line 36 of file class.ilPageLayout.php.
Referenced by getId().
| array ilPageLayout::$modules = array() |
Definition at line 40 of file class.ilPageLayout.php.
Referenced by getModules().
|
protected |
Definition at line 32 of file class.ilPageLayout.php.
|
protected |
Definition at line 33 of file class.ilPageLayout.php.
| string ilPageLayout::$title = "" |
Definition at line 37 of file class.ilPageLayout.php.
Referenced by getTitle().
|
protected |
Definition at line 30 of file class.ilPageLayout.php.
Referenced by getXMLContent().
| const ilPageLayout::MODULE_LM = 3 |
Definition at line 29 of file class.ilPageLayout.php.
Referenced by ilChapterHierarchyFormGUI\__construct(), ilPageLayoutTableGUI\fillRow(), ilLMPageConfig\init(), ilStructureObjectGUI\initInsertTemplateForm(), and ilLMPageObjectGUI\initNewPageForm().
| const ilPageLayout::MODULE_PORTFOLIO = 2 |
Definition at line 28 of file class.ilPageLayout.php.
Referenced by ilPageLayoutTableGUI\fillRow(), and ilObjPortfolioBaseGUI\initPageForm().
| const ilPageLayout::MODULE_SCORM = 1 |
Definition at line 27 of file class.ilPageLayout.php.
Referenced by ilPageLayoutTableGUI\fillRow().
| const ilPageLayout::SEQ_TEMPLATE_DIR = './Modules/Scorm2004/templates/editor/page_layouts_temp/thumbnails' |
Definition at line 26 of file class.ilPageLayout.php.