|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
/** |
|
4
|
|
|
* TechDivision\Import\Category\Utils\PageLayoutKeys |
|
5
|
|
|
* |
|
6
|
|
|
* NOTICE OF LICENSE |
|
7
|
|
|
* |
|
8
|
|
|
* This source file is subject to the Open Software License (OSL 3.0) |
|
9
|
|
|
* that is available through the world-wide-web at this URL: |
|
10
|
|
|
* http://opensource.org/licenses/osl-3.0.php |
|
11
|
|
|
* |
|
12
|
|
|
* PHP version 5 |
|
13
|
|
|
* |
|
14
|
|
|
* @author Tim Wagner <[email protected]> |
|
15
|
|
|
* @copyright 2016 TechDivision GmbH <[email protected]> |
|
16
|
|
|
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
17
|
|
|
* @link https://github.com/techdivision/import-category |
|
18
|
|
|
* @link http://www.techdivision.com |
|
19
|
|
|
*/ |
|
20
|
|
|
|
|
21
|
|
|
namespace TechDivision\Import\Category\Utils; |
|
22
|
|
|
|
|
23
|
|
|
/** |
|
24
|
|
|
* Utility class containing the available page layout keys. |
|
25
|
|
|
* |
|
26
|
|
|
* @author Tim Wagner <[email protected]> |
|
27
|
|
|
* @copyright 2016 TechDivision GmbH <[email protected]> |
|
28
|
|
|
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
29
|
|
|
* @link https://github.com/techdivision/import-category |
|
30
|
|
|
* @link http://www.techdivision.com |
|
31
|
|
|
*/ |
|
32
|
|
|
class PageLayoutKeys |
|
33
|
|
|
{ |
|
34
|
|
|
|
|
35
|
|
|
/** |
|
36
|
|
|
* Key for '1 column'. |
|
37
|
|
|
* |
|
38
|
|
|
* @var integer |
|
39
|
|
|
*/ |
|
40
|
|
|
const PAGE_LAYOUT_1_COLUMN = '1column'; |
|
41
|
|
|
|
|
42
|
|
|
/** |
|
43
|
|
|
* Key for '2 columns with left bar'. |
|
44
|
|
|
* |
|
45
|
|
|
* @var integer |
|
46
|
|
|
*/ |
|
47
|
|
|
const PAGE_LAYOUT_2_COLUMNS_LEFT = '2columns-left'; |
|
48
|
|
|
|
|
49
|
|
|
/** |
|
50
|
|
|
* Key for '2 columns with right bar'. |
|
51
|
|
|
* |
|
52
|
|
|
* @var integer |
|
53
|
|
|
*/ |
|
54
|
|
|
const PAGE_LAYOUT_2_COLUMNS_RIGHT = '2columns-right'; |
|
55
|
|
|
|
|
56
|
|
|
/** |
|
57
|
|
|
* Key for '3 columns'. |
|
58
|
|
|
* |
|
59
|
|
|
* @var integer |
|
60
|
|
|
*/ |
|
61
|
|
|
const PAGE_LAYOUT_3_COLUMNS = '3columns'; |
|
62
|
|
|
|
|
63
|
|
|
/** |
|
64
|
|
|
* Key for 'Empty'. |
|
65
|
|
|
* |
|
66
|
|
|
* @var integer |
|
67
|
|
|
*/ |
|
68
|
|
|
const PAGE_LAYOUT_EMPTY = 'empty'; |
|
69
|
|
|
|
|
70
|
|
|
/** |
|
71
|
|
|
* This is a utility class, so protect it against direct |
|
72
|
|
|
* instantiation. |
|
73
|
|
|
*/ |
|
74
|
|
|
private function __construct() |
|
75
|
|
|
{ |
|
76
|
|
|
} |
|
77
|
|
|
|
|
78
|
|
|
/** |
|
79
|
|
|
* This is a utility class, so protect it against cloning. |
|
80
|
|
|
* |
|
81
|
|
|
* @return void |
|
82
|
|
|
*/ |
|
83
|
|
|
private function __clone() |
|
84
|
|
|
{ |
|
85
|
|
|
} |
|
86
|
|
|
} |
|
87
|
|
|
|