pdfdokumente/Application/Model/Interfaces/pdfdocumentsGenericInterface.php

82 lignes
1.7 KiB
PHP
Brut Vue normale Historique

<?php
/**
* This Software is the property of Data Development and is protected
* by copyright law - it is NOT Freeware.
*
* Any unauthorized use of this software without a valid license
* is a violation of the license agreement and will be prosecuted by
* civil and criminal law.
*
* http://www.shopmodule.com
*
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
* @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);
/**
* @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);
}