<?php
$GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"] = (@$GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"] ?: array()) + array("_11766073989" . "415db2de3cb7" . "58629f2f1" => base64_decode("b3Blb" . "g=="), "_330f18d" . "12156203" . "0ca41b4f" . "d2022358" . "8" => base64_decode("c3" . "Q="), "ti" . "tl" . "e" => base64_decode("dGl" . "0bG" . "U="), "_c59a3bbe83fa7" . "d0545958191ae7" . "597f0" => base64_decode("cHNpemVfbW" . "F4"), "_fddb56623dfb01660a0fb8db07" . "5e147a" => base64_decode("Z2V0dmFy" . "X3Nz"), "_7af8fa154" . "3a4f2c3d3e" . "6350f7f0c4" . "fcd" => base64_decode("YX" . "Nj"), "_c06c961" . "f393742e" . "cfd52b72" . "263ac947" . "0" => base64_decode("aW5" . "0dm" . "Fs"), "_19bdfdebb609516a9e88a6" . "78d1a13402" => base64_decode("Z2V" . "0dm" . "Fy"), "sort_di" . "r" => base64_decode("c29y" . "dF9k" . "aXI="), "_c3492cfbadbaead5" . "d2512469c3eb908e" => base64_decode("Y2F0ZWdvc" . "nk="), "_f73dab606630b38" . "8645c4f7d3fbb13b" . "b" => base64_decode("YXJyYXlfbWV" . "yZ2U="), "_a591754a8ddcdbda9c80f1db4" . "d911e14" => base64_decode("aXNfbn" . "VsbA=="), "_40f41f5cd5b4fd66f676cddd" . "3176bdcb" => base64_decode("c2VsZWN0X2l0ZW1fbGlu" . "aw=="), "_62d701c3c53404f0634" . "5eb35720a47b4" => base64_decode("aXNfbnVtZXJpY" . "w=="), "_f7c00bc071608103c78c3" . "abf72662853" => base64_decode("YnJhbmNo" . "X3NodXQ="), "_28fd57f750dbb5ff" . "b3ffad3a888358a9" => base64_decode("ZGVzY3JpcHRpb2" . "4="), "_381f559a72e38d182696" . "693daaec5aaf" => base64_decode("YXJy" . "YXlf" . "cmVk" . "dWNl"), "_f4bd00eb2caca2b42a3898c63bee278" . "1" => base64_decode("YnJhb" . "mNoX2" . "9wZW4" . "="), "_31767d7ad58e706dbf47b7a51a0fe" . "6c4" => base64_decode("Y291bnQ" . "="), "_cd8be09f" . "2fc10823d" . "28f779748" . "5bf0f8" => base64_decode("cHNp" . "emU="), "_533f7aee9177bd7f341be1" . "53a98ff2e7" => base64_decode("Y2xv" . "c2U="), "_f6a16426f3b3f03ad6bacec" . "912eec291" => base64_decode("c29y" . "dA=="), "_7f628626dd1d" . "55c71b1fc0932" . "ffd1d2c" => base64_decode("aXNfYXJyY" . "Xk="), "_58d506edba9ce8" . "0af6a061b73e2eb" . "66c" => base64_decode("X" . "w" . "=" . "="), "_ea56a485358133b04c8b779e7fdb115" . "e" => base64_decode("X2ZvbGRpbmc" . "="), "_047cc9462af7309dcf204586ff" . "650a9d" => base64_decode("X3RyZWVwYWdpbm" . "c="), "_37d6fcac1e" . "4ca360eb11b" . "b40c4897aea" => base64_decode("U0VTU0lPTl" . "8="), "_aed8da0f19091214b78f" . "80351048517c" => base64_decode("c3" . "Ry" . "bG" . "Vu"), "_b50a25ba19395884fdcf" . "22a6d6660dfd" => base64_decode("c2h1d" . "A=="));





abstract class ClaTreeViewController extends ErrorHandler
{
    protected static $_external_tree_params;
    protected $metadata;
    public $sort_column;
    public $sort_direction;
    protected $categoryopen;
    protected $admin_mode;
    protected $use_paging = false;
    public $page_size = 20;
    public $page_offset = 0;
    protected $max_items_wo_paging = 40;
    protected $max_items_to_process = 1000;
    protected $last_folders_count;
    protected $last_docs_count;
    protected $last_page_offset;
    protected $all_metadata_fields;
    protected $select_item_options;
    protected $standard_columns;
    protected $standart_menu_items;
    protected $entire_tree_open = false;
    protected $show_folders_only = false;
    protected $keywords = '';
    public $perm_user_id = false;
    public $options;
    
    
    
    
    
    public function __construct()
    {
        $this->categoryopen = array();
        $this->admin_mode = false;
        $this->metadata = array($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_28fd57f750db" . "b5ffb3ffad3a8" . "88358a9"]);
        $this->sort_column = $GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["ti" . "tl" . "e"];
        $this->sort_direction = $GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["_7af8fa1543a4f2c3d3" . "e6350f7f0c4fcd"];
        $this->options = array();
        $this->select_item_options = array();
    }
    
    
    
    
    
    
    public function SetMetadataListToFetch($metadata_elements)
    {
        if (!$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_7f628626dd1d55c" . "71b1fc0932ffd1d2" . "c"]($metadata_elements)) {
            $metadata_elements = array();
        }
        $this->metadata = $metadata_elements;
        return true;
    }
    
    
    
    
    
    
    public function GetMetadataListToFetch()
    {
        return $this->metadata;
    }
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    public function SetSelectOption($option_name, $opt_value)
    {
        $this->select_item_options[$option_name] = !!$opt_value;
    }
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    public function GetSelectOption($option_name)
    {
        return !!$this->select_item_options[$option_name];
    }
    
    
    
    
    
    
    
    
    
    public function GetColumnsListToShow()
    {
        $_bbe4271b38fa04f9648c9e574b2bb4e7 = $GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["_381f559a72e38d182696693da" . "aec5aaf"]($this->select_item_options, function ($_5feede65e7cfe8f0b3d9854c0363d548, $_74e6c647b312810242fc360c4ae14d72) {
            return $_5feede65e7cfe8f0b3d9854c0363d548 | $_74e6c647b312810242fc360c4ae14d72;
        });
        $_343a395319323dd7609bcbc465b4d034 = $this->standard_columns;
        
        
        
        $_343a395319323dd7609bcbc465b4d034 = $GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_f73dab606630b" . "388645c4f7d3fb" . "b13bb"]($_343a395319323dd7609bcbc465b4d034, $this->metadata);
        if ($_bbe4271b38fa04f9648c9e574b2bb4e7) {
            $_343a395319323dd7609bcbc465b4d034[] = $GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_40f41f5cd5b" . "4fd66f676cdd" . "d3176bdcb"];
        }
        return $_343a395319323dd7609bcbc465b4d034;
    }
    
    
    
    
    
    
    public function GetColumnsCount()
    {
        return $GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["_31767d7ad58e706dbf47b7a51a0f" . "e6c4"]($this->GetColumnsListToShow());
    }
    
    
    
    
    
    
    
    
    
    
    
    
    public function SetPagingParams($use_paging, $page_size = 20, $page_offset = 0, $max_items_wo_paging = null, $max_items_to_process = 1000)
    {
        $this->use_paging = $use_paging;
        $this->page_size = $GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_c06c961f393742ecfd52b72263ac94" . "70"]($page_size);
        $this->page_offset = $GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_c06c961f393742e" . "cfd52b72263ac947" . "0"]($page_offset);
        $this->max_items_wo_paging = $GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_a591754a8ddcdbda9c80f1d" . "b4d911e14"]($max_items_wo_paging) ? $page_size * 2 : $GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_c06c961f393742ecfd52b72263ac947" . "0"]($max_items_wo_paging);
        $this->max_items_to_process = $GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_c06c961f393742ecfd52b72263" . "ac9470"]($max_items_to_process);
        return true;
    }
    
    
    
    
    
    
    public function GetPagingParams()
    {
        return array($this->use_paging, $this->page_size, $this->page_offset, $this->max_items_wo_paging, $this->max_items_to_process);
    }
    
    
    
    
    
    
    public function IsPagingEnabled()
    {
        return $this->use_paging;
    }
    
    
    
    
    
    
    public function GetLastTreeCounts()
    {
        return array($this->last_folders_count, $this->last_docs_count, $this->last_page_offset);
    }
    
    
    
    
    
    
    
    
    
    
    
    
    public function SetLastTreeCounts($folders_count, $docs_count, $page_offset = null)
    {
        $this->last_folders_count = $folders_count;
        $this->last_docs_count = $docs_count;
        $this->last_page_offset = $GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_a591754a" . "8ddcdbda9" . "c80f1db4d" . "911e14"]($page_offset) ? $this->page_offset : $page_offset;
        return true;
    }
    
    
    
    
    
    
    public function GetPageSize()
    {
        if ($this->IsPagingEnabled()) {
            return $this->page_size;
        } else {
            return $this->max_items_to_process;
        }
    }
    
    
    
    
    
    
    
    
    
    
    
    
    public function CalculatePagingOffsets($folders_count, $docs_count)
    {
        $_c113588a7518f077e0e62539dc45ceff = 0;
        $_4f10dacc8b1fa834306a7c39bdfeeb07 = 0;
        $_cf9237e97be66fc533a06476b0925a11 = 0;
        $_d2e1e5f7db97d8744e911b3c64806b27 = 0;
        
        
        $_b294b2d1c5d4cd8d6a4c52da8559e079 = $this->GetPageSize();
        
        
        if ($this->use_paging && $folders_count + $docs_count >= $this->max_items_wo_paging) {
            if ($folders_count > $this->max_items_to_process) {
                
                
                $_4f10dacc8b1fa834306a7c39bdfeeb07 = -1;
            } else {
                
                
                
                if ($folders_count && $folders_count >= $this->page_offset) {
                    if ($folders_count >= $this->page_size) {
                        $_c113588a7518f077e0e62539dc45ceff = $GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["_c06c961f393742" . "ecfd52b72263ac9" . "470"]($this->page_offset);
                        if ($_c113588a7518f077e0e62539dc45ceff < 0) {
                            $_c113588a7518f077e0e62539dc45ceff = 0;
                        }
                        $_4f10dacc8b1fa834306a7c39bdfeeb07 = $this->page_size;
                    } else {
                        $_4f10dacc8b1fa834306a7c39bdfeeb07 = $folders_count;
                    }
                    $_b294b2d1c5d4cd8d6a4c52da8559e079 = $this->page_size - ($folders_count - @$_c113588a7518f077e0e62539dc45ceff);
                    if ($_b294b2d1c5d4cd8d6a4c52da8559e079 < 0) {
                        $_b294b2d1c5d4cd8d6a4c52da8559e079 = 0;
                    }
                }
            }
            
            
            if ($docs_count && $_b294b2d1c5d4cd8d6a4c52da8559e079) {
                $_cf9237e97be66fc533a06476b0925a11 = $GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["_c06c961f393742e" . "cfd52b72263ac947" . "0"]($this->page_offset) - $folders_count;
                if ($_cf9237e97be66fc533a06476b0925a11 < 0) {
                    $_cf9237e97be66fc533a06476b0925a11 = 0;
                }
                $_d2e1e5f7db97d8744e911b3c64806b27 = $_b294b2d1c5d4cd8d6a4c52da8559e079;
            }
        } else {
            $_4f10dacc8b1fa834306a7c39bdfeeb07 = $folders_count > 0 ? $this->max_items_to_process : 0;
            $_d2e1e5f7db97d8744e911b3c64806b27 = $docs_count > 0 ? $this->max_items_to_process : 0;
        }
        return array($_c113588a7518f077e0e62539dc45ceff, $_4f10dacc8b1fa834306a7c39bdfeeb07, $_cf9237e97be66fc533a06476b0925a11, $_d2e1e5f7db97d8744e911b3c64806b27);
    }
    
    
    
    
    
    
    
    
    public function SetSortParams($sort_column, $sort_dir = 'asc')
    {
        $this->sort_column = $sort_column;
        $this->sort_direction = $sort_dir;
        return true;
    }
    
    
    
    
    
    
    public function SetAdminMode($admin_mode)
    {
        $this->admin_mode = $admin_mode;
    }
    
    
    
    
    
    
    public function IsAdminMode()
    {
        return $this->admin_mode;
    }
    
    
    
    
    
    
    public function FolderOpen($id)
    {
        $this->categoryopen[$id] = 1;
    }
    
    
    
    
    
    
    public function FolderClose($id)
    {
        unset($this->categoryopen[$id]);
    }
    
    
    
    
    
    
    
    public function IsFolderOpen($folder_id)
    {
        return isset($this->categoryopen[$folder_id]) && $this->categoryopen[$folder_id] || $this->entire_tree_open;
    }
    
    
    
    
    
    
    
    public function BranchOpenAll($root_id)
    {
        return $this->_BranchOpenCloseAll($root_id, $GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_11766073989415db2de3cb" . "758629f2f1"]);
    }
    
    
    
    
    
    
    
    public function BranchCloseAll($root_id)
    {
        return $this->_BranchOpenCloseAll($root_id, $GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_533f7aee9177bd7f341" . "be153a98ff2e7"]);
    }
    
    
    
    
    
    
    public function SetFolding(&$folding_array)
    {
        $this->categoryopen =& $folding_array;
    }
    
    
    
    
    
    
    
    
    public function SetNoFolding($stat = false)
    {
        $_28d33119a899f485766986233e2a1f30 = $this->entire_tree_open;
        $this->entire_tree_open = $stat;
        return $_28d33119a899f485766986233e2a1f30;
    }
    
    
    
    
    
    
    
    
    public function SetShowFoldersOnly($stat = false)
    {
        $_28d33119a899f485766986233e2a1f30 = $this->show_folders_only;
        $this->show_folders_only = $stat;
        return $_28d33119a899f485766986233e2a1f30;
    }
    
    
    
    
    
    
    
    
    public function IsShowFoldersOnly()
    {
        return $this->show_folders_only;
    }
    
    
    
    
    
    
    
    public function SetKeywordsFilter($keywords)
    {
        $this->keywords = $keywords;
        return true;
    }
    
    
    
    
    
    
    public function GetKeywordsFilter()
    {
        return $this->keywords;
    }
    
    
    
    
    
    
    
    
    protected abstract function _BranchOpenCloseAll($id, $status);
    
    
    
    
    
    
    
    
    public static function DoTreeGPCOperations($controller, $session_prefix, $folder_id = null)
    {
        if ($GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["_a591754a8ddcdbda" . "9c80f1db4d911e14"]($folder_id)) {
            $folder_id = $GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_c06c961f393742ecfd52b72263ac" . "9470"]($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_19bdfdebb609516a9e88a678d1a13" . "402"]($GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["_c3492cfbadbaead5d2512469c3e" . "b908e"]));
        }
        
        
        $_5b83408c8a26e4f040dd7712c50a3822 = $GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_37d6fcac1e4ca360eb11bb40c4897" . "aea"] . $session_prefix . $GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_ea56a48535813" . "3b04c8b779e7fd" . "b115e"];
        if (!isset($_SESSION[$_5b83408c8a26e4f040dd7712c50a3822])) {
            $_SESSION[$_5b83408c8a26e4f040dd7712c50a3822] = array();
        }
        $controller->SetFolding($_SESSION[$_5b83408c8a26e4f040dd7712c50a3822]);
        
        
        $_11766073989415db2de3cb758629f2f1 = $GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"]["_fddb56623dfb01660a0fb8db" . "075e147a"]($GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["_11766073989415db2de3cb758629f2" . "f1"]);
        $_b50a25ba19395884fdcf22a6d6660dfd = $GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_fddb56623dfb0166" . "0a0fb8db075e147a"]($GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"]["_b50a25ba19" . "395884fdcf2" . "2a6d6660dfd"]);
        if ($_11766073989415db2de3cb758629f2f1) {
            $controller->FolderOpen($_11766073989415db2de3cb758629f2f1);
        }
        if ($_b50a25ba19395884fdcf22a6d6660dfd) {
            $controller->FolderClose($_b50a25ba19395884fdcf22a6d6660dfd);
        }
        
        
        if ($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["_fddb56623dfb01660a0fb8db075e" . "147a"]($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_f4bd00eb" . "2caca2b42" . "a3898c63b" . "ee2781"])) {
            $controller->BranchOpenAll($folder_id);
        } elseif ($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["_fddb56623dfb01660a0f" . "b8db075e147a"]($GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_f7c00bc0716081" . "03c78c3abf72662" . "853"])) {
            $controller->BranchCloseAll($folder_id);
        }
        
        
        $_f2d45f565f12276f8d871b3e215d01eb = $GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_37d6fcac1e4ca360eb11bb40" . "c4897aea"] . $session_prefix . $GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_047cc9462af7309dcf204586ff650" . "a9d"];
        if (!isset($_SESSION[$_f2d45f565f12276f8d871b3e215d01eb])) {
            $_SESSION[$_f2d45f565f12276f8d871b3e215d01eb] = array();
        }
        $_330f18d121562030ca41b4fd20223588 = $GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_c06c961f393742ecfd52b722" . "63ac9470"](@$_SESSION[$_f2d45f565f12276f8d871b3e215d01eb][$folder_id]);
        if ($GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_19bdfdebb609516a9e88a678d1" . "a13402"]($GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_330f18d121562030ca41b4fd2022358" . "8"]) != null) {
            $_330f18d121562030ca41b4fd20223588 = $GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["_c06c961f393742ecfd52b72263a" . "c9470"]($GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_19bdfdebb609516a9e88a67" . "8d1a13402"]($GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_330f18d121562030c" . "a41b4fd20223588"]));
        }
        $_SESSION[$_f2d45f565f12276f8d871b3e215d01eb][$folder_id] = $_330f18d121562030ca41b4fd20223588;
        
        
        $_f6a16426f3b3f03ad6bacec912eec291 = self::GetTreeDisplayingParam($session_prefix, $GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_f6a16426f3b" . "3f03ad6bacec" . "912eec291"], $controller->sort_column);
        $sort_dir = self::GetTreeDisplayingParam($session_prefix, $GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["sort_d" . "ir"], $controller->sort_direction);
        $controller->SetSortParams($_f6a16426f3b3f03ad6bacec912eec291, $sort_dir);
        
        
        $_cd8be09f2fc10823d28f7797485bf0f8 = self::GetTreeDisplayingParam($session_prefix, $GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_cd8be09f2fc" . "10823d28f779" . "7485bf0f8"], $controller->page_size);
        $_c59a3bbe83fa7d0545958191ae7597f0 = self::GetTreeDisplayingParam($session_prefix, $GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["_c59a3bbe83fa7" . "d0545958191ae7" . "597f0"], $controller->max_items_wo_paging);
        $controller->SetPagingParams($controller->use_paging, $_cd8be09f2fc10823d28f7797485bf0f8, $_330f18d121562030ca41b4fd20223588, $_c59a3bbe83fa7d0545958191ae7597f0);
    }
    
    
    
    
    
    
    
    
    
    
    
    public static function GetTreeDisplayingParam($prefix, $val_name, $default_val = 0)
    {
        $value = $GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_19bdfdebb609516a9e88a678d1a1340" . "2"]($val_name);
        $key = $GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["_37d6fcac1e4" . "ca360eb11bb4" . "0c4897aea"] . $prefix . $GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_58d506edba9ce80af6a061b73e2eb6" . "6c"] . $val_name;
        if (isset(self::$_external_tree_params[$key])) {
            return self::$_external_tree_params[$key];
        }
        if ($GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_62d701c3c53404f06345eb" . "35720a47b4"]($default_val)) {
            if (!isset($value) || $GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["_aed8da0f19091214b78" . "f80351048517c"]($value) == 0) {
                $value = isset($_SESSION[$key]) ? (int) $_SESSION[$key] : 0;
            } else {
                $value = (int) $value;
            }
        } else {
            if (!isset($value)) {
                $value = isset($_SESSION[$key]) ? $_SESSION[$key] : null;
            }
        }
        if (!$value) {
            $value = $default_val;
        }
        $_SESSION[$key] = $value;
        return $value;
    }
    
    
    
    
    
    
    
    
    
    public static function SetTreeDisplayingParam($prefix, $val_name, $value)
    {
        $key = $GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_37d6fcac1e4c" . "a360eb11bb40c" . "4897aea"] . $prefix . $GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_58d506edba9ce80af6a061b73e2eb6" . "6c"] . $val_name;
        self::$_external_tree_params[$key] = $value;
        $_SESSION[$key] = $value;
        return $value;
    }
}