ILIAS
Release_4_2_x_branch Revision 61807
|
Portfolio HTML exporter class. More...
Public Member Functions | |
__construct ($a_portfolio_gui, $a_object) | |
Constructor. | |
buildExportFile () | |
Build export file. | |
exportHTMLPages () | |
Export all pages. | |
buildExportTemplate () | |
writeExportFile ($a_file, $a_content, $a_onload=null) | |
exportPageHTML ($a_post_id) | |
Export page html. |
Protected Attributes | |
$portfolio_gui |
Portfolio HTML exporter class.
Definition at line 12 of file class.ilPortfolioHTMLExport.php.
ilPortfolioHTMLExport::__construct | ( | $a_portfolio_gui, | |
$a_object | |||
) |
Constructor.
@return |
Definition at line 22 of file class.ilPortfolioHTMLExport.php.
ilPortfolioHTMLExport::buildExportFile | ( | ) |
Build export file.
@return |
Definition at line 34 of file class.ilPortfolioHTMLExport.php.
References ilExport\_createExportDirectory(), ilExport\_getExportDirectory(), ilObjUser\_getPersonalPicturePath(), ilUtil\delDir(), exportHTMLPages(), ilUtil\makeDir(), and ilUtil\zip().
ilPortfolioHTMLExport::buildExportTemplate | ( | ) |
Definition at line 157 of file class.ilPortfolioHTMLExport.php.
References $tpl, and ilObjPortfolioGUI\renderFullscreenHeader().
Referenced by writeExportFile().
ilPortfolioHTMLExport::exportHTMLPages | ( | ) |
Export all pages.
Definition at line 100 of file class.ilPortfolioHTMLExport.php.
References $ilBench, $tpl, ilPageObject\_exists(), ilObject2\_lookupTitle(), exportPageHTML(), ilPortfolioPage\getAllPages(), ilPortfolioPage\TYPE_BLOG, and ilObject2GUI\WORKSPACE_OBJECT_ID.
Referenced by buildExportFile().
ilPortfolioHTMLExport::exportPageHTML | ( | $a_post_id | ) |
Export page html.
Definition at line 232 of file class.ilPortfolioHTMLExport.php.
References $lng, ilPageObjectGUI\setOutputMode(), and writeExportFile().
Referenced by exportHTMLPages().
ilPortfolioHTMLExport::writeExportFile | ( | $a_file, | |
$a_content, | |||
$a_onload = null |
|||
) |
Definition at line 187 of file class.ilPortfolioHTMLExport.php.
References $file, and buildExportTemplate().
Referenced by exportPageHTML().
|
protected |
Definition at line 14 of file class.ilPortfolioHTMLExport.php.