|
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 ilCOPageHTMLExport:Public Member Functions | |
| __construct (string $a_exp_dir, \ILIAS\COPage\PageLinker $linker=null, int $ref_id=0) | |
| setContentStyleId (int $a_val) | |
| getContentStyleId () | |
| createDirectories () | |
| exportStyles () | |
| Export content style. More... | |
| exportSupportScripts () | |
| Export support scripts. More... | |
| getPreparedMainTemplate (ilGlobalTemplateInterface $a_tpl=null) | |
| collectPageElements (string $a_type, int $a_id, string $lang="") | |
| Collect page elements (that need to be exported separately) More... | |
| exportPageElements (callable $a_update_callback=null) | |
| Export page elements. More... | |
| exportHTMLMOB (int $a_mob_id, array &$a_linked_mobs) | |
| Export media object to html. More... | |
| exportHTMLFile (string $a_file_id) | |
| Export file object. More... | |
| exportHTMLFileDirect (string $a_file_id, string $a_source_file, string $a_file_name) | |
| Export file from path. More... | |
| exportHTMLGlossaryTerms () | |
Protected Member Functions | |
| exportResourceFile (string $target_dir, string $file) | |
| initResourceTemplate (string $template_file) | |
| Get resource template. More... | |
| renderMob (\ilObjMediaObject $mob_obj, string $link_xml, array $params) | |
| Render Mob. More... | |
| exportQuestionFiles () | |
| Export question images. More... | |
Protected Attributes | |
| ILIAS COPage Xsl XslManager | $xsl |
| string | $mp3_dir = "" |
| string | $flv_dir = "" |
| string | $css_dir = "" |
| string | $js_yahoo_dir = "" |
| string | $js_dir = "" |
| string | $media_service_dir = "" |
| string | $services_dir = "" |
| string | $content_style_img_dir = "" |
| string | $content_style_dir = "" |
| string | $tex_dir = "" |
| string | $files_dir = "" |
| string | $mobs_dir = "" |
| array | $mobs = [] |
| array | $glossary_terms = [] |
| array | $files = [] |
| array | $files_direct = [] |
| array | $int_links = [] |
| array | $q_ids = [] |
| string | $exp_dir = "" |
| int | $content_style_id = 0 |
| ilObjUser | $user |
| ilLogger | $log |
| ILIAS GlobalScreen Services | $global_screen |
| ILIAS Skill Service SkillTreeService | $skill_tree_service |
| ILIAS Skill Service SkillPersonalService | $skill_personal_service |
| ILIAS COPage PageLinker | $page_linker |
| int | $ref_id |
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 HTML export class for pages
Definition at line 24 of file class.ilCOPageHTMLExport.php.
| ilCOPageHTMLExport::__construct | ( | string | $a_exp_dir, |
| \ILIAS\COPage\PageLinker | $linker = null, |
||
| int | $ref_id = 0 |
||
| ) |
Definition at line 55 of file class.ilCOPageHTMLExport.php.
References $DIC, $ref_id, ilPlayerUtil\getFlashVideoPlayerDirectory(), ilLoggerFactory\getLogger(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilCOPageHTMLExport::collectPageElements | ( | string | $a_type, |
| int | $a_id, | ||
| string | $lang = "" |
||
| ) |
Collect page elements (that need to be exported separately)
Definition at line 233 of file class.ilCOPageHTMLExport.php.
References Vendor\Package\$f, $lang, ilObjMediaObject\_getMobsOfObject(), ilPCQuestion\_getQuestionIdsForPage(), ilInternalLink\_getTargetsOfSource(), ilSkillTemplateReference\_lookupTemplateId(), ilObject\_lookupTitle(), ilSkillTreeNode\_lookupType(), ilObject\_lookupType(), ilSkillTreeNodeFactory\getInstance(), ilPageContentUsage\getUsagesOfPage(), and ILIAS\Repository\int().
Referenced by ILIAS\Blog\Export\BlogHtmlExport\collectAllPagesPageElements().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCOPageHTMLExport::createDirectories | ( | ) |
Definition at line 100 of file class.ilCOPageHTMLExport.php.
References ilFileUtils\makeDir(), and ilFileUtils\makeDirParents().
Here is the call graph for this function:| ilCOPageHTMLExport::exportHTMLFile | ( | string | $a_file_id | ) |
Export file object.
Definition at line 546 of file class.ilCOPageHTMLExport.php.
References ilFileUtils\makeDir().
Referenced by exportPageElements().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCOPageHTMLExport::exportHTMLFileDirect | ( | string | $a_file_id, |
| string | $a_source_file, | ||
| string | $a_file_name | ||
| ) |
Export file from path.
Definition at line 564 of file class.ilCOPageHTMLExport.php.
References ilFileUtils\getASCIIFilename(), and ilFileUtils\makeDir().
Referenced by exportPageElements().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCOPageHTMLExport::exportHTMLGlossaryTerms | ( | ) |
Definition at line 597 of file class.ilCOPageHTMLExport.php.
References ilGlossaryTerm\_exists(), and initResourceTemplate().
Referenced by exportPageElements().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCOPageHTMLExport::exportHTMLMOB | ( | int | $a_mob_id, |
| array & | $a_linked_mobs | ||
| ) |
Export media object to html.
Definition at line 472 of file class.ilCOPageHTMLExport.php.
References $params, $ref_id, ilMediaItem\_getMapAreasIntLinks(), ilUtil\getImagePath(), ilFileUtils\getWebspaceDir(), initResourceTemplate(), ilObjMediaObject\isTypeAllowed(), ilFileUtils\makeDir(), ilFileUtils\rCopy(), and renderMob().
Referenced by exportPageElements().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCOPageHTMLExport::exportPageElements | ( | callable | $a_update_callback = null | ) |
Export page elements.
Definition at line 405 of file class.ilCOPageHTMLExport.php.
References ilObject\_exists(), ilObject\_lookupType(), exportHTMLFile(), exportHTMLFileDirect(), exportHTMLGlossaryTerms(), exportHTMLMOB(), and exportQuestionFiles().
Here is the call graph for this function:
|
protected |
Export question images.
Definition at line 583 of file class.ilCOPageHTMLExport.php.
References ilFileUtils\getWebspaceDir(), ilFileUtils\makeDirParents(), and ilFileUtils\rCopy().
Referenced by exportPageElements().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 176 of file class.ilCOPageHTMLExport.php.
References ilFileUtils\makeDirParents().
Referenced by exportStyles(), and exportSupportScripts().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCOPageHTMLExport::exportStyles | ( | ) |
Export content style.
Definition at line 124 of file class.ilCOPageHTMLExport.php.
References exportResourceFile(), ilObjStyleSheet\getBasicImageDir(), ilObjStyleSheet\getContentPrintStyle(), getContentStyleId(), ilObjStyleSheet\getContentStylePath(), ilObjStyleSheet\getSyntaxStylePath(), ilFileUtils\makeDirParents(), and ilFileUtils\rCopy().
Here is the call graph for this function:| ilCOPageHTMLExport::exportSupportScripts | ( | ) |
Export support scripts.
Definition at line 159 of file class.ilCOPageHTMLExport.php.
References ilPlayerUtil\copyPlayerFilesToTargetDirectory(), exportResourceFile(), and ilPageObjectGUI\OFFLINE.
Here is the call graph for this function:| ilCOPageHTMLExport::getContentStyleId | ( | ) |
Definition at line 95 of file class.ilCOPageHTMLExport.php.
References $content_style_id.
Referenced by exportStyles(), getPreparedMainTemplate(), and initResourceTemplate().
Here is the caller graph for this function:| ilCOPageHTMLExport::getPreparedMainTemplate | ( | ilGlobalTemplateInterface | $a_tpl = null | ) |
Definition at line 192 of file class.ilCOPageHTMLExport.php.
References $DIC, getContentStyleId(), ilObjStyleSheet\getContentStylePath(), ilUtil\getStyleSheetLocation(), ilObjStyleSheet\getSyntaxStylePath(), and ilPageObjectGUI\OFFLINE.
Referenced by initResourceTemplate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Get resource template.
Definition at line 457 of file class.ilCOPageHTMLExport.php.
References getContentStyleId(), ilObjStyleSheet\getContentStylePath(), getPreparedMainTemplate(), ilUtil\getStyleSheetLocation(), and ilObjStyleSheet\getSyntaxStylePath().
Referenced by exportHTMLGlossaryTerms(), and exportHTMLMOB().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Render Mob.
Definition at line 528 of file class.ilCOPageHTMLExport.php.
References ilObjMediaObject\getXML(), IL_MODE_ALIAS, and IL_MODE_OUTPUT.
Referenced by exportHTMLMOB().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCOPageHTMLExport::setContentStyleId | ( | int | $a_val | ) |
Definition at line 90 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 35 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 46 of file class.ilCOPageHTMLExport.php.
Referenced by getContentStyleId().
|
protected |
Definition at line 34 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 29 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 45 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 41 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 37 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 42 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 28 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 49 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 40 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 43 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 31 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 30 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 48 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 32 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 39 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 38 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 27 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 52 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 44 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 53 of file class.ilCOPageHTMLExport.php.
Referenced by __construct(), and exportHTMLMOB().
|
protected |
Definition at line 33 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 51 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 50 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 36 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 47 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 26 of file class.ilCOPageHTMLExport.php.