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 filter panel element.
17: *
18: * @package DcGeneral\Panel
19: */
20: interface FilterElementInterface
21: extends PanelElementInterface
22: {
23: /**
24: * Set the property name to filter on.
25: *
26: * @param string $strProperty The property to filter on.
27: *
28: * @return FilterElementInterface
29: */
30: public function setPropertyName($strProperty);
31:
32: /**
33: * Retrieve the property name to filter on.
34: *
35: * @return string
36: */
37: public function getPropertyName();
38:
39: /**
40: * Set the value to filter for.
41: *
42: * @param mixed $mixValue The value to filter for.
43: *
44: * @return FilterElementInterface
45: */
46: public function setValue($mixValue);
47:
48: /**
49: * Retrieve the value to filter for.
50: *
51: * @return mixed
52: */
53: public function getValue();
54: }
55: