TYPO3 CMS  TYPO3_6-2
Constraint.php
Go to the documentation of this file.
1 <?php
3 
23 
29  protected $userOrGroup = '0';
30 
36  protected $number = 20;
37 
44 
50  protected $timeFrame = 0;
51 
57  protected $action = 0;
58 
64  protected $groupByPage = FALSE;
65 
71  protected $manualDateStart = NULL;
72 
78  protected $manualDateStop = NULL;
79 
85  protected $startTimestamp = 0;
86 
92  protected $endTimestamp = 0;
93 
99  protected $isInPageContext = FALSE;
100 
106  protected $pageId = 0;
107 
113  protected $depth = 0;
114 
118  public function __construct() {
119 
120  }
121 
128  public function setUserOrGroup($user) {
129  $this->userOrGroup = $user;
130  }
131 
137  public function getUserOrGroup() {
138  return $this->userOrGroup;
139  }
140 
147  public function setNumber($number) {
148  $this->number = (int)$number;
149  }
150 
156  public function getNumber() {
157  return $this->number;
158  }
159 
166  public function setWorkspaceUid($workspace) {
167  $this->workspaceUid = $workspace;
168  }
169 
175  public function getWorkspaceUid() {
176  return $this->workspaceUid;
177  }
178 
185  public function setTimeFrame($timeFrame) {
186  $this->timeFrame = $timeFrame;
187  }
188 
194  public function getTimeFrame() {
195  return (int)$this->timeFrame;
196  }
197 
204  public function setAction($action) {
205  $this->action = $action;
206  }
207 
213  public function getAction() {
214  return (int)$this->action;
215  }
216 
223  public function setGroupByPage($groupByPage) {
224  $this->groupByPage = $groupByPage;
225  }
226 
232  public function getGroupByPage() {
233  return (bool) $this->groupByPage;
234  }
235 
242  public function setManualDateStart(\DateTime $manualDateStart = NULL) {
243  $this->manualDateStart = $manualDateStart;
244  }
245 
251  public function getManualDateStart() {
252  return $this->manualDateStart;
253  }
254 
261  public function setManualDateStop(\DateTime $manualDateStop = NULL) {
262  $this->manualDateStop = $manualDateStop;
263  }
264 
270  public function getManualDateStop() {
271  return $this->manualDateStop;
272  }
273 
280  public function setStartTimestamp($timestamp) {
281  $this->startTimestamp = (int)$timestamp;
282  }
283 
289  public function getStartTimestamp() {
290  return $this->startTimestamp;
291  }
292 
299  public function setEndTimestamp($timestamp) {
300  $this->endTimestamp = (int)$timestamp;
301  }
302 
308  public function getEndTimestamp() {
309  return $this->endTimestamp;
310  }
311 
318  public function setIsInPageContext($pageContext) {
319  $this->isInPageContext = $pageContext;
320  }
321 
327  public function getIsInPageContext() {
328  return (bool) $this->isInPageContext;
329  }
330 
337  public function setPageId($id) {
338  $this->pageId = (int)$id;
339  }
340 
346  public function getPageId() {
347  return $this->pageId;
348  }
349 
356  public function setDepth($depth) {
357  $this->depth = $depth;
358  }
359 
365  public function getDepth() {
366  return (int)$this->depth;
367  }
368 
369 }
setManualDateStop(\DateTime $manualDateStop=NULL)
Definition: Constraint.php:261
setManualDateStart(\DateTime $manualDateStart=NULL)
Definition: Constraint.php:242