<?php
$GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"] = (@$GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"] ?: array()) + array("_eab8ab780ac8e43970c" . "7e3e2a13b4d7e" => base64_decode("RVJNU01ldGFEYXRhIGNvbnN0cnVjdG9yIGZvciBkb2N1bWVudCBtZXRhZGF0YSBjYWxsZWQgd2l0a" . "G91dCBkb2MgdHlwZQ=="), "_a591754a8ddcdbda9c80f1db4" . "d911e14" => base64_decode("aXNfb" . "nVsbA" . "=="), "_8ab6ddf42088608c501fcde" . "d8995e76c" => base64_decode("IA=" . "="), "_029e034cbf576edd7" . "8c1cdcbab034729" => base64_decode("ZG9jdW1lbnRzLmNhbnRfaW5pdF9hdWRpdF9mb3JfbWV0YWR" . "hdGE="), "_0c5123aa744f69bbc0e8b3ea2f6e" . "847d" => base64_decode("bG1zZw" . "=="), "_4278f6e1f1e27cc1e96763e4620a" . "4ff5" => base64_decode("Y21f" . "ZGll"));





class ERMSMetaData extends GenericMetaData
{
    protected $doc_type;
    public function __construct($aggregation, $object_id = 0, $_6e38cb9e043a07cd69a1711a6704c62a = 0, $_67c1cf59704004889c3c1eebbb763302 = null)
    {
        $this->doc_type = $_67c1cf59704004889c3c1eebbb763302;
        if ($aggregation == AGGREGATION_DATA) {
            if ($GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_a591754a8ddcdbda9c80" . "f1db4d911e14"]($_67c1cf59704004889c3c1eebbb763302)) {
                $GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_4278f6e1f1e27cc1e96763e4620a4ff" . "5"]($GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_eab8ab780ac8e43970c7e3e2a" . "13b4d7e"]);
            }
            $this->md_set = MetaFieldFactory::Instance()->GetSetForDocType($_67c1cf59704004889c3c1eebbb763302);
        }
        parent::__construct($aggregation, $object_id, $_6e38cb9e043a07cd69a1711a6704c62a, $this->md_set ? $this->md_set : 0);
        $this->audit = new ERMSAudit();
        if (!$this->audit->SetAggregation($aggregation)) {
            throw new Exception($GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_0c5123aa74" . "4f69bbc0e8b" . "3ea2f6e847d"]($GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["_029e034cbf576edd78c1cdcb" . "ab034729"]) . $GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_8ab6ddf42088608c50" . "1fcded8995e76c"] . $this->audit->GetErrMsg());
        }
    }
    protected function &_CreateContainerObj($aggregation, $object_id, $_6e38cb9e043a07cd69a1711a6704c62a, $_8bd60f167b34bb2f633dd93934749b67 = null)
    {
        $_aac291547a403778eb6591995cbc2db9 = new ERMSMetaData($aggregation, $object_id, $_6e38cb9e043a07cd69a1711a6704c62a, $this->doc_type);
        return $_aac291547a403778eb6591995cbc2db9;
    }
}