<?php
namespace Claromentis\Orgchart\Model;

$GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"] ?: array()) + array("_e06da3ffba2e" . "84b8e6f94bd2d" . "6ca3c52" => base64_decode("Y3JlYXRlX2ludGVybmFsX2xpb" . "ms="), "_8d9737a30f2ad8ea" . "ce53af3c400b8d67" => base64_decode("cHJvcGVydHlfZ" . "Xhpc3Rz"), "_c0d5f525e0f02dac4409" . "e165c3ae29ec" => base64_decode("L29yZ2NoYXJ" . "0Lw=="));
class Orgchart
{
    public $id;
    public $head_id;
    public $title;
    public $slug;
    public $depth = 3;
    public $show_above = 0;
    public $tree = null;
    public int $show_disabled_users = 1;
    
    
    
    
    
    
    public function LoadFromArray($_fd62bc4eaaf7d58dea9bada3e30443b9)
    {
        foreach ($_fd62bc4eaaf7d58dea9bada3e30443b9 as $_40421a4e75c2ba3c82b018e6b56f7425 => $_d9dec3fec40d714836246e2dbbaa7deb) {
            if ($GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_8d9737a30f2ad8eace53af3" . "c400b8d67"]($this, $_40421a4e75c2ba3c82b018e6b56f7425)) {
                $this->{$_40421a4e75c2ba3c82b018e6b56f7425} = $_d9dec3fec40d714836246e2dbbaa7deb;
            }
        }
    }
    public function GetUrl()
    {
        return $GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_e06da3ffba2e84b8e6f94b" . "d2d6ca3c52"]($GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_c0d5f525e0f02dac4409" . "e165c3ae29ec"] . $this->slug);
    }
    
    
    
    
    
    
    public function GetChannelPerms()
    {
        $perms = new \Permissions(PERM_CLASS_ORGCHART, $this->id);
        return $perms;
    }
}