<?php
namespace Claromentis\Orgchart\Model;

$GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"] = (@$GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"] ?: array()) + array("_8d9737a30" . "f2ad8eace5" . "3af3c400b8" . "d67" => base64_decode("cHJvcGVydHlfZXhpc3" . "Rz"), "_c0d5f525e0f0" . "2dac4409e165c" . "3ae29ec" => base64_decode("L29yZ2NoYXJ0L" . "w=="), "_e06da3ffba2e84" . "b8e6f94bd2d6ca3" . "c52" => base64_decode("Y3JlYXRlX2ludGVy" . "bmFsX2xpbms="));
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["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_8d9737a30f2ad8e" . "ace53af3c400b8d6" . "7"]($this, $_40421a4e75c2ba3c82b018e6b56f7425)) {
                $this->{$_40421a4e75c2ba3c82b018e6b56f7425} = $_d9dec3fec40d714836246e2dbbaa7deb;
            }
        }
    }
    public function GetUrl()
    {
        return $GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_e06da3ffba2e84b8e6f94bd2d6c" . "a3c52"]($GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_c0d5f525" . "e0f02dac4" . "409e165c3" . "ae29ec"] . $this->slug);
    }
    
    
    
    
    
    
    public function GetChannelPerms()
    {
        $perms = new \Permissions(PERM_CLASS_ORGCHART, $this->id);
        return $perms;
    }
}