ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
class.ilPDFGenerationConstants.php
Go to the documentation of this file.
1<?php
2
3
5{
6 const HEADER_NONE = 0;
7 const HEADER_TEXT = 1;
8 const HEADER_HTML = 2;
9
10 const FOOTER_NONE = 0;
11 const FOOTER_TEXT = 1;
12 const FOOTER_HTML = 2;
13
14 public static function getPageSizesNames()
15 {
16 return array(
17 'A4' => 'A4',
18 'A3' => 'A3',
19 'A2' => 'A2',
20 'A1' => 'A1',
21 'A0' => 'A0',
22 'B4' => 'B4',
23 'B3' => 'B3',
24 'B2' => 'B2',
25 'B1' => 'B1',
26 'B0' => 'B0',
27 'C4' => 'C4',
28 'C3' => 'C3',
29 'C2' => 'C2',
30 'C1' => 'C1',
31 'C0' => 'C0',
32 );
33 }
34
35
36 public static function getOrientations()
37 {
38 return array(
39 'Portrait' => 'Portrait' ,
40 'Landscape' => 'Landscape'
41 );
42 }
43}
An exception for terminatinating execution or to throw for unit testing.