ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
class.arLimit.php
Go to the documentation of this file.
1<?php
2require_once(dirname(__FILE__) . '/../Statement/class.arStatement.php');
3
11class arLimit extends arStatement {
12
16 protected $start;
20 protected $end;
21
22
28 public function asSQLStatement(ActiveRecord $ar) {
29 return ' LIMIT ' . $this->getStart() . ', ' . $this->getEnd();
30 }
31
32
36 public function setEnd($end) {
37 $this->end = $end;
38 }
39
40
44 public function getEnd() {
45 return $this->end;
46 }
47
48
52 public function setStart($start) {
53 $this->start = $start;
54 }
55
56
60 public function getStart() {
61 return $this->start;
62 }
63}
64
65?>
Class ActiveRecord.
Class arLimit.
setEnd($end)
setStart($start)
asSQLStatement(ActiveRecord $ar)
Class arStatement.