Retorna el directorio de salida de los documentos del model
@return string
350358
public function getDirOutput() {
        $ds = DIRECTORY_SEPARATOR;
        $id = $this->getId();
        $documentsPath = $this->exporterManager->getOption("documents_path");
        $env = $this->exporterManager->getOption("env");
        if($this->basePath === null){
            $fullPath = $documentsPath.$ds.$env.$ds.$id;
        }else{
            $fullPath = $this->basePath;
        }
        if($this->subPath !== null){
            $fullPath .= $ds.$this->subPath;
        }
        
        if(!$this->exporterManager->getFs()->exists($fullPath)){
            $this->exporterManager->getFs()->mkdir($fullPath);
        }
        return $fullPath;
    }
414726
public function getDir()
    {
        if ($this->dir === null) {
            $rc = new \ReflectionClass($this);
            $this->dir = dirname($rc->getFileName());
        }
        return $this->dir;
    }
1325915
public function getTinyMCEResourcePath()
    {
        $resource = $this->getTinyMCEResource();
        if ($resource instanceof ModuleResource) {
            return $resource->getPath();
        }
        return Director::baseFolder() . '/' . $resource;
    }
396604
public function getDocumentManager()
    {
        if (null === $this->dm) {
            $this->dm = $this->getServiceLocator()->get('doctrine.documentmanager.odm_default');
        }

        return $this->dm;
    }
99952
protected function getDirname()
    {
        if (null === $this->dirname) {
            $r = new ReflectionObject($this);
            $this->dirname = dirname($r->getFileName());
        }

        return $this->dirname;
    }
620486
public static function getDocRoot(): string
    {
        $result = '.';
        $root = Arr::key('DOCUMENT_ROOT', $_SERVER, true);

        if ($root) {
            $result = $root;
        }

        $result = FS::clean($result);
        $result = FS::real($result);

        if (!$result) {
            $result = FS::real('.'); // @codeCoverageIgnore
        }

        return $result;
    }
692020
public function getCurrentUploadDir()
    {
        if (! isset($this->currentUploadDir)) {
            $modelDir = $this->getIdentifier();
            $this->currentUploadDir = public_path($this->uploadDir).DIRECTORY_SEPARATOR.$modelDir.
                DIRECTORY_SEPARATOR.$this->getKey().DIRECTORY_SEPARATOR;
        }

        return $this->currentUploadDir;
    }
1358415
protected function getDataInFile()
    {
        $filename = $this->config->get('file_directory').DIRECTORY_SEPARATOR.$this->config->get('file_name');

        if(!file_exists($filename)){
            return array();
        }

        $fp = fopen($filename,"rb");
        //TODO: Descifrar
        $contenido = fread($fp, filesize($filename));
        fclose($fp);

        $data_ouput = array();

        foreach (explode(';',$contenido) as $key=>$value){
            $data_tmp = explode('=',$value);
            if(count($data_tmp) > 1){
                $data_ouput[$data_tmp[0]] = $data_tmp[1];
            }
        }
        return $data_ouput;
    }
637807
public function getFileMode()
    {
        if (isset($this->raw->chmod)) {
            return intval($this->raw->chmod, 8);
        }

        return null;
    }
733102
protected function getFileGenerationPath()
    {
        $path = $this->getPathByOptionOrConfig('path', 'model_target_path');

        if(!is_dir($path)) {
            $this->warn('Path is not a directory, creating ' . $path);
            mkdir($path);
        }

        return $path;
    }
1099079
public function getResumenManual()
    {
        $manual = [];
        if (isset($this->toArray()['LibroCompraVenta']['EnvioLibro']['ResumenPeriodo']['TotalesPeriodo'])) {
            $totales = $this->toArray()['LibroCompraVenta']['EnvioLibro']['ResumenPeriodo']['TotalesPeriodo'];
            if (!isset($totales[0]))
                $totales = [$totales];
            foreach ($totales as $total) {
                if (isset($total['TpoDoc']) and in_array($total['TpoDoc'], [35, 38, 48])) {
                    $manual[$total['TpoDoc']] = array_merge($this->total_default, $total);
                }
            }
        }
        return $manual;
    }
1309290
public function getDirectory() : ?string 
    {
        if ( ! $this->hasDirectory()) {
            $this->setDirectory($this->getDefaultDirectory());
        }
        return $this->directory;
    }
1170
public function getTempDirectory()
    {
        if (!file_exists($this->tempDirectory)) {
            mkdir($this->tempDirectory, 0777);
            chmod($this->tempDirectory, 0777);
        }

        return $this->tempDirectory;
    }
1012741
public function getDocumentation()
    {
        $documentation = null;
        $documentationNodes = $this->element->getElementsByTagName('documentation');
        if ($documentationNodes->length > 0) {
            $documentation = $documentationNodes->item(0)->nodeValue;
        }
        return $documentation;
    }
550511
private function getTemplateDirectory()
    {
        $templateDirectory = realpath($this->templateDirectory . '/_template');

        if ($this->files->exists($templateDirectory) && $this->files->isDirectory($templateDirectory)) {
            $this->generator->setInsideTemplateDirectory(true);

            return $templateDirectory;
        }

        return $this->templateDirectory;
    }
1158
public function getResponsiveImagesDirectoryUrl(): string
    {
        return url($this->getBaseMediaDirectoryUrl().'/'.$this->pathGenerator->getPathForResponsiveImages($this->media)).'/';
    }
1363662
public function getDirMode()
    {
        $dirMode = $this->get('dir-mode', 0777);
        $dirMode = is_string($dirMode) ? octdec($dirMode) : $dirMode;

        return $dirMode;
    }