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;
14:
15: use DcGeneral\DataDefinition\Definition\View\ListingConfigInterface;
16: use DcGeneral\DataDefinition\Definition\View\CommandCollectionInterface;
17: use DcGeneral\DataDefinition\Definition\View\PanelLayoutInterface;
18:
19: /**
20: * This interface describes the base information about views.
21: *
22: * @package DcGeneral\DataDefinition\Definition
23: */
24: interface ViewDefinitionInterface extends DefinitionInterface
25: {
26: /**
27: * Retrieve the listing configuration.
28: *
29: * @return ListingConfigInterface
30: */
31: public function getListingConfig();
32:
33: /**
34: * Retrieve the global commands.
35: *
36: * @return CommandCollectionInterface
37: */
38: public function getGlobalCommands();
39:
40: /**
41: * Retrieve the model command colletion.
42: *
43: * @return CommandCollectionInterface
44: */
45: public function getModelCommands();
46:
47: /**
48: * Retrieve the panel layout.
49: *
50: * @return PanelLayoutInterface
51: */
52: public function getPanelLayout();
53: }
54: