2020-05-26 15:59:10 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
2020-07-04 23:25:24 +02:00
|
|
|
* See LICENSE file for license details.
|
2020-05-26 15:59:10 +02:00
|
|
|
*
|
|
|
|
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
2020-07-04 23:25:24 +02:00
|
|
|
* @author D3 Data Development - Max Buhe <support@shopmodule.com>
|
|
|
|
* @link http://www.oxidmodule.com
|
2020-05-26 15:59:10 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
namespace D3\PdfDocuments\Application\Model\Interfaces;
|
|
|
|
|
2020-05-30 01:17:27 +02:00
|
|
|
interface pdfdocumentsGenericInterface
|
2020-05-26 15:59:10 +02:00
|
|
|
{
|
2020-05-30 00:48:43 +02:00
|
|
|
/**
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function getRequestId();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function getTitleIdent();
|
|
|
|
|
2020-05-27 09:46:44 +02:00
|
|
|
/**
|
|
|
|
* @return string
|
|
|
|
*/
|
2020-05-26 16:12:17 +02:00
|
|
|
public function getTemplate();
|
|
|
|
|
2020-05-27 09:46:44 +02:00
|
|
|
/**
|
|
|
|
* @return mixed
|
|
|
|
*/
|
|
|
|
public function getHTMLContent();
|
|
|
|
|
2020-06-04 10:31:38 +02:00
|
|
|
/**
|
|
|
|
* @param int $iLanguage
|
|
|
|
*/
|
|
|
|
public function downloadPdf($iLanguage = 0);
|
|
|
|
|
2020-06-08 16:39:33 +02:00
|
|
|
/**
|
|
|
|
* @param int $iLanguage
|
|
|
|
*
|
|
|
|
* @return string|null
|
|
|
|
*/
|
|
|
|
public function getPdfContent($iLanguage = 0);
|
|
|
|
|
2020-06-09 14:56:14 +02:00
|
|
|
/**
|
|
|
|
* @param string $path
|
|
|
|
* @param int $iLanguage
|
|
|
|
*/
|
|
|
|
public function savePdfFile($path, $iLanguage = 0);
|
|
|
|
|
2020-05-27 09:46:44 +02:00
|
|
|
/**
|
|
|
|
* @param $sFilename
|
|
|
|
* @param int $iSelLang
|
|
|
|
* @param string $target
|
|
|
|
*
|
|
|
|
* @return mixed
|
|
|
|
*/
|
2020-05-26 16:12:17 +02:00
|
|
|
public function genPdf($sFilename, $iSelLang = 0, $target = 'I');
|
2020-06-04 10:31:38 +02:00
|
|
|
|
2020-06-05 09:37:11 +02:00
|
|
|
/**
|
|
|
|
* @param string $filename
|
|
|
|
*/
|
|
|
|
public function setFilename($filename);
|
|
|
|
|
2020-06-04 10:31:38 +02:00
|
|
|
/**
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function getFilename();
|
2020-06-05 10:06:58 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @param string $filename
|
|
|
|
*
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function addFilenameExtension($filename);
|
2020-05-26 15:59:10 +02:00
|
|
|
}
|