| ILIAS
    release_5-3 Revision v5.3.23-19-g915713cf615
    | 
HTML export class for pages. More...
 Collaboration diagram for ilCOPageHTMLExport:
 Collaboration diagram for ilCOPageHTMLExport:| Public Member Functions | |
| __construct ($a_exp_dir) | |
| ilCOPageHTMLExport constructor.  More... | |
| setContentStyleId ($a_val) | |
| Set content style id.  More... | |
| getContentStyleId () | |
| Get content style id.  More... | |
| createDirectories () | |
| Create directories.  More... | |
| exportStyles () | |
| Export content style.  More... | |
| exportSupportScripts () | |
| Export support scripts.  More... | |
| getPreparedMainTemplate ($a_tpl="") | |
| Get prepared main template.  More... | |
| collectPageElements ($a_type, $a_id) | |
| Collect page elements (that need to be exported separately)  More... | |
| exportPageElements ($a_update_callback=null) | |
| Export page elements.  More... | |
| exportHTMLMOB ($a_mob_id, &$a_linked_mobs) | |
| Export media object to html.  More... | |
| exportHTMLFile ($a_file_id) | |
| Export file object.  More... | |
| exportHTMLFileDirect ($a_file_id, $a_source_file, $a_file_name) | |
| Export file from path.  More... | |
| Protected Attributes | |
| $mobs = array() | |
| $files = array() | |
| $files_direct = array() | |
| $exp_dir = "" | |
| $content_style_id = 0 | |
| $user | |
| $log | |
| ilCOPageHTMLExport::__construct | ( | $a_exp_dir | ) | 
ilCOPageHTMLExport constructor.
| $a_exp_dir | 
Definition at line 52 of file class.ilCOPageHTMLExport.php.
References $DIC, ilPlayerUtil\getFlashVideoPlayerDirectory(), ilLoggerFactory\getLogger(), and user().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilCOPageHTMLExport::collectPageElements | ( | $a_type, | |
| $a_id | |||
| ) | 
Collect page elements (that need to be exported separately)
| string | $a_pg_type | page type | 
| int | $a_pg_id | page id | 
Definition at line 351 of file class.ilCOPageHTMLExport.php.
References $a_type, $files, ilObjFile\_getFilesOfObject(), ilObjMediaObject\_getMobsOfObject(), ilSkillTemplateReference\_lookupTemplateId(), ilObject\_lookupType(), ilSkillTreeNode\_lookupType(), ilPersonalSkill\getAssignedMaterial(), ilSkillTreeNodeFactory\getInstance(), and ilPageContentUsage\getUsagesOfPage().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilCOPageHTMLExport::createDirectories | ( | ) | 
Create directories.
return
Definition at line 103 of file class.ilCOPageHTMLExport.php.
References ilUtil\makeDir().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilCOPageHTMLExport::exportHTMLFile | ( | $a_file_id | ) | 
Export file object.
Definition at line 585 of file class.ilCOPageHTMLExport.php.
References ilUtil\makeDir().
Referenced by exportPageElements().
 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:| ilCOPageHTMLExport::exportHTMLFileDirect | ( | $a_file_id, | |
| $a_source_file, | |||
| $a_file_name | |||
| ) | 
Export file from path.
Definition at line 604 of file class.ilCOPageHTMLExport.php.
References ilUtil\getASCIIFilename(), and ilUtil\makeDir().
Referenced by exportPageElements().
 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:| ilCOPageHTMLExport::exportHTMLMOB | ( | $a_mob_id, | |
| & | $a_linked_mobs | ||
| ) | 
Export media object to html.
Definition at line 523 of file class.ilCOPageHTMLExport.php.
References $file, $output, $tpl, getPreparedMainTemplate(), ilUtil\getWebspaceDir(), IL_MODE_ALIAS, IL_MODE_OUTPUT, ilUtil\makeDir(), ilUtil\rCopy(), xslt_create(), and xslt_free().
Referenced by exportPageElements().
 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:| ilCOPageHTMLExport::exportPageElements | ( | $a_update_callback = null | ) | 
Export page elements.
return
Definition at line 476 of file class.ilCOPageHTMLExport.php.
References $file, $total, ilObject\_exists(), ilObject\_lookupType(), exportHTMLFile(), exportHTMLFileDirect(), and exportHTMLMOB().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilCOPageHTMLExport::exportStyles | ( | ) | 
Export content style.
return
Definition at line 127 of file class.ilCOPageHTMLExport.php.
References $files, $style, getContentStyleId(), and ilObjStyleSheet\getSyntaxStylePath().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilCOPageHTMLExport::exportSupportScripts | ( | ) | 
Export support scripts.
return
Definition at line 165 of file class.ilCOPageHTMLExport.php.
References ilPlayerUtil\copyPlayerFilesToTargetDirectory(), ilAccordionGUI\getLocalCssFiles(), ilAccordionGUI\getLocalJavascriptFiles(), iljQueryUtil\getLocaljQueryPath(), iljQueryUtil\getLocaljQueryUIPath(), ilLinkifyUtil\getLocalJsPaths(), iljQueryUtil\getLocalMaphilightPath(), ilYuiUtil\getLocalPath(), and ilUtil\makeDirParents().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilCOPageHTMLExport::getContentStyleId | ( | ) | 
Get content style id.
Definition at line 92 of file class.ilCOPageHTMLExport.php.
References $content_style_id.
Referenced by exportStyles().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCOPageHTMLExport::getPreparedMainTemplate | ( | $a_tpl = "" | ) | 
Get prepared main template.
return
Definition at line 283 of file class.ilCOPageHTMLExport.php.
References $mathJaxSetting, $tpl, ilPlayerUtil\getCssFilePaths(), ilPlayerUtil\getJsFilePaths(), ilAccordionGUI\getLocalCssFiles(), ilAccordionGUI\getLocalJavascriptFiles(), and user().
Referenced by exportHTMLMOB().
 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:| ilCOPageHTMLExport::setContentStyleId | ( | $a_val | ) | 
Set content style id.
| int | $a_val | content style id | 
Definition at line 82 of file class.ilCOPageHTMLExport.php.
| 
 | protected | 
Definition at line 36 of file class.ilCOPageHTMLExport.php.
Referenced by getContentStyleId().
| 
 | protected | 
Definition at line 31 of file class.ilCOPageHTMLExport.php.
| 
 | protected | 
Definition at line 21 of file class.ilCOPageHTMLExport.php.
Referenced by collectPageElements(), and exportStyles().
| 
 | protected | 
Definition at line 26 of file class.ilCOPageHTMLExport.php.
| 
 | protected | 
Definition at line 46 of file class.ilCOPageHTMLExport.php.
| 
 | protected | 
Definition at line 16 of file class.ilCOPageHTMLExport.php.
| 
 | protected | 
Definition at line 41 of file class.ilCOPageHTMLExport.php.