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\DataDefinition\Definition\View\Panel;
14:
15: /**
16: * Interface SearchElementInformationInterface.
17: *
18: * This interface describes a search panel element information filtering on properties.
19: *
20: * @package DcGeneral\DataDefinition\Definition\View\Panel
21: */
22: interface SearchElementInformationInterface extends ElementInformationInterface
23: {
24: /**
25: * Add a property name to the element.
26: *
27: * @param string $propertyName The property to allow to search on.
28: *
29: * @return SearchElementInformationInterface
30: */
31: public function addProperty($propertyName);
32:
33: /**
34: * Retrieve the list of properties to allow search on.
35: *
36: * @return string[]
37: */
38: public function getPropertyNames();
39: }
40: