Last change
on this file since 407 was 347, checked in by roby, 3 years ago |
Aggiornamento per compatibilità con php7.4
|
File size:
869 bytes
|
Line | |
---|
1 | <?php
|
---|
2 | /**
|
---|
3 | * Html2Pdf Library - Exception class
|
---|
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 |
|
---|
13 | namespace Spipu\Html2Pdf\Exception;
|
---|
14 |
|
---|
15 | /**
|
---|
16 | * Table Exception
|
---|
17 | */
|
---|
18 | class LocaleException extends Html2PdfException
|
---|
19 | {
|
---|
20 | /**
|
---|
21 | * ERROR CODE 5
|
---|
22 | * @var int
|
---|
23 | */
|
---|
24 | const ERROR_CODE = 5;
|
---|
25 |
|
---|
26 | /**
|
---|
27 | * @var string
|
---|
28 | */
|
---|
29 | protected $localCode;
|
---|
30 |
|
---|
31 | /**
|
---|
32 | * set the code
|
---|
33 | *
|
---|
34 | * @param string $localCode
|
---|
35 | *
|
---|
36 | * @return $this
|
---|
37 | */
|
---|
38 | public function setLocaleCode($localCode)
|
---|
39 | {
|
---|
40 | $this->localCode = $localCode;
|
---|
41 |
|
---|
42 | return $this;
|
---|
43 | }
|
---|
44 |
|
---|
45 | /**
|
---|
46 | * get the local code
|
---|
47 | *
|
---|
48 | * @return string
|
---|
49 | */
|
---|
50 | public function getLocalCode()
|
---|
51 | {
|
---|
52 | return $this->localCode;
|
---|
53 | }
|
---|
54 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.