pdfdokumente/Application/Model/Interfaces/pdfdocumentsGenericInterface.php

81 lines
1.6 KiB
PHP
Raw Normal View History

<?php
/**
2020-07-04 23:25:24 +02:00
* See LICENSE file for license details.
*
* @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
*/
namespace D3\PdfDocuments\Application\Model\Interfaces;
2020-05-30 00:48:43 +02:00
use D3\PdfDocuments\Application\Model\Exceptions\noBaseObjectSetException;
2020-05-30 01:17:27 +02:00
interface pdfdocumentsGenericInterface
{
2020-05-30 00:48:43 +02:00
/**
* @return string
*/
public function getRequestId();
/**
* @return string
*/
public function getTitleIdent();
/**
* @return string
*/
2020-05-26 16:12:17 +02:00
public function getTemplate();
/**
* @return mixed
*/
public function getHTMLContent();
/**
* @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);
/**
* @param $sFilename
* @param int $iSelLang
* @param string $target
*
* @return mixed
2020-05-30 00:48:43 +02:00
* @throws noBaseObjectSetException
*/
2020-05-26 16:12:17 +02:00
public function genPdf($sFilename, $iSelLang = 0, $target = 'I');
2020-06-05 09:37:11 +02:00
/**
* @param string $filename
*/
public function setFilename($filename);
/**
* @return string
*/
public function getFilename();
2020-06-05 10:06:58 +02:00
/**
* @param string $filename
*
* @return string
*/
public function addFilenameExtension($filename);
}