4 include_once(
"./Services/COPage/classes/class.ilPageObjectGUI.php");
5 include_once(
"./Modules/MediaPool/classes/class.ilMediaPoolPage.php");
6 include_once(
"./Modules/MediaPool/classes/class.ilMediaPoolItem.php");
24 function __construct($a_id = 0, $a_old_nr = 0, $a_prevent_get_id =
false, $a_lang =
"")
28 parent::__construct(
"mep", $a_id, $a_old_nr, $a_prevent_get_id, $a_lang);
31 include_once(
"./Services/Style/classes/class.ilObjStyleSheet.php");
32 $tpl->setCurrentBlock(
"ContentStyle");
33 $tpl->setVariable(
"LOCATION_CONTENT_STYLESHEET",
35 $tpl->parseCurrentBlock();
36 $tpl->setCurrentBlock(
"SyntaxStyle");
37 $tpl->setVariable(
"LOCATION_SYNTAX_STYLESHEET",
39 $tpl->parseCurrentBlock();
53 $next_class = $this->ctrl->getNextClass($this);
54 $cmd = $this->ctrl->getCmd();
59 return parent::executeCommand();
90 include_once(
"./Modules/MediaPool/classes/class.ilMediaPoolPage.php");
91 $id = ilMediaPoolPage::getPageIdForTitle($a_media_pool_id, $a_title);
104 return parent::preview();
119 $output = parent::showPage();
128 parent::getTabs($a_activate);
getMediaPoolPage()
Get Media Pool Page Object.
setEditPreview($a_editpreview)
Set Display first Edit tab, then Preview tab, instead of Page and Edit.
getRawContent()
Get raw content.
getPageObject()
Get Page Object.
setTemplateOutput($a_output=true)
& executeCommand()
execute command
__construct($a_id=0, $a_old_nr=0, $a_prevent_get_id=false, $a_lang="")
Constructor.
setPageObject($a_pg_obj)
Set Page Object.
getSyntaxStylePath()
get syntax style path
static getEffectiveContentStyleId($a_style_id, $a_type="")
Get effective Style Id.
setRawPageContent($a_rawpagecontent)
Set Get raw page content only.
setPresentationTitle($a_title="")
setStyleId($a_styleid)
Set Style Id.
showPage($a_no_title=false)
Show page.
preview()
View media pool page.
getContentStylePath($a_style_id)
get content style path
showPage()
display content of page
static getGUIForTitle($a_media_pool_id, $a_title, $a_old_nr=0)
Get media pool page gui for id and title.
setMediaPoolPage($a_media_pool_page)
Set Media Pool Page Object.
Class ilMediaPoolPage GUI class.