|
ILIAS
release_8 Revision v8.24
|
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 () | |
| 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 Attributes | |
| 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 40 of file class.ilPageLayout.php.
| ilPageLayout::activate | ( | bool | $a_setting = true | ) |
|
static |
Get active layouts.
Definition at line 315 of file class.ilPageLayout.php.
Referenced by ilChapterHierarchyFormGUI\__construct(), ilObjPortfolioGUI\initCreateForm(), and ilObjPortfolioBaseGUI\initPageForm().
Here is the caller graph for this function:| ilPageLayout::copyXmlContent | ( | bool | $self_ass = true | ) |
Definition at line 210 of file class.ilPageLayout.php.
| ilPageLayout::delete | ( | ) |
|
private |
Definition at line 226 of file class.ilPageLayout.php.
References $path, $res, $xml, DOMXML_LOAD_PARSING, domxml_open_mem(), xpath_eval(), xpath_new_context(), xslt_create(), xslt_error(), and xslt_free().
Here is the call graph for this function:| ilPageLayout::getActive | ( | ) |
|
static |
Definition at line 337 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 | ( | ) |
Definition at line 75 of file class.ilPageLayout.php.
References $description.
| ilPageLayout::getId | ( | ) |
|
static |
Definition at line 276 of file class.ilPageLayout.php.
Referenced by ilPageLayoutAdministrationGUI\initAddPageLayoutForm().
Here is the caller graph for this function:
|
static |
Definition at line 255 of file class.ilPageLayout.php.
Referenced by ilPageLayoutTableGUI\getPageLayouts().
Here is the caller graph for this function:| ilPageLayout::getModules | ( | ) |
| ilPageLayout::getPreview | ( | ) |
Definition at line 216 of file class.ilPageLayout.php.
| ilPageLayout::getTitle | ( | ) |
| ilPageLayout::getXMLContent | ( | ) |
Definition at line 204 of file class.ilPageLayout.php.
|
private |
Definition at line 221 of file class.ilPageLayout.php.
|
static |
Import page layout.
Definition at line 324 of file class.ilPageLayout.php.
Referenced by ilPageLayoutAdministrationGUI\importPageLayout().
Here is the caller graph for this function:| ilPageLayout::readObject | ( | ) |
Definition at line 181 of file class.ilPageLayout.php.
| ilPageLayout::setDescription | ( | string | $a_description | ) |
Definition at line 80 of file class.ilPageLayout.php.
| ilPageLayout::setModules | ( | array | $a_values = [] | ) |
Definition at line 113 of file class.ilPageLayout.php.
References $valid, and getAvailableModules().
Here is the call graph for this function:| ilPageLayout::setTitle | ( | string | $a_title | ) |
Definition at line 90 of file class.ilPageLayout.php.
| ilPageLayout::update | ( | ) |
Update page layout.
Definition at line 155 of file class.ilPageLayout.php.
| bool ilPageLayout::$active = false |
Definition at line 37 of file class.ilPageLayout.php.
Referenced by getActive().
|
protected |
Definition at line 33 of file class.ilPageLayout.php.
| string ilPageLayout::$description = "" |
Definition at line 36 of file class.ilPageLayout.php.
Referenced by getDescription().
| int ilPageLayout::$layout_id = 0 |
Definition at line 34 of file class.ilPageLayout.php.
Referenced by getId().
| array ilPageLayout::$modules = array() |
Definition at line 38 of file class.ilPageLayout.php.
Referenced by getModules().
|
protected |
Definition at line 30 of file class.ilPageLayout.php.
|
protected |
Definition at line 31 of file class.ilPageLayout.php.
| string ilPageLayout::$title = "" |
Definition at line 35 of file class.ilPageLayout.php.
Referenced by getTitle().
| const ilPageLayout::MODULE_LM = 3 |
Definition at line 29 of file class.ilPageLayout.php.
Referenced by ilChapterHierarchyFormGUI\__construct(), ilPageLayoutTableGUI\fillRow(), ilStructureObjectGUI\initInsertTemplateForm(), and ilLMPageObjectGUI\initNewPageForm().
| const ilPageLayout::MODULE_PORTFOLIO = 2 |
Definition at line 28 of file class.ilPageLayout.php.
Referenced by ilPageLayoutTableGUI\fillRow(), ilObjPortfolioGUI\initCreateForm(), 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.