| ILIAS
    Release_4_3_x_branch Revision 61807
    | 
Class ilPageLayout. More...
 Collaboration diagram for ilPageLayout:
 Collaboration diagram for ilPageLayout:| Public Member Functions | |
| ilPageLayout ($a_id=null) | |
| getActive () | |
| getDescription () | |
| setDescription ($a_description) | |
| getTitle () | |
| setTitle ($a_title) | |
| getId () | |
| setStyleId ($a_val) | |
| Set style id. | |
| getStyleId () | |
| Get style id. | |
| setSpecialPage ($a_val) | |
| Set special page. | |
| getSpecialPage () | |
| Get special page. | |
| setModules (array $a_values=null) | |
| Set modules. | |
| getModules () | |
| Get modules. | |
| activate ($a_setting=true) | |
| (De-)Activate layout | |
| delete () | |
| Delete page layout. | |
| update () | |
| Update page layout. | |
| readObject () | |
| Read page layout. | |
| getXMLContent () | |
| Get xml content. | |
| getPreview () | |
| Get preview. | |
| Static Public Member Functions | |
| static | getLayoutsAsArray ($a_active=0) | 
| Static access functions. | |
| static | getLayouts ($a_active=false, $a_special_page=false, $a_module=null) | 
| Get layouts. | |
| static | activeLayouts ($a_special_page=false, $a_module=null) | 
| Get active layouts. | |
| static | import ($a_filename, $a_filepath) | 
| Import page layout. | |
| static | getAvailableModules () | 
| Data Fields | |
| const | SEQ_TEMPLATE_DIR = './Modules/Scorm2004/templates/editor/page_layouts_temp/thumbnails' | 
| const | MODULE_SCORM = 1 | 
| const | MODULE_PORTFOLIO = 2 | 
| $layout_id = null | |
| $title = null | |
| $description = null | |
| $active = null | |
| $modules = array() | |
| Private Member Functions | |
| getXSLPath () | |
| generatePreview () | |
Class ilPageLayout.
Class for Page Layouts
Definition at line 14 of file class.ilPageLayout.php.
| ilPageLayout::activate | ( | $a_setting = true | ) | 
(De-)Activate layout
| boolean | $a_setting | true/false | 
Definition at line 139 of file class.ilPageLayout.php.
| 
 | static | 
Get active layouts.
Definition at line 331 of file class.ilPageLayout.php.
References getLayouts().
Referenced by ilSCORM2004OrganizationHFormGUI\getMenuItems(), ilObjPortfolioGUI\initForm(), ilObjPortfolioGUI\initPageForm(), and ilObjSCORM2004LearningModuleGUI\insertTemplateGUI().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageLayout::delete | ( | ) | 
| 
 | private | 
Definition at line 245 of file class.ilPageLayout.php.
References $path, $res, DOMXML_LOAD_PARSING, domxml_open_mem(), getXMLContent(), getXSLPath(), xpath_eval(), xpath_new_context(), xslt_create(), xslt_error(), xslt_free(), and xslt_process().
Referenced by getPreview().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageLayout::getActive | ( | ) | 
| 
 | static | 
Definition at line 352 of file class.ilPageLayout.php.
References $lng.
Referenced by ilPageLayoutTableGUI\getPageLayouts(), ilObjStyleSettingsGUI\initAddPageLayoutForm(), ilPageLayoutGUI\initForm(), and setModules().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageLayout::getDescription | ( | ) | 
Definition at line 58 of file class.ilPageLayout.php.
References $description.
| ilPageLayout::getId | ( | ) | 
Definition at line 74 of file class.ilPageLayout.php.
References $layout_id.
| 
 | static | 
Get layouts.
Definition at line 299 of file class.ilPageLayout.php.
References $query, $result, $row, DB_FETCHMODE_ASSOC, and ilPageLayout().
Referenced by activeLayouts(), and ilObjStyleSettingsGUI\initAddPageLayoutForm().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Static access functions.
Definition at line 279 of file class.ilPageLayout.php.
References $active, $query, $result, $row, and DB_FETCHMODE_ASSOC.
Referenced by ilPageLayoutTableGUI\getPageLayouts().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageLayout::getModules | ( | ) | 
| ilPageLayout::getPreview | ( | ) | 
Get preview.
Definition at line 235 of file class.ilPageLayout.php.
References generatePreview().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageLayout::getSpecialPage | ( | ) | 
Get special page.
Definition at line 105 of file class.ilPageLayout.php.
Referenced by update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageLayout::getStyleId | ( | ) | 
Get style id.
Definition at line 89 of file class.ilPageLayout.php.
Referenced by update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageLayout::getTitle | ( | ) | 
| ilPageLayout::getXMLContent | ( | ) | 
Get xml content.
Definition at line 220 of file class.ilPageLayout.php.
References $row, and DB_FETCHMODE_ASSOC.
Referenced by generatePreview().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Definition at line 241 of file class.ilPageLayout.php.
Referenced by generatePreview().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageLayout::ilPageLayout | ( | $a_id = null | ) | 
Definition at line 28 of file class.ilPageLayout.php.
Referenced by getLayouts().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Import page layout.
| string | $a_filename | file name | 
| string | $a_fiepath | complete path (incl. name) to file | 
Definition at line 344 of file class.ilPageLayout.php.
Referenced by ilObjStyleSettingsGUI\importPageLayoutObject().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageLayout::readObject | ( | ) | 
Read page layout.
Definition at line 191 of file class.ilPageLayout.php.
References $query, $result, $row, MODULE_PORTFOLIO, MODULE_SCORM, setModules(), setSpecialPage(), and setStyleId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageLayout::setDescription | ( | $a_description | ) | 
Definition at line 62 of file class.ilPageLayout.php.
| ilPageLayout::setModules | ( | array | $a_values = null | ) | 
Set modules.
Definition at line 113 of file class.ilPageLayout.php.
References $valid, and getAvailableModules().
Referenced by readObject().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageLayout::setSpecialPage | ( | $a_val | ) | 
Set special page.
Definition at line 97 of file class.ilPageLayout.php.
Referenced by readObject().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageLayout::setStyleId | ( | $a_val | ) | 
Set style id.
Definition at line 81 of file class.ilPageLayout.php.
Referenced by readObject().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPageLayout::setTitle | ( | $a_title | ) | 
Definition at line 70 of file class.ilPageLayout.php.
| ilPageLayout::update | ( | ) | 
Update page layout.
Definition at line 162 of file class.ilPageLayout.php.
References $query, $result, getSpecialPage(), and getStyleId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPageLayout::$active = null | 
Definition at line 25 of file class.ilPageLayout.php.
Referenced by getActive(), and getLayoutsAsArray().
| ilPageLayout::$description = null | 
Definition at line 24 of file class.ilPageLayout.php.
Referenced by getDescription().
| ilPageLayout::$layout_id = null | 
Definition at line 22 of file class.ilPageLayout.php.
Referenced by getId().
| ilPageLayout::$modules = array() | 
Definition at line 26 of file class.ilPageLayout.php.
Referenced by getModules().
| ilPageLayout::$title = null | 
Definition at line 23 of file class.ilPageLayout.php.
Referenced by getTitle().
| const ilPageLayout::MODULE_PORTFOLIO = 2 | 
Definition at line 20 of file class.ilPageLayout.php.
Referenced by ilPageLayoutTableGUI\fillRow(), ilObjPortfolioGUI\initForm(), ilObjPortfolioGUI\initPageForm(), and readObject().
| const ilPageLayout::MODULE_SCORM = 1 | 
Definition at line 19 of file class.ilPageLayout.php.
Referenced by ilPageLayoutTableGUI\fillRow(), ilObjSCORM2004LearningModuleGUI\insertTemplateGUI(), and readObject().
| const ilPageLayout::SEQ_TEMPLATE_DIR = './Modules/Scorm2004/templates/editor/page_layouts_temp/thumbnails' | 
Definition at line 17 of file class.ilPageLayout.php.