<?php
$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"] = (@$GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"] ?: array()) + array("_50a895dc4e2369e6a583ce435" . "de5021e" => base64_decode("SWxsZWdhbCBtZX" . "RhZGF0YSBleHBv" . "cnQgdHlwZQ=="), "_bd71c3b5c201fc1" . "1db82ed14ce424de" . "5" => base64_decode("aW5fYX" . "JyYXk="), "_74168d6a69480eb602cf8d" . "6006121f5d" => base64_decode("Q1N" . "W"), "_978bdb9fa2dd8b785198" . "205373a48357" => base64_decode("W" . "E" . "1" . "M"));




abstract class DocsExportMDCollector extends ErrorHandler
{
    const VERSION = "2.0.beta";
    const MD_EXPORT_CSV = 1;
    const MD_EXPORT_XML = 2;
    protected $export_type;
    
    
    
    
    protected $filesystem;
    
    
    
    
    
    
    
    
    
    public function __construct($_15b39d41c7ebda85defbd0d1cc3183cc)
    {
        if (!$GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["_bd71c3b5c201fc11db82ed14ce424d" . "e5"]($_15b39d41c7ebda85defbd0d1cc3183cc, array(self::MD_EXPORT_CSV, self::MD_EXPORT_XML))) {
            throw new Exception($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_50a895dc4e2369e6a58" . "3ce435de5021e"]);
        }
        $this->export_type = $_15b39d41c7ebda85defbd0d1cc3183cc;
        return true;
    }
    
    
    
    
    
    public function Init(ERMSObject $_086956552503aa7ee69fdf9ad8441e56)
    {
        return true;
    }
    
    
    
    
    
    public function Close()
    {
        return true;
    }
    
    
    
    
    
    
    public function SetRemoteFilesystem(RemoteFilesystem $_33eb931581b031fdb2a1937880fb89cd)
    {
        $this->filesystem = $_33eb931581b031fdb2a1937880fb89cd;
        return true;
    }
    
    
    
    
    
    public function GetExportType()
    {
        return $this->export_type;
    }
    
    
    
    
    
    
    public static function GetExportTypes()
    {
        return array(self::MD_EXPORT_XML => $GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_978bdb9fa2dd8b785198205373" . "a48357"], self::MD_EXPORT_CSV => $GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_74168d6a69480eb" . "602cf8d6006121f5" . "d"]);
    }
    
    
    
    
    public abstract function GetFolderMDExporter();
    
    
    
    
    public abstract function GetDocumentMDExporter();
    
    
    
    
    public abstract function SaveFolderMD(DocsExportFolderMDExporter $_d87c1a85615d0b67be8af312e25473f6, $path);
    
    
    
    
    public abstract function SaveDocumentMD(DocsExportDocumentMDExporter $_d87c1a85615d0b67be8af312e25473f6, $path);
}