<?php
$GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"] ?: array()) + array("_8ab6ddf42088608c5" . "01fcded8995e76c" => base64_decode("I" . "A" . "=" . "="), "_0c5123aa744f69bbc0e" . "8b3ea2f6e847d" => base64_decode("bG1zZw=" . "="), "_eab8ab780ac8e4" . "3970c7e3e2a13b4" . "d7e" => base64_decode("RVJNU01ldGFEYXRhIGNvbnN0cnVjdG9yIGZvciBkb2N1bWVudCBtZXRhZGF0YSBjYWxsZWQgd2l0" . "aG91dCBkb2MgdHlwZQ=="), "_029e034cbf576edd78c1cdc" . "bab034729" => base64_decode("ZG9jdW1lbnRzLmNhbnRfaW5pdF9hdWRpdF9mb3JfbWV0YWRhdGE" . "="), "_4278f6e1f1e27cc1e96763e4620a4" . "ff5" => base64_decode("Y21fZGl" . "l"), "_a591754a8ddcdbda9c80f1db4d911e1" . "4" => base64_decode("aXNfbnVsb" . "A=="));





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["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_a591754a8ddcdbda9c80f1d" . "b4d911e14"]($_67c1cf59704004889c3c1eebbb763302)) {
                $GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"]["_4278f6e1f1e27cc1e967" . "63e4620a4ff5"]($GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_eab8ab780ac8e43970c7e3e2a13" . "b4d7e"]);
            }
            $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["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["_0c5123aa744f69bbc0e" . "8b3ea2f6e847d"]($GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["_029e034cbf576edd78c1cdcba" . "b034729"]) . $GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_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;
    }
}