ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
class.ilAbstractHtmlToPdfTransformer.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2015 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
require_once __DIR__ .
'/../interfaces/interface.ilHtmlToPdfTransformer.php'
;
5
10
abstract
class
ilAbstractHtmlToPdfTransformer
implements
ilHtmlToPdfTransformer
11
{
15
public
function
getPdfTempName
()
16
{
17
return
$this->
getTempFileName
(
'pdf'
);
18
}
19
23
public
function
getHtmlTempName
()
24
{
25
return
$this->
getTempFileName
(
'html'
);
26
}
27
32
protected
function
getTempFileName
($file_type)
33
{
34
return
ilUtil::ilTempnam
() .
'.'
. $file_type;
35
}
36
}
ilAbstractHtmlToPdfTransformer\getHtmlTempName
getHtmlTempName()
Definition:
class.ilAbstractHtmlToPdfTransformer.php:23
ilHtmlToPdfTransformer
Interface ilHtmlToPdfTransformer.
Definition:
interface.ilHtmlToPdfTransformer.php:8
ilAbstractHtmlToPdfTransformer\getTempFileName
getTempFileName($file_type)
Definition:
class.ilAbstractHtmlToPdfTransformer.php:32
ilAbstractHtmlToPdfTransformer\getPdfTempName
getPdfTempName()
Definition:
class.ilAbstractHtmlToPdfTransformer.php:15
ilUtil\ilTempnam
static ilTempnam($a_temp_path=null)
Create a temporary file in an ILIAS writable directory.
Definition:
class.ilUtil.php:1578
ilAbstractHtmlToPdfTransformer
Class ilHtmlToPdfTransformer.
Definition:
class.ilAbstractHtmlToPdfTransformer.php:10
Services
PDFGeneration
classes
class.ilAbstractHtmlToPdfTransformer.php
Generated on Sat Jan 18 2025 19:01:36 for ILIAS by
1.8.13 (using
Doxyfile
)