Class ilStyleScopyExplorer. More...
Inheritance diagram for ilStyleScopeExplorer:
Collaboration diagram for ilStyleScopeExplorer:Public Member Functions | |
| ilStyleScopeExplorer ($a_target) | |
| Constructor public. | |
| formatHeader (&$tpl, $a_obj_id, $a_option) | |
| Creates output for header (is empty here but can be overwritten in derived classes). | |
| buildLinkTarget ($a_node_id, $a_type) | |
| get link target | |
Class ilStyleScopyExplorer.
Definition at line 34 of file class.ilStyleScopeExplorer.php.
| ilStyleScopeExplorer::buildLinkTarget | ( | $ | a_node_id, | |
| $ | a_type | |||
| ) |
get link target
Reimplemented from ilExplorer.
Definition at line 82 of file class.ilStyleScopeExplorer.php.
References $ilCtrl.
{
global $ilCtrl;
$ilCtrl->setParameterByClass("ilobjstylesettingsgui",
"cat", $a_node_id);
$ilCtrl->setParameterByClass("ilobjstylesettingsgui",
"style_id", $this->style_id);
return $ilCtrl->getLinkTargetByClass("ilobjstylesettingsgui",
"saveScope");
}
| ilStyleScopeExplorer::formatHeader | ( | &$ | tpl, | |
| $ | a_obj_id, | |||
| $ | a_option | |||
| ) |
Creates output for header (is empty here but can be overwritten in derived classes).
public
| integer | obj_id | |
| integer | array options |
Reimplemented from ilExplorer.
Definition at line 55 of file class.ilStyleScopeExplorer.php.
References $ilCtrl, ilExplorer::$ilias, $lng, $tpl, and ilUtil::getImagePath().
{
global $lng, $ilias, $ilCtrl;
$tpl->setCurrentBlock("icon");
$tpl->setVariable("ICON_IMAGE", ilUtil::getImagePath("icon_root.gif"));
$tpl->setVariable("TXT_ALT_IMG", $lng->txt("repository"));
$tpl->parseCurrentBlock();
$ilCtrl->setParameterByClass("ilobjstylesettingsgui",
"cat", 0);
$ilCtrl->setParameterByClass("ilobjstylesettingsgui",
"style_id", $this->style_id);
$tpl->setCurrentBlock("link");
$tpl->setVariable("TITLE", $lng->txt("repository"));
$tpl->setVariable("LINK_TARGET", $ilCtrl->getLinkTargetByClass("ilobjstylesettingsgui",
"saveScope"));
$tpl->parseCurrentBlock();
$tpl->setCurrentBlock("element");
$tpl->parseCurrentBlock();
}
Here is the call graph for this function:| ilStyleScopeExplorer::ilStyleScopeExplorer | ( | $ | a_target | ) |
Constructor public.
| string | scriptname |
Definition at line 41 of file class.ilStyleScopeExplorer.php.
References $_GET, and ilExplorer::ilExplorer().
{
if ($_POST["id"][0] > 0)
{
$this->style_id = $_POST["id"][0];
}
else
{
$this->style_id = $_GET["stlye_id"];
}
parent::ilExplorer($a_target);
}
Here is the call graph for this function:
1.7.1