1: <?php
2: /**
3: * PHP version 5
4: * @package generalDriver
5: * @author Christian Schiffler <c.schiffler@cyberspectrum.de>
6: * @author Stefan Heimes <stefan_heimes@hotmail.com>
7: * @author Tristan Lins <tristan.lins@bit3.de>
8: * @copyright The MetaModels team.
9: * @license LGPL.
10: * @filesource
11: */
12:
13: namespace DcGeneral\Panel;
14:
15: /**
16: * This interface describes a panel limit element.
17: *
18: * @package DcGeneral\Panel
19: */
20: interface LimitElementInterface extends PanelElementInterface
21: {
22: /**
23: * Set the offset to use in this element.
24: *
25: * @param int $intOffset The offset.
26: *
27: * @return LimitElementInterface
28: */
29: public function setOffset($intOffset);
30:
31: /**
32: * Get the offset to use in this element.
33: *
34: * @return int
35: */
36: public function getOffset();
37:
38: /**
39: * Set the Amount to use in this element.
40: *
41: * @param int $intAmount The amount.
42: *
43: * @return LimitElementInterface
44: */
45: public function setAmount($intAmount);
46:
47: /**
48: * Get the amount to use in this element.
49: *
50: * @return int
51: */
52: public function getAmount();
53: }
54: