1 | <?php |
||
18 | class BannerDemand extends AbstractEntity |
||
19 | { |
||
20 | |||
21 | /** |
||
22 | * Categories |
||
23 | * |
||
24 | * @var string |
||
25 | */ |
||
26 | protected $categories; |
||
27 | |||
28 | /** |
||
29 | * Startingpoint(s) |
||
30 | * |
||
31 | * @var string |
||
32 | */ |
||
33 | protected $startingPoint; |
||
34 | |||
35 | /** |
||
36 | * Display Mode - default is to display all banners |
||
37 | * |
||
38 | * @var string |
||
39 | */ |
||
40 | protected $displayMode = 'all'; |
||
41 | |||
42 | /** |
||
43 | * The current page uid |
||
44 | * |
||
45 | * @var int |
||
46 | */ |
||
47 | protected $currentPageUid; |
||
48 | |||
49 | /** |
||
50 | * Max results of banners |
||
51 | * |
||
52 | * @var int |
||
53 | */ |
||
54 | protected $maxResults = 0; |
||
55 | |||
56 | /** |
||
57 | * Setter for currentPageUid |
||
58 | * |
||
59 | * @param string $categories The categories |
||
60 | * @return void |
||
61 | 1 | */ |
|
62 | public function setCategories($categories) |
||
66 | |||
67 | /** |
||
68 | * Getter for categories |
||
69 | * |
||
70 | * @return string |
||
71 | 8 | */ |
|
72 | public function getCategories() |
||
76 | |||
77 | /** |
||
78 | * Setter for currentPageUid |
||
79 | * |
||
80 | * @param int $currentPageUid Current Page UID |
||
81 | * @return void |
||
82 | 2 | */ |
|
83 | public function setCurrentPageUid($currentPageUid) |
||
87 | |||
88 | /** |
||
89 | * Getter for currentPageUid |
||
90 | * |
||
91 | * @return int |
||
92 | 8 | */ |
|
93 | public function getCurrentPageUid() |
||
97 | |||
98 | /** |
||
99 | * Setter for startingPoint |
||
100 | * |
||
101 | * @param string $displayMode Displaymode |
||
102 | * @return void |
||
103 | 1 | */ |
|
104 | public function setDisplayMode($displayMode) |
||
108 | |||
109 | /** |
||
110 | * Getter for displayMode |
||
111 | * |
||
112 | * @return string |
||
113 | 8 | */ |
|
114 | public function getDisplayMode() |
||
118 | |||
119 | /** |
||
120 | * Setter for startingPoint |
||
121 | * |
||
122 | * @param string $startingPoint Startingpoint(s) |
||
123 | * @return void |
||
124 | 8 | */ |
|
125 | public function setStartingPoint($startingPoint) |
||
129 | |||
130 | /** |
||
131 | * Getter for startingPoint |
||
132 | * |
||
133 | * @return string |
||
134 | 8 | */ |
|
135 | public function getStartingPoint() |
||
139 | |||
140 | /** |
||
141 | * @return int |
||
142 | */ |
||
143 | public function getMaxResults() |
||
147 | |||
148 | /** |
||
149 | * @param int $maxResults |
||
150 | */ |
||
151 | public function setMaxResults(int $maxResults) |
||
155 | } |
||
156 |