1: <?php
2:
3: namespace Charcoal\Ui;
4:
5: /**
6: * Defines a UI Grouping.
7: */
8: interface UiGroupingInterface extends UiItemInterface
9: {
10: /**
11: * Set the identifier of the sidemenu group.
12: *
13: * @param string $ident Sidemenu group identifier.
14: * @return UiGroupingInterface Chainable
15: */
16: public function setIdent($ident);
17:
18: /**
19: * Retrieve the idenfitier of the sidemenu group.
20: *
21: * @return string
22: */
23: public function ident();
24:
25: /**
26: * Set the group's priority or sorting index.
27: *
28: * @param integer $priority An index, for sorting.
29: * @return UiGroupingInterface Chainable
30: */
31: public function setPriority($priority);
32:
33: /**
34: * Retrieve the group's priority or sorting index.
35: *
36: * @return integer
37: */
38: public function priority();
39: }
40: