source: trunk/client/inc/hpdf5/spipu/html2pdf/src/Tag/TagInterface.php@ 347

Last change on this file since 347 was 347, checked in by roby, 3 years ago

Aggiornamento per compatibilità con php7.4

File size: 1.7 KB
Line 
1<?php
2/**
3 * Html2Pdf Library - TagInterface interface
4 *
5 * HTML => PDF converter
6 * distributed under the OSL-3.0 License
7 *
8 * @package Html2pdf
9 * @author Laurent MINGUET <webmaster@html2pdf.fr>
10 * @copyright 2017 Laurent MINGUET
11 */
12
13namespace Spipu\Html2Pdf\Tag;
14
15use Spipu\Html2Pdf\CssConverter;
16use Spipu\Html2Pdf\MyPdf;
17use Spipu\Html2Pdf\Debug\DebugInterface;
18use Spipu\Html2Pdf\Parsing\Css as ParsingCss;
19
20interface TagInterface
21{
22 /**
23 * Set the Parsing Css Object
24 *
25 * @param ParsingCss $parsingCss The parsing css object
26 *
27 * @return TagInterface
28 */
29 public function setParsingCssObject(ParsingCss $parsingCss);
30
31 /**
32 * Set the Parsing Css Object
33 *
34 * @param CssConverter $cssConverter The css converter object
35 *
36 * @return TagInterface
37 */
38 public function setCssConverterObject(CssConverter $cssConverter);
39
40 /**
41 * Set the Pdf Object
42 *
43 * @param MyPdf $pdf The pdf object
44 *
45 * @return TagInterface
46 */
47 public function setPdfObject(MyPdf $pdf);
48
49 /**
50 * Set the Debug Object
51 *
52 * @param DebugInterface $debug The Debug object
53 *
54 * @return TagInterface
55 */
56 public function setDebugObject(DebugInterface $debug);
57
58 /**
59 * get the name of the tag
60 *
61 * @return string
62 */
63 public function getName();
64
65 /**
66 * Open the HTML tag
67 *
68 * @param array $properties properties of the HTML tag
69 *
70 * @return boolean
71 */
72 public function open($properties);
73
74 /**
75 * Close the HTML tag
76 *
77 * @param array $properties properties of the HTML tag
78 *
79 * @return boolean
80 */
81 public function close($properties);
82}
Note: See TracBrowser for help on using the repository browser.