3 declare(strict_types=1);
    46         $this->
setId(
"cont_paste_explorer");
    51         $this->root_id = $this->tree->readRootId();
    52         $this->order_column = 
'title';
    71         $this->clipboard = $DIC
    87         $this->form_items[
$type] = 
true;
    92         $this->form_items[
$type] = 
false;
   102         return in_array($id, $this->checked_items);
   127         if (!$this->
access->checkAccess($this->getRequiredFormItemPermission(), 
'', $node_id)) {
   132             !array_key_exists($type, $this->form_items) ||
   133             !$this->form_items[
$type]
   139         if ($this->clipboard->hasEntries()) {
   140             $disabled = in_array($node_id, $this->clipboard->getRefIds());
   141         } elseif ($this->clipboard->getCmd() == 
'copy' && $node_id == $this->clipboard->getParent()) {
   145         switch ($this->type) {
   146             case self::SEL_TYPE_CHECK:
   153             case self::SEL_TYPE_RADIO:
   167         $node_id = (
int) $node_id;
   168         $obj_id = (
int) $obj_id;
   169         if (!isset($node_id) or !is_array($option)) {
   170             $this->error->raiseError(
   172                 "::formatObject(): Missing parameter or wrong datatype! " .
   177                 $this->error->WARNING
   182         foreach ($option[
"tab"] as $picture) {
   183             if ($picture == 
'plus') {
   194             if ($picture == 
'minus' && $this->show_minus) {
   212         if ($this->output_icons) {
   218             $tpl->
setVariable(
"TARGET_ID", 
"iconid_" . $node_id);
   219             $this->iconList[] = 
"iconid_" . $node_id;
   220             $tpl->
setVariable(
"TXT_ALT_IMG", $this->
lng->txt($option[
"desc"]));
   224         if (strlen($formItem = $this->
buildFormItem($node_id, $option[
'type']))) {
   230         if ($this->
isClickable($option[
"type"], $node_id)) {
   236             if ($style_class != 
"") {
   237                 $tpl->
setVariable(
"A_CLASS", 
' class="' . $style_class . 
'" ');
   240             if (($onclick = $this->
buildOnClick($node_id, $option[
"type"], $option[
"title"])) != 
"") {
   241                 $tpl->
setVariable(
"ONCLICK", 
"onClick=\"$onclick\"");
   259             $obj_title = $this->
buildTitle($option[
"title"], $node_id, $option[
"type"]);
   261             if ($node_id == $this->highlighted) {
   262                 $obj_title = 
"<span class=\"ilHighlighted\">" . $obj_title . 
"</span>";
   301         if (strlen($formItem = $this->
buildFormItem((
int) $obj_id, $option[
'type']))) {
   312         if ($parent_id == 0) {
   315         if ($this->
access->checkAccess(
"read", 
"", (
int) $parent_id)) {
   323         if (!$this->
access->checkAccess(
'visible', 
'', (
int) 
$ref_id)) {
 
parseCurrentBlock(string $part=ilGlobalTemplateInterface::DEFAULT_BLOCK)
 
setSessionExpandVariable(string $a_var_name="expand")
 
setFiltered(bool $a_bool)
 
buildDescription(string $a_desc, $a_id, string $a_type)
 
isClickable(string $type, int $ref_id=0)
 
static _getIcon(int $obj_id=0, string $size="big", string $type="", bool $offline=false)
Get icon for repository item. 
 
showChilds($parent_id, $obj_id=0)
 
buildTitle(string $a_title, $a_id, string $a_type)
 
ilGlobalTemplateInterface $tpl
 
getRequiredFormItemPermission()
 
const IL_FM_POSITIVE
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
ilPasteIntoMultipleItemsExplorer Explorer 
 
addFormItemForType(string $type)
 
setPostVar(string $post_var)
 
setCheckedItems(array $checked_items=[])
 
buildLinkTarget($a_node_id, string $a_type)
note: most of this stuff is used by ilCourseContentInterface too 
 
touchBlock(string $block)
 
string $form_item_permission
 
setVariable($variable, $value='')
Sets a variable value. 
 
buildFormItem(int $node_id, string $type)
 
formatHeader(ilTemplate $tpl, $obj_id, array $option)
 
__construct(int $type, string $target, string $session_variable)
 
Manages items in repository clipboard. 
 
setRequiredFormItemPermission(string $form_item_permission)
 
buildFrameTarget(string $a_type, $a_child=0, $a_obj_id=0)
 
getNodeStyleClass( $a_id, string $a_type)
 
setCurrentBlock(string $part=ilGlobalTemplateInterface::DEFAULT_BLOCK)
 
removeFormItemForType(string $type)
 
isVisible($ref_id, string $type)
 
ClipboardManager $clipboard
 
getImage(string $a_name, string $a_type="", $a_obj_id="")
 
static shortenTextExtended(string $a_str, int $a_len, bool $a_dots=false, bool $a_next_blank=false, bool $a_keep_extension=false)
 
addFilter(string $a_item)
 
createTarget(string $a_type, $a_node_id, bool $a_highlighted_subtree=false, bool $a_append_anch=true)
 
buildOnClick( $a_node_id, string $a_type, string $a_title)
 
setFilterMode(int $a_mode=IL_FM_NEGATIVE)
 
formatObject(ilTemplate $tpl, $node_id, array $option, $obj_id=0)