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);
30 include_once(
"./Services/Style/Content/classes/class.ilObjStyleSheet.php");
43 $next_class = $this->ctrl->getNextClass($this);
44 $cmd = $this->ctrl->getCmd();
49 return parent::executeCommand();
80 include_once(
"./Modules/MediaPool/classes/class.ilMediaPoolPage.php");
81 $id = ilMediaPoolPage::getPageIdForTitle($a_media_pool_id, $a_title);
94 return parent::preview();
107 include_once(
"./Services/Style/Content/classes/class.ilObjStyleSheet.php");
108 $tpl->setCurrentBlock(
"ContentStyle");
109 $tpl->setVariable(
"LOCATION_CONTENT_STYLESHEET",
111 $tpl->parseCurrentBlock();
113 $tpl->setCurrentBlock(
"SyntaxStyle");
114 $tpl->setVariable(
"LOCATION_SYNTAX_STYLESHEET",
116 $tpl->parseCurrentBlock();
133 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)
__construct($a_id=0, $a_old_nr=0, $a_prevent_get_id=false, $a_lang="")
Constructor.
executeCommand()
execute command
setPageObject($a_pg_obj)
Set Page Object.
if(!is_dir( $entity_dir)) exit("Fatal Error ([A-Za-z0-9]+)\+" &#(? foreach( $entity_files as $file) $output
static getEffectiveContentStyleId($a_style_id, $a_type="")
Get effective Style Id.
getRawPageContent()
Get Get raw page content only.
setRawPageContent($a_rawpagecontent)
Set Get raw page content only.
setPresentationTitle($a_title="")
static getSyntaxStylePath()
get syntax style path
static getContentStylePath($a_style_id)
get content style path
setStyleId($a_styleid)
Set Style Id.
showPage($a_no_title=false)
Show page.
preview()
View media pool page.
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.