18 declare(strict_types=1);
    39     public function __construct(
string $a_target, 
int $a_server_id, 
int $a_mid, 
int $a_tree_id)
    43         $this->type = self::SEL_TYPE_CHECK;
    51         $this->server_id = $a_server_id;
    53         $this->tree_id = $a_tree_id;
    77         $this->form_items[
$type] = 
true;
    82         $this->form_items[
$type] = 
false;
    87         $this->checked_items = $a_checked_items;
    92         return in_array($a_id, $this->checked_items, 
true) ? true : 
false;
    97         $this->post_var = $a_post_var;
   106         if (!array_key_exists($a_type, $this->form_items) || !$this->form_items[$a_type]) {
   125         switch ($this->type) {
   126             case self::SEL_TYPE_CHECK:
   134             case self::SEL_TYPE_RADIO:
   149         if (!isset($a_node_id) || !is_array($a_option)) {
   150             $this->error->raiseError(get_class($this) . 
"::formatObject(): Missing parameter or wrong datatype! " .
   151                                     "node_id: " . $a_node_id . 
" options:" . print_r($a_option, 
true), $this->error->WARNING);
   155         foreach ($a_option[
"tab"] as $picture) {
   156             if ($picture === 
'plus') {
   167             if ($picture === 
'minus' && $this->show_minus) {
   185         if ($this->output_icons) {
   190             $this->iconList[] = 
"iconid_" . $a_node_id;
   195         if ($formItem = ($this->
buildFormItem($a_node_id, $a_option[
'type']) !== 
'')) {
   201         if ($this->
isClickable($a_option[
"type"], $a_node_id)) {        
   210             if ($style_class !== 
"") {
   214             if (($onclick = $this->
buildOnClick($a_node_id, $a_option[
"type"], $a_option[
"title"])) !== 
"") {
   222                     $this->
buildTitle($a_option[
"title"], $a_node_id, $a_option[
"type"]),
   230                     $this->
buildDescription($a_option[
"description"], $a_node_id, $a_option[
"type"]),
   244                     $this->
buildTitle($a_option[
"title"], $a_node_id, $a_option[
"type"]),
   281         $nd = $this->tree->getNodeData($this->
getRoot());
   289         if ($formItem = ($this->
buildFormItem($a_obj_id, $a_option[
'type']) !== 
'')) {
   298     public function buildTitle(
string $a_title, $a_id, 
string $a_type): string
   311                 return '<font style="font-weight: bold">' . $a_title . 
'</font>';
   314                 return '<font style="font-weight: bold;font-style: italic">' . $a_title . 
'</font>';
   317                 return '<font style="font-style: italic">' . $a_title . 
'</font>';
   320                 return '<font class="warning">' . $a_title . 
'</font>';
 
parseCurrentBlock(string $part=ilGlobalTemplateInterface::DEFAULT_BLOCK)
 
const MAPPING_PENDING_DISCONNECTABLE
 
addFormItemForType($type)
Add form item. 
 
formatObject($tpl, $a_node_id, $a_option, $a_obj_id=0)
 
buildDescription(string $a_desc, $a_id, string $a_type)
 
static _getIcon(int $obj_id=0, string $size="big", string $type="", bool $offline=false)
Get icon for repository item. 
 
buildTitle(string $a_title, $a_id, string $a_type)
 
touchBlock(string $block)
overwrites ITX::touchBlock. 
 
ilGlobalTemplateInterface $tpl
 
formatHeader(ilTemplate $tpl, $a_obj_id, array $a_option)
 
setVariable(string $variable, $value='')
Sets the given variable to the given value. 
 
buildFormItem($a_node_id, $a_type)
 
removeFormItemForType($type)
 
static lookupStatusByObjId(int $a_server_id, int $a_mid, int $a_tree_id, int $obj_id)
Lookup status. 
 
setTitleLength(int $a_length)
 
setVariable($variable, $value='')
Sets a variable value. 
 
setCheckedItems($a_checked_items=array())
 
setOrderColumn(string $a_column)
 
class for explorer view in admin frame 
 
buildFrameTarget(string $a_type, $a_child=0, $a_obj_id=0)
 
getNodeStyleClass( $a_id, string $a_type)
 
getImage(string $a_name, string $a_type="", $a_obj_id="")
 
setCurrentBlock(string $part=self::DEFAULT_BLOCK)
Sets the template to the given block. 
 
setCurrentBlock(string $part=ilGlobalTemplateInterface::DEFAULT_BLOCK)
 
static shortenTextExtended(string $a_str, int $a_len, bool $a_dots=false, bool $a_next_blank=false, bool $a_keep_extension=false)
 
createTarget(string $a_type, $a_node_id, bool $a_highlighted_subtree=false, bool $a_append_anch=true)
 
buildLinkTarget( $a_node_id, string $a_type)
 
isClickable(string $type, int $ref_id=0)
no item is clickable 
 
filter(string $filter_id, $class_path, string $cmd, bool $activated=true, bool $expanded=true)
 
buildOnClick( $a_node_id, string $a_type, string $a_title)
 
parseCurrentBlock(string $block_name=self::DEFAULT_BLOCK)
Parses the given block. 
 
const MAPPING_PENDING_NOT_DISCONNECTABLE
 
__construct(string $a_target, int $a_server_id, int $a_mid, int $a_tree_id)
 
setTree(ilECSCmsTree $tree)
Set cms tree.