Inheritance diagram for ilMediaPoolExplorer:
Collaboration diagram for ilMediaPoolExplorer:Public Member Functions | |
| ilMediaPoolExplorer ($a_target, &$a_media_pool) | |
| Constructor public. | |
| formatHeader ($a_obj_id, $a_option) | |
| overwritten method from base class public | |
Data Fields | |
| $root_id | |
| $media_pool | |
| $output | |
Definition at line 35 of file class.ilMediaPoolExplorer.php.
| ilMediaPoolExplorer::formatHeader | ( | $ | a_obj_id, | |
| $ | a_option | |||
| ) |
overwritten method from base class public
| integer | obj_id | |
| integer | array options |
Reimplemented from ilExplorer.
Definition at line 74 of file class.ilMediaPoolExplorer.php.
References ilExplorer::$ilias, $lng, $tpl, and ilUtil::shortenText().
{
global $lng, $ilias;
$tpl = new ilTemplate("tpl.tree.html", true, true);
$tpl->setCurrentBlock("link");
$tpl->setVariable("TITLE", ilUtil::shortenText($this->media_pool->getTitle(), $this->textwidth, true));
$tpl->setVariable("LINK_TARGET", $this->target);
$tpl->setVariable("TARGET", " target=\"".$this->frame_target."\"");
$tpl->parseCurrentBlock();
$tpl->setCurrentBlock("row");
$tpl->parseCurrentBlock();
$this->output[] = $tpl->get();
}
Here is the call graph for this function:| ilMediaPoolExplorer::ilMediaPoolExplorer | ( | $ | a_target, | |
| &$ | a_media_pool | |||
| ) |
Constructor public.
| string | scriptname | |
| int | user_id |
Definition at line 53 of file class.ilMediaPoolExplorer.php.
References ilExplorer::checkPermissions(), ilExplorer::ilExplorer(), ilExplorer::setPostSort(), and ilExplorer::setSessionExpandVariable().
{
parent::ilExplorer($a_target);
$this->tree =& $a_media_pool->getTree();
$this->root_id = $this->tree->readRootId();
$this->media_pool =& $a_media_pool;
$this->order_column = "";
$this->setSessionExpandVariable("mepexpand");
$this->checkPermissions(false);
$this->setPostSort(false);
}
Here is the call graph for this function:| ilMediaPoolExplorer::$media_pool |
Definition at line 44 of file class.ilMediaPoolExplorer.php.
| ilMediaPoolExplorer::$output |
Reimplemented from ilExplorer.
Definition at line 45 of file class.ilMediaPoolExplorer.php.
| ilMediaPoolExplorer::$root_id |
Definition at line 43 of file class.ilMediaPoolExplorer.php.
1.7.1