ILIAS
trunk Revision v11.0_alpha-1861-g09f3d197f78
|
Public Member Functions | |
setPrintVersion (bool $print_version) | |
includeComments (bool $a_include_comments) | |
exportHTML () | |
Export HTML. More... | |
zipPackage () | |
exportHTMLPages (?string $a_link_template=null, ?\Closure $a_tpl_callback=null, ?\ilCOPageHTMLExport $a_co_page_html_export=null, string $a_index_name="index.html") | |
Export all pages (note: this one is called from the portfolio html export!) More... | |
exportHTMLPagesPrint () | |
Export all pages as one print version. More... | |
collectAllPagesPageElements (\ilCOPageHTMLExport $co_page_html_export) | |
delete () | |
getFilePath () | |
Static Public Member Functions | |
static | buildExportLink (string $a_template, string $a_type, string $a_id, array $keywords) |
Build static export link. More... | |
Protected Member Functions | |
init () | |
initDirectories () | |
exportUserImages () | |
getInitialisedTemplate (string $a_back_url="") | |
Get initialised template. More... | |
writeExportFile (string $a_file, \ilGlobalPageTemplate $a_tpl, string $a_content, string $a_right_content="", bool $a_back=false, string $comments="") | |
Write HTML to file. More... | |
Protected Attributes | |
ILIAS components Export HTML ExportCollector | $collector |
ilObjBlog | $blog |
ilObjBlogGUI | $blog_gui |
string | $export_dir |
string | $sub_dir |
string | $target_dir |
ILIAS GlobalScreen Services | $global_screen |
Util | $export_util |
ilCOPageHTMLExport | $co_page_html_export |
ilLanguage | $lng |
ilTabsGUI | $tabs |
array | $items |
array | $keywords |
bool | $include_comments = false |
bool | $print_version = false |
ILIAS Style Content Object ObjectFacade | $content_style_domain |
Static Protected Attributes | |
static array | $keyword_export_map |
static bool | $export_key_set = false |
Definition at line 26 of file BlogHtmlExport.php.
|
static |
ILIAS\Wiki\Export\BlogHtmlExport::collectAllPagesPageElements | ( | \ilCOPageHTMLExport | $co_page_html_export | ) |
Definition at line 310 of file BlogHtmlExport.php.
References ilPageObject\_exists(), ilCOPageHTMLExport\collectPageElements(), and ilBlogPosting\getAllPostings().
Referenced by ILIAS\Wiki\Export\BlogHtmlExport\exportHTMLPagesPrint().
ILIAS\Wiki\Export\BlogHtmlExport::delete | ( | ) |
Definition at line 426 of file BlogHtmlExport.php.
ILIAS\Wiki\Export\BlogHtmlExport::exportHTML | ( | ) |
Export HTML.
Definition at line 116 of file BlogHtmlExport.php.
References ILIAS\Wiki\Export\BlogHtmlExport\exportHTMLPages(), ILIAS\Wiki\Export\BlogHtmlExport\exportHTMLPagesPrint(), ILIAS\Wiki\Export\BlogHtmlExport\initDirectories(), and ILIAS\Wiki\Export\BlogHtmlExport\zipPackage().
ILIAS\Wiki\Export\BlogHtmlExport::exportHTMLPages | ( | ?string | $a_link_template = null , |
?\Closure | $a_tpl_callback = null , |
||
?\ilCOPageHTMLExport | $a_co_page_html_export = null , |
||
string | $a_index_name = "index.html" |
||
) |
Export all pages (note: this one is called from the portfolio html export!)
Definition at line 177 of file BlogHtmlExport.php.
References $comments, ILIAS\Wiki\Export\BlogHtmlExport\$include_comments, ilPageObject\_exists(), ilBlogPosting\getAllPostings(), ILIAS\Wiki\Export\BlogHtmlExport\getInitialisedTemplate(), IL_CAL_DATE, null, and ILIAS\Wiki\Export\BlogHtmlExport\writeExportFile().
Referenced by ILIAS\Wiki\Export\BlogHtmlExport\exportHTML().
ILIAS\Wiki\Export\BlogHtmlExport::exportHTMLPagesPrint | ( | ) |
Export all pages as one print version.
Definition at line 298 of file BlogHtmlExport.php.
References ILIAS\Wiki\Export\BlogHtmlExport\collectAllPagesPageElements().
Referenced by ILIAS\Wiki\Export\BlogHtmlExport\exportHTML().
|
protected |
Definition at line 149 of file BlogHtmlExport.php.
ILIAS\Wiki\Export\BlogHtmlExport::getFilePath | ( | ) |
Definition at line 431 of file BlogHtmlExport.php.
|
protected |
Get initialised template.
Definition at line 353 of file BlogHtmlExport.php.
References $DIC, ilObjStyleSheet\getExportContentStylePath(), ilUtil\getStyleSheetLocation(), ILIAS\Repository\lng(), and ilPCQuestion\resetInitialState().
Referenced by ILIAS\Wiki\Export\BlogHtmlExport\exportHTMLPages().
ILIAS\Wiki\Export\BlogHtmlExport::includeComments | ( | bool | $a_include_comments | ) |
Definition at line 98 of file BlogHtmlExport.php.
|
protected |
Definition at line 89 of file BlogHtmlExport.php.
|
protected |
Definition at line 104 of file BlogHtmlExport.php.
References ilFileUtils\delDir(), and ilFileUtils\makeDir().
Referenced by ILIAS\Wiki\Export\BlogHtmlExport\exportHTML().
ILIAS\Wiki\Export\BlogHtmlExport::setPrintVersion | ( | bool | $print_version | ) |
Definition at line 93 of file BlogHtmlExport.php.
References ILIAS\Wiki\Export\BlogHtmlExport\$print_version.
|
protected |
Write HTML to file.
Definition at line 386 of file BlogHtmlExport.php.
References $comments, ilGlobalPageTemplate\printToString(), ilGlobalPageTemplate\setContent(), and ilGlobalPageTemplate\setRightContent().
Referenced by ILIAS\Wiki\Export\BlogHtmlExport\exportHTMLPages().
ILIAS\Wiki\Export\BlogHtmlExport::zipPackage | ( | ) |
Definition at line 157 of file BlogHtmlExport.php.
References ILIAS\Wiki\Export\BlogHtmlExport\$include_comments, ilExport\_getExportDirectory(), ilFileUtils\delDir(), IL_INST_ID, and ilFileUtils\zip().
Referenced by ILIAS\Wiki\Export\BlogHtmlExport\exportHTML().
|
protected |
Definition at line 29 of file BlogHtmlExport.php.
|
protected |
Definition at line 30 of file BlogHtmlExport.php.
|
protected |
Definition at line 36 of file BlogHtmlExport.php.
|
protected |
Definition at line 28 of file BlogHtmlExport.php.
|
protected |
Definition at line 45 of file BlogHtmlExport.php.
|
protected |
Definition at line 31 of file BlogHtmlExport.php.
|
staticprotected |
Definition at line 44 of file BlogHtmlExport.php.
|
protected |
Definition at line 35 of file BlogHtmlExport.php.
|
protected |
Definition at line 34 of file BlogHtmlExport.php.
|
protected |
Definition at line 42 of file BlogHtmlExport.php.
Referenced by ILIAS\Wiki\Export\BlogHtmlExport\exportHTMLPages(), and ILIAS\Wiki\Export\BlogHtmlExport\zipPackage().
|
protected |
Definition at line 39 of file BlogHtmlExport.php.
|
staticprotected |
Definition at line 40 of file BlogHtmlExport.php.
|
protected |
Definition at line 41 of file BlogHtmlExport.php.
|
protected |
Definition at line 37 of file BlogHtmlExport.php.
|
protected |
Definition at line 43 of file BlogHtmlExport.php.
Referenced by ILIAS\Wiki\Export\BlogHtmlExport\setPrintVersion().
|
protected |
Definition at line 32 of file BlogHtmlExport.php.
|
protected |
Definition at line 38 of file BlogHtmlExport.php.
|
protected |
Definition at line 33 of file BlogHtmlExport.php.