Pimcore\Controller\Action\Admin\Printpage::getStoredProcessingOptions PHP Метод

getStoredProcessingOptions() приватный Метод

private getStoredProcessingOptions ( $documentId )
    private function getStoredProcessingOptions($documentId)
    {
        $filename = PIMCORE_TEMPORARY_DIRECTORY . DIRECTORY_SEPARATOR . "web2print-processingoptions-" . $documentId . "_" . $this->getUser()->getId() . ".psf";
        if (file_exists($filename)) {
            return \Pimcore\Tool\Serialize::unserialize(file_get_contents($filename));
        } else {
            return [];
        }
    }