ILIAS
Release_5_0_x_branch Revision 61816
|
Portfolio HTML exporter class. More...
Public Member Functions | |
__construct ($a_portfolio_gui, $a_object) | |
Constructor. | |
buildExportFile () | |
Build export file. | |
exportHTMLPages () | |
Export all pages. | |
buildExportTemplate (array $a_js_files=null) | |
writeExportFile ($a_file, $a_content, $a_onload=null, $a_js_files=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 $file, ilExport\_createExportDirectory(), ilExport\_getExportDirectory(), ilObjUser\_getPersonalPicturePath(), ilUtil\delDir(), exportHTMLPages(), ilUtil\makeDir(), and ilUtil\zip().
ilPortfolioHTMLExport::buildExportTemplate | ( | array | $a_js_files = null | ) |
Definition at line 198 of file class.ilPortfolioHTMLExport.php.
References $tpl, and ilObjPortfolioBaseGUI\renderFullscreenHeader().
Referenced by writeExportFile().
ilPortfolioHTMLExport::exportHTMLPages | ( | ) |
Export all pages.
Definition at line 140 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 285 of file class.ilPortfolioHTMLExport.php.
References $lng, ilPageObjectGUI\setOutputMode(), and writeExportFile().
Referenced by exportHTMLPages().
ilPortfolioHTMLExport::writeExportFile | ( | $a_file, | |
$a_content, | |||
$a_onload = null , |
|||
$a_js_files = null |
|||
) |
Definition at line 240 of file class.ilPortfolioHTMLExport.php.
References $file, and buildExportTemplate().
Referenced by exportPageHTML().
|
protected |
Definition at line 14 of file class.ilPortfolioHTMLExport.php.