<?php
namespace Claromentis\Core\TrashCan\TrashcanObject;

$GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"] ?: array()) + array("_a591754a8ddcdbda9" . "c80f1db4d911e14" => base64_decode("aXNfbnVs" . "bA=="), "_28fd57f750d" . "bb5ffb3ffad3" . "a888358a9" => base64_decode("ZGVzY3J" . "pcHRpb2" . "4="), "_1cbda9f1" . "b243ec2b8" . "7cb7b5227" . "bd80bf" => base64_decode("Li4vY29tbW9uL2VybXNfdHJlZV9" . "mdW5jdGlvbnMucGhw"), "_c05049918dc7ec" . "01951032698be78" . "e4d" => base64_decode("VHJhc2hPYmplY3REb2N1bWVudDo6Q3J" . "lYXRlRnJvbU9iamVjdCgpIGFjY2VwdH" . "Mgb25seSBvYmplY3Qgb2YgY2xhc3MgR" . "VJNU0RhdGFPYmo="), "_a7250c3f3" . "8fee798368" . "55dba0f4f2" . "b58" => base64_decode("Z2V0X2Z1bGxfZG9jdW1l" . "bnRfcGF0aA=="));
use ERMSDocument;
use ERMSDataObj;












class TrashObjectDocument extends TrashObjectERMS
{
    
    
    
    
    
    
    public function __construct($_b15aac3aa29c10ea6d1228f58cb9a7e8 = null)
    {
        $this->aggregation = AGGREGATION_DATA;
        if (!$GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_a591754a8ddcdbda9c80f1db4d911e1" . "4"]($_b15aac3aa29c10ea6d1228f58cb9a7e8) && $_b15aac3aa29c10ea6d1228f58cb9a7e8 instanceof ERMSDataObj) {
            $this->CreateFromObject($_b15aac3aa29c10ea6d1228f58cb9a7e8);
        }
    }
    
    
    
    
    
    
    
    
    public function CreateFromObject($_b15aac3aa29c10ea6d1228f58cb9a7e8)
    {
        if (!$_b15aac3aa29c10ea6d1228f58cb9a7e8 instanceof ERMSDataObj) {
            throw new \Exception($GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_c05049918dc7ec01951032698" . "be78e4d"]);
        }
        require_once $GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["_1cbda9f1b243ec2b87cb7b5" . "227bd80bf"];
        
        
        $this->aggregation = $_b15aac3aa29c10ea6d1228f58cb9a7e8->GetAggregation();
        $this->obj_id = $_b15aac3aa29c10ea6d1228f58cb9a7e8->GetID();
        $this->description = $_b15aac3aa29c10ea6d1228f58cb9a7e8->GetValue($GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_28fd57f750dbb5ffb3ffad3a8" . "88358a9"]);
        $this->title = $_b15aac3aa29c10ea6d1228f58cb9a7e8->GetTitle();
        $this->orig_location = $GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_a7250c3f38fee79836" . "855dba0f4f2b58"]($this->obj_id, $_b15aac3aa29c10ea6d1228f58cb9a7e8->GetParentID());
    }
}